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 |
|
clickAndWait |
link=Delete |
|
assertConfirmation |
Are you sure you want to delete this marketing list? |
|
waitForPageToLoad |
|
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
setSpeed |
0 |
|
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 |
|
type |
id=MarketingListsSearchForm_anyMixedAttributes |
Test Marketing List ${randomSuffix} |
keyUp |
id=MarketingListsSearchForm_anyMixedAttributes |
\10 |
waitForNotText |
//div[@id='list-view']/div[2]/table/tbody/tr/td[2] |
Test Marketing List ${randomSuffix} |
verifyTextNotPresent |
Test Marketing List ${randomSuffix} |
|
verifyValue |
MarketingListsSearchForm_anyMixedAttributes |
Test Marketing List ${randomSuffix} |
assertTextNotPresent |
Test Marketing List ${randomSuffix} |
|
click |
id=clear-search-link |
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
waitForTextNotPresent |
Criteria Selected |
|
setSpeed |
3000 |
|
open |
index.php/contacts/default |
|
waitForPageToLoad |
|
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
type |
ContactsSearchForm_anyMixedAttributes |
Test Contact |
keyUp |
ContactsSearchForm_anyMixedAttributes |
\10 |
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
waitForTextPresent |
result(s) |
|
click |
id=list-view-endless-page |
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
waitForTextPresent |
Test Contact 1 |
|
click |
id=list-view-rowSelector_all |
|
clickAndWait |
//li[@id='list-view-deleteMassActionSelected']/a |
|
waitForPageToLoad |
|
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
assertTextPresent |
selected for removal |
|
clickAndWait |
name=delete |
|
waitForPageToLoad |
|
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
waitForTextPresent |
records successfully deleted |
|
clickAndWait |
link=Return to List |
|
waitForPageToLoad |
|
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
verifyTextPresent |
No results found |
|
clickAndWait |
//li[@id='list-view-deleteMassActionAll']/a |
|
assertTextPresent |
selected for removal |
|
clickAndWait |
link=Cancel |
|
waitForPageToLoad |
|
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
assertTextPresent |
Advanced |
|