| setTimeout |
45000 |
|
| open |
index.php/marketing/default/dashboardDetails |
|
| waitForPageToLoad |
|
|
| waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
| assertTextPresent |
Dashboard |
|
| assertTextPresent |
Lists |
|
| assertTextPresent |
Templates |
|
| assertTextPresent |
Campaigns |
|
| assertElementPresent |
link=Create Template |
|
| click |
link=Create Template |
|
| waitForPageToLoad |
|
|
| waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
| waitForTextPresent |
Email Template Wizard |
|
| assertTextPresent |
Plain Text |
|
| assertTextPresent |
HTML |
|
| assertTextPresent |
Template Builder |
|
| assertElementPresent |
//div[@id='EmailTemplateTypeView']/ul/li[1]/a/span |
|
| assertElementPresent |
//div[@id='EmailTemplateTypeView']/ul/li[2]/a/span |
|
| assertElementPresent |
//div[@id='EmailTemplateTypeView']/ul/li[2]/a/span |
|
| click |
//div[@id='EmailTemplateTypeView']/ul/li[3]/a/span |
|
| waitForPageToLoad |
|
|
| waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
| waitForTextPresent |
Email Template Wizard - HTML |
|
| type |
ClassicEmailTemplateWizardForm_name |
First HTML Template ${randomSuffix} |
| type |
ClassicEmailTemplateWizardForm_subject |
First HTML template |
| click |
//div[@id='GeneralDataForEmailTemplateWizardView']/div[2]/div/div/a[2]/span[3] |
|
| waitForPageToLoad |
|
|
| waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
| type |
ClassicEmailTemplateWizardForm_htmlContent |
First HTML template content |
| click |
//a[@id='contentFinishLink']/span[3] |
|
| waitForPageToLoad |
|
|
| waitForTextPresent |
First HTML Template ${randomSuffix} |
|
| open |
index.php/marketing/default/dashboardDetails |
|
| waitForPageToLoad |
|
|
| waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
| assertTextPresent |
Dashboard |
|
| assertTextPresent |
Lists |
|
| assertTextPresent |
Templates |
|
| assertTextPresent |
Campaigns |
|
| assertElementPresent |
link=Create Template |
|
| click |
link=Create Template |
|
| waitForPageToLoad |
|
|
| waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
| waitForTextPresent |
Email Template Wizard |
|
| assertTextPresent |
Plain Text |
|
| assertTextPresent |
HTML |
|
| assertTextPresent |
Template Builder |
|
| assertElementPresent |
//div[@id='EmailTemplateTypeView']/ul/li[1]/a/span |
|
| assertElementPresent |
//div[@id='EmailTemplateTypeView']/ul/li[2]/a/span |
|
| assertElementPresent |
//div[@id='EmailTemplateTypeView']/ul/li[2]/a/span |
|
| click |
//div[@id='EmailTemplateTypeView']/ul/li[3]/a/span |
|
| waitForPageToLoad |
|
|
| waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
| waitForTextPresent |
Email Template Wizard - HTML |
|
| type |
ClassicEmailTemplateWizardForm_name |
Second HTML Template ${randomSuffix} |
| type |
ClassicEmailTemplateWizardForm_subject |
Second HTML template |
| click |
//div[@id='GeneralDataForEmailTemplateWizardView']/div[2]/div/div/a[2]/span[3] |
|
| waitForPageToLoad |
|
|
| waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
| type |
ClassicEmailTemplateWizardForm_htmlContent |
Second HTML template content |
| click |
//a[@id='contentFinishLink']/span[3] |
|
| waitForPageToLoad |
|
|
| waitForTextPresent |
Second HTML Template ${randomSuffix} |
|
| open |
index.php/marketing/default/dashboardDetails |
|
| waitForPageToLoad |
|
|
| clickAndWait |
//div[@id='SecuredActionBarForMarketingSearchAndListView']/div[1]/nav[1]/div[4]/ul/li/a |
|
| waitForPageToLoad |
|
|
| waitForTextPresent |
Create Campaign |
|
| type |
Campaign_name |
Campaign ${randomSuffix} |
| click |
id=Campaign_marketingList_SelectLink |
|
| waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
| type |
id=MarketingListsSearchForm_anyMixedAttributes |
Sales |
| keyUp |
id=MarketingListsSearchForm_anyMixedAttributes |
\10 |
| waitForText |
//div[@id='list-viewmodal']/div[2]/table/tbody/tr/td |
Sales |
| verifyTextPresent |
Sales |
|
| verifyValue |
MarketingListsSearchForm_anyMixedAttributes |
Sales |
| click |
//div[@id='list-viewmodal']/div[2]/table/tbody/tr/td/a |
|
| waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
| type |
Campaign_subject |
test |
| click |
id=Campaign_contactEmailTemplateNames_SelectLink |
|
| waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
| type |
id=EmailTemplatesSearchForm_anyMixedAttributes |
First HTML Template ${randomSuffix} |
| keyUp |
id=EmailTemplatesSearchForm_anyMixedAttributes |
\10 |
| waitForText |
//div[@id='list-viewmodal']/div[2]/table/tbody/tr/td |
First HTML Template ${randomSuffix} |
| verifyTextPresent |
First HTML Template ${randomSuffix} |
|
| verifyValue |
EmailTemplatesSearchForm_anyMixedAttributes |
First HTML Template ${randomSuffix} |
| click |
//div[@id='list-viewmodal']/div[2]/table/tbody/tr/td/a |
|
| waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
| setSpeed |
3000 |
|
| verifyValue |
Campaign_htmlContent |
<html><head> </head> <body> First HTML template content </body></html> |
| click |
id=Campaign_contactEmailTemplateNames_SelectLink |
|
| waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
| type |
id=EmailTemplatesSearchForm_anyMixedAttributes |
Second HTML Template ${randomSuffix} |
| keyUp |
id=EmailTemplatesSearchForm_anyMixedAttributes |
\10 |
| waitForText |
//div[@id='list-viewmodal']/div[2]/table/tbody/tr/td |
Second HTML Template ${randomSuffix} |
| verifyTextPresent |
Second HTML Template ${randomSuffix} |
|
| verifyValue |
EmailTemplatesSearchForm_anyMixedAttributes |
Second HTML Template ${randomSuffix} |
| click |
//div[@id='list-viewmodal']/div[2]/table/tbody/tr/td/a |
|
| waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
| verifyValue |
Campaign_htmlContent |
<html><head> </head> <body> Second HTML template content </body></html> |
| clickAndWait |
//div[@id='CampaignEditView']/div/div/form/div[3]/div/div/a[1]/span[3] |
|
| waitForPageToLoad |
|
|
| waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
| assertTextPresent |
Campaign Dashboard |
|
| setSpeed |
0 |
|