Create Account
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]/div[1]/a[2]
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']/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']/table/tbody/tr/td[2]/a
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
setSpeed 3000
click //ul[@id='yw1']/li[4]/a
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
assertText //div[@id='list-viewMarketingListMembersPortletView']/table/tbody/tr[1]/td[2]/a Test Contact 7
click //div[@id='list-viewMarketingListMembersPortletView']/table/tbody/tr[1]/td[1]/label/input
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
click //div[@id='list-viewMarketingListMembersPortletView']/table/tbody/tr[3]/td[1]/label/input
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
click //div[@id='list-viewMarketingListMembersPortletView']/table/tbody/tr[5]/td[1]/label/input
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
click //li[@id='list-viewMarketingListMembersPortletView-deleteMassActionSelected']/a
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
waitForTextPresent Mass Delete is not reversable
waitForTextPresent 3 Marketing List Members selected for removal.
clickAndWait delete
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
click //ul[@id='ListViewDetailsActionMenu']/li/a
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
waitForTextPresent 7 Subscribed
assertTextPresent 7 Subscribed
waitForTextPresent 2 Unsubscribed
assertTextPresent 2 Unsubscribed
setSpeed 0
open index.php/marketingLists/default/list?clearingSearch=1
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000