setTimeout |
45000 |
|
storeGlobal |
javascript{Math.floor(Math.random()*11000)} |
randomSuffix |
open |
index.php/marketing/default/dashboardDetails |
|
waitForPageToLoad |
|
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
assertTextPresent |
Dashboard |
|
assertTextPresent |
Lists |
|
assertTextPresent |
Templates |
|
assertTextPresent |
Campaigns |
|
assertText |
link=Create Template |
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[2]/a/span |
|
waitForPageToLoad |
|
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
waitForTextPresent |
Email Template Wizard - Plain Text |
|
click |
//div[@id='GeneralDataForEmailTemplateWizardView']/div[2]/div/div/a[2]/span[3] |
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
waitForTextPresent |
Please fix the following input errors: |
|
waitForTextPresent |
Name cannot be blank. |
|
waitForTextPresent |
Subject cannot be blank. |
|
assertElementNotPresent |
ClassicEmailTemplateWizardForm_modelClassName_value |
|
assertElementPresent |
ClassicEmailTemplateWizardForm_name |
|
assertElementPresent |
ClassicEmailTemplateWizardForm_subject |
|
assertElementPresent |
ClassicEmailTemplateWizardForm_files |
|
assertElementPresent |
componentType |
|
assertElementPresent |
ClassicEmailTemplateWizardForm_type |
|
assertElementPresent |
ClassicEmailTemplateWizardForm_builtType |
|
assertElementPresent |
ClassicEmailTemplateWizardForm_isDraft |
|
assertElementPresent |
ClassicEmailTemplateWizardForm_language |
|
assertElementPresent |
ClassicEmailTemplateWizardForm_hiddenId |
|
assertElementPresent |
modelClassNameForMergeTagsViewId |
|
assertElementPresent |
ClassicEmailTemplateWizardForm_modelClassName |
|
assertElementPresent |
ClassicEmailTemplateWizardForm_ownerId |
|
type |
id=ClassicEmailTemplateWizardForm_name |
Test Email Template Using Plain Text ${randomSuffix} |
type |
id=ClassicEmailTemplateWizardForm_subject |
test email subject. |
type |
id=ClassicEmailTemplateWizardForm_files |
C:\selenium\zurmo\app\protected\modules\emailTemplates\tests\functional\files\testLogo.png |
click |
//div[@id='GeneralDataForEmailTemplateWizardView']/div[2]/div/div/a[2]/span[3] |
|
waitForPageToLoad |
|
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
type |
id=ClassicEmailTemplateWizardForm_textContent |
html content |
clickAndWait |
//a[@id='contentFinishLink']/span[3] |
|
waitForTextPresent |
Test Email Template Using Plain Text ${randomSuffix} |
|
assertText |
//div[@id='EmailTemplateDetailsView']/div/div[2]/div[1]/table/tbody/tr[1]/td |
Test Email Template Using Plain Text ${randomSuffix} |
assertText |
//div[@id='EmailTemplateDetailsView']/div/div[2]/div[1]/table/tbody/tr[2]/td |
test email subject. |
assertTextPresent |
html content |
|