Add Autoresponders To Marketing List
setTimeout 45000
open index.php/marketing/default/dashboardDetails
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
assertTextPresent Create
assertTextPresent Dashboard
assertTextPresent Lists
assertTextPresent Templates
assertTextPresent Campaigns
clickAndWait //div[@id='SecuredActionBarForMarketingSearchAndListView']/div[1]/nav/div[2]/a[1]/span
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
type id=MarketingListsSearchForm_anyMixedAttributes Test Marketing List ${randomSuffix}
keyUp id=MarketingListsSearchForm_anyMixedAttributes \10
waitForText //div[@id='list-view']/div[2]/table/tbody/tr/td[2] Test Marketing List ${randomSuffix}
verifyTextPresent Test Marketing List ${randomSuffix}
verifyValue MarketingListsSearchForm_anyMixedAttributes Test Marketing List ${randomSuffix}
assertTextPresent Test Marketing List ${randomSuffix}
click //div[@id='list-view']/div[2]/table/tbody/tr/td[2]/a
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
setSpeed 3000
click //div[@id='MarketingListDetailsAndRelationsView']/div/div[2]/div/ul/li[2]/div[1]/div/div/div/a/span
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
setSpeed 0
waitForTextPresent Create Autoresponder
type id=Autoresponder_fromOperationDurationInterval 10
type id=Autoresponder_subject test subject
click //form[@id='edit-form']/div[3]/div[2]/div[1]/div[1]/a[1]
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
type id=Autoresponder_htmlContent test
type id=Autoresponder_textContent test content
clickAndWait save
waitForTextPresent test subjectSend 10 Minute(s) after Subscription to list
assertTextPresent test subjectSend 10 Minute(s) after Subscription to list
open index.php/marketingLists/default/list
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
click id=clear-search-link
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
waitForTextNotPresent Criteria Selected