Edit Campaign
setTimeout 45000
open index.php/marketing/default/dashboardDetails
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
clickAndWait //div[@id='SecuredActionBarForMarketingSearchAndListView']/div[1]/nav[1]/div[4]/a[1]/span
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
type id=CampaignsSearchForm_anyMixedAttributes Campaign ${randomSuffix}
keyUp id=CampaignsSearchForm_anyMixedAttributes \10
waitForText //div[@id='list-view']/div[2]/table/tbody/tr/td[2] Campaign ${randomSuffix}
verifyTextPresent Campaign ${randomSuffix}
verifyValue CampaignsSearchForm_anyMixedAttributes Campaign ${randomSuffix}
click //div[@id='list-view']/div[2]/table/tbody/tr/td[2]/a
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
waitForElementPresent link=Edit
clickAndWait link=Edit
waitForElementPresent Campaign_subject
type Campaign_subject test 123
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
clickAndWait //div[@id='CampaignEditView']/div/div/form/div[4]/div/div/a[1]/span[3]
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000