Edit Email Template
setTimeout 45000
open index.php/marketing/default/dashboardDetails
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
assertTextPresent Dashboard
assertTextPresent Lists
assertTextPresent Templates
assertTextPresent Campaigns
clickAndWait //div[@id='SecuredActionBarForMarketingSearchAndListView']/div[1]/nav[1]/div[3]/a[1]/span
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
type id=EmailTemplatesSearchForm_anyMixedAttributes Test Email Template Using Plain Text ${randomSuffix}
keyUp id=EmailTemplatesSearchForm_anyMixedAttributes \10
waitForText //div[@id='list-view']/div[2]/table/tbody/tr/td[2] Test Email Template Using Plain Text ${randomSuffix}
verifyTextPresent Test Email Template Using Plain Text ${randomSuffix}
verifyValue EmailTemplatesSearchForm_anyMixedAttributes Test Email Template Using Plain Text ${randomSuffix}
click //div[@id='list-view']/div[2]/table/tbody/tr[1]/td[2]/a
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
clickAndWait link=Edit
type id=ClassicEmailTemplateWizardForm_subject test email subject after editing.
click //div[@id='GeneralDataForEmailTemplateWizardView']/div[2]/div/div/a[2]/span[3]
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
type id=ClassicEmailTemplateWizardForm_textContent html content
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
click //a[@id='contentFinishLink']/span[3]
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
waitForTextPresent test email subject after editing.
assertTextPresent test email subject after editing.