Search Campaign
setTimeout 45000
open index.php/marketingLists/default/create
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
assertTextPresent Create Marketing List
type id=MarketingList_name Test Marketing List ${randomSuffix}
type id=MarketingList_description test description
type id=MarketingList_fromName Development Team
type id=MarketingList_fromAddress development@company.com
click id=MarketingList_owner_SelectLink
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
type id=UsersSearchForm_anyMixedAttributes Jason Blue
keyUp id=UsersSearchForm_anyMixedAttributes \10
waitForText //div[@id='list-viewmodal']/div[2]/table/tbody/tr[1]/td/a Jason Blue
verifyTextPresent Jason Blue
verifyValue UsersSearchForm_anyMixedAttributes Jason Blue
assertTextPresent Jason Blue
click //div[@id='list-viewmodal']/div[2]/table/tbody/tr[1]/td/a
clickAndWait save
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
assertTextPresent Test Marketing List ${randomSuffix}
open index.php/campaigns/default/list
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
click id=more-search-link
click id=addExtraAdvancedSearchRowButton-search-form
waitForTextPresent Modify Structure
waitForElementPresent id=CampaignsSearchForm_dynamicClauses_0_attributeIndexOrDerivedType
select id=CampaignsSearchForm_dynamicClauses_0_attributeIndexOrDerivedType label=Status
waitForElementPresent id=CampaignsSearchForm_dynamicClauses_0_status_value
select id=CampaignsSearchForm_dynamicClauses_0_status_value label=Paused
click id=search-advanced-search
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
waitForText //div[@id='list-view']/div[2]/table/tbody/tr[1]/td[2]/div/span Paused
click //div[@id='list-view']/div[2]/table/tbody/tr[1]/td[3]/a
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
waitForElementNotPresent //div[@id='CampaignDetailsAndRelationsView']/div/div[2]/div/ul/li[2]/div[1]/div/ul/li
waitForElementNotPresent //div[@id='CampaignDetailsAndRelationsView']/div/div[2]/div/ul/li[2]/div[1]/div/ul/li/ul/li/a/span
open index.php/campaigns/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
waitForElementPresent id=more-search-link
click id=more-search-link
click id=addExtraAdvancedSearchRowButton-search-form
waitForTextPresent Modify Structure
waitForElementPresent id=CampaignsSearchForm_dynamicClauses_0_attributeIndexOrDerivedType
select id=CampaignsSearchForm_dynamicClauses_0_attributeIndexOrDerivedType label=Status
waitForElementPresent id=CampaignsSearchForm_dynamicClauses_0_status_value
select id=CampaignsSearchForm_dynamicClauses_0_status_value label=Scheduled
click id=search-advanced-search
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
waitForText //div[@id='list-view']/div[2]/table/tbody/tr[1]/td[2]/div/span Scheduled
click //div[@id='list-view']/div[2]/table/tbody/tr[1]/td[3]/a
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
waitForText //div[@id='CampaignDetailsAndRelationsView']/div/div[2]/div/ul/li[1]/div[1]/h3 Campaign Dashboard
waitForElementNotPresent //div[@id='CampaignDetailsAndRelationsView']/div/div[2]/div/ul/li[2]/div[1]/div/ul/li
waitForElementNotPresent //div[@id='CampaignDetailsAndRelationsView']/div/div[2]/div/ul/li[2]/div[1]/div/ul/li/ul/li/a/span
open index.php/campaigns/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
waitForElementPresent id=more-search-link
click id=more-search-link
click id=addExtraAdvancedSearchRowButton-search-form
waitForTextPresent Modify Structure
waitForElementPresent id=CampaignsSearchForm_dynamicClauses_0_attributeIndexOrDerivedType
select id=CampaignsSearchForm_dynamicClauses_0_attributeIndexOrDerivedType label=Status
waitForElementPresent id=CampaignsSearchForm_dynamicClauses_0_status_value
select id=CampaignsSearchForm_dynamicClauses_0_status_value label=Sending
click id=search-advanced-search
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
waitForText //div[@id='list-view']/div[2]/table/tbody/tr[1]/td[2]/div/span Sending
click //div[@id='list-view']/div[2]/table/tbody/tr[1]/td[3]/a
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
waitForText //div[@id='CampaignDetailsAndRelationsView']/div/div[2]/div/ul/li[1]/div[1]/h3 Campaign Dashboard
waitForElementNotPresent //div[@id='CampaignDetailsAndRelationsView']/div/div[2]/div/ul/li[2]/div[1]/div/ul/li/a/span
waitForElementNotPresent //div[@id='CampaignDetailsAndRelationsView']/div/div[2]/div/ul/li[2]/div[1]/div/ul/li/ul/li/a/span
open index.php/campaigns/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
waitForElementPresent id=more-search-link
click id=more-search-link
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
click id=addExtraAdvancedSearchRowButton-search-form
waitForTextPresent Modify Structure
waitForElementPresent id=CampaignsSearchForm_dynamicClauses_0_attributeIndexOrDerivedType
select id=CampaignsSearchForm_dynamicClauses_0_attributeIndexOrDerivedType label=Status
waitForElementPresent id=CampaignsSearchForm_dynamicClauses_0_status_value
select id=CampaignsSearchForm_dynamicClauses_0_status_value label=Completed
click id=search-advanced-search
waitForText //div[@id='list-view']/div[2]/table/tbody/tr[1]/td[2]/div/span Completed
click //div[@id='list-view']/div[2]/table/tbody/tr[1]/td[3]/a
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
waitForText //div[@id='CampaignDetailsAndRelationsView']/div/div[2]/div/ul/li[1]/div[1]/h3 Campaign Dashboard
waitForElementPresent //div[@id='CampaignDetailsAndRelationsView']/div/div[2]/div/ul/li[2]/div[1]/div/ul/li/a/span
waitForElementPresent //div[@id='CampaignDetailsAndRelationsView']/div/div[2]/div/ul/li[2]/div[1]/div/ul/li/ul/li/a/span
setSpeed 3000
click //div[@id='CampaignDetailsAndRelationsView']/div/div[2]/div/ul/li[2]/div[1]/div/ul/li/ul/li/a/span
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
waitForTextPresent Retarget subscribers from existing campaign("
click save
waitForTextPresent There are some errors.
waitForTextPresent Please select at least one retargeting option.
click id=MarketingListResolveSubscribersFromCampaignForm_marketingList_SelectLink
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-viewmodal']/div[2]/table/tbody/tr[1]/td/a Test Marketing List ${randomSuffix}
verifyTextPresent Test Marketing List ${randomSuffix}
verifyValue MarketingListsSearchForm_anyMixedAttributes Test Marketing List ${randomSuffix}
assertTextPresent Test Marketing List ${randomSuffix}
type id=MarketingListResolveSubscribersFromCampaignForm_newMarketingListName
click //div[@id='list-viewmodal']/div[2]/table/tbody/tr[1]/td/a
click //form[@id='edit-form']/div[1]/div/div/table/tbody/tr[3]/td/label/input
clickAndWait save
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
waitForText //div[@id='MarketingListDetailsView']/h1/span/span Test Marketing List ${randomSuffix} - List
setSpeed 0
open index.php/campaigns/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