setTimeout |
45000 |
|
open |
index.php/workflows/default |
|
waitForPageToLoad |
|
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
waitForTextPresent |
Message Queue |
|
assertText |
//div[@id='ActionBarSearchAndListView']/div[1]/div/nav/div[2]/ul[1]/li/a |
Create Template |
assertElementPresent |
//div[@id='ActionBarSearchAndListView']/div[1]/div/nav/div[2]/ul[1]/li/a |
|
setSpeed |
3000 |
|
clickAndWait |
//div[@id='ActionBarSearchAndListView']/div[1]/div/nav/div[2]/ul[1]/li/a |
|
waitForPageToLoad |
|
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
waitForTextPresent |
Email Template Wizard |
|
click |
//div[@id='EmailTemplateTypeView']/ul/li[1]/a/span |
|
waitForPageToLoad |
|
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
waitForTextPresent |
Email Template Wizard - Template Builder |
|
waitForElementPresent |
//div[@id='GeneralDataForEmailTemplateWizardView']/div[2]/div/div/a[2]/span[3] |
|
click |
//div[@id='GeneralDataForEmailTemplateWizardView']/div[2]/div/div/a[2]/span[3] |
|
setSpeed |
0 |
|
waitForTextPresent |
Please fix the following input errors: |
|
waitForTextPresent |
Name cannot be blank. |
|
waitForTextPresent |
Subject cannot be blank. |
|
assertElementPresent |
BuilderEmailTemplateWizardForm_modelClassName_value |
|
assertElementPresent |
BuilderEmailTemplateWizardForm_name |
|
assertElementPresent |
BuilderEmailTemplateWizardForm_subject |
|
assertElementPresent |
BuilderEmailTemplateWizardForm_files |
|
assertElementPresent |
componentType |
|
assertElementPresent |
BuilderEmailTemplateWizardForm_type |
|
assertElementPresent |
BuilderEmailTemplateWizardForm_builtType |
|
assertElementPresent |
BuilderEmailTemplateWizardForm_isDraft |
|
assertElementPresent |
BuilderEmailTemplateWizardForm_language |
|
assertElementPresent |
BuilderEmailTemplateWizardForm_hiddenId |
|
assertElementPresent |
modelClassNameForMergeTagsViewId |
|
assertElementPresent |
BuilderEmailTemplateWizardForm_ownerId |
|
assertValue |
BuilderEmailTemplateWizardForm_hiddenId |
0 |
type |
id=BuilderEmailTemplateWizardForm_name |
Test Email Template Using Template Builder ${randomSuffix} |
type |
id=BuilderEmailTemplateWizardForm_subject |
test email subject. |
type |
id=BuilderEmailTemplateWizardForm_files |
C:\selenium\dev8a\zurmo\app\protected\modules\emailTemplates\tests\functional\files\testLogo.png |
click |
//input[@id='BuilderEmailTemplateWizardForm_explicitReadWriteModelPermissions_type_0'] |
|
click |
//div[@id='GeneralDataForEmailTemplateWizardView']/div[2]/div/div/a[2]/span[3] |
|
waitForPageToLoad |
|
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
assertNotValue |
BuilderEmailTemplateWizardForm_hiddenId |
0 |
assertValue |
modelClassNameForMergeTagsViewId |
Account |
assertValue |
BuilderEmailTemplateWizardForm_serializedData_baseTemplateId |
2 |
click |
//a[@id='chooser-overlay']/span |
|
waitForPageToLoad |
|
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
waitForTextPresent |
Blank |
|
waitForTextPresent |
1 Column |
|
waitForTextPresent |
2 Column |
|
waitForTextPresent |
2 Columns with strong right |
|
waitForTextPresent |
3 Columns |
|
waitForTextPresent |
3 Columns with Hero |
|
click |
//div[@id='BuilderEmailTemplateWizardForm_baseTemplateId_list_view']/ul/li[1]/a[2]/span |
|
waitForPageToLoad |
|
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
waitForElementPresent |
//a[@id='preview-iframe-container-close-link']/span |
|
click |
//a[@id='preview-iframe-container-close-link']/span |
|
waitForPageToLoad |
|
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
waitForTextPresent |
Email Template Wizard - Template Builder |
|
click |
//div[@id='BuilderEmailTemplateWizardForm_baseTemplateId_list_view']/ul/li[2]/a[2]/span |
|
waitForPageToLoad |
|
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
waitForElementPresent |
//a[@id='preview-iframe-container-close-link']/span |
|
click |
//a[@id='preview-iframe-container-close-link']/span |
|
waitForPageToLoad |
|
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
waitForTextPresent |
Email Template Wizard - Template Builder |
|
click |
//div[@id='BuilderEmailTemplateWizardForm_baseTemplateId_list_view']/ul/li[3]/a[2]/span |
|
waitForPageToLoad |
|
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
waitForElementPresent |
//a[@id='preview-iframe-container-close-link']/span |
|
click |
//a[@id='preview-iframe-container-close-link']/span |
|
waitForPageToLoad |
|
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
waitForTextPresent |
Email Template Wizard - Template Builder |
|
click |
//div[@id='BuilderEmailTemplateWizardForm_baseTemplateId_list_view']/ul/li[4]/a[2]/span |
|
waitForPageToLoad |
|
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
waitForElementPresent |
//a[@id='preview-iframe-container-close-link']/span |
|
click |
//a[@id='preview-iframe-container-close-link']/span |
|
waitForPageToLoad |
|
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
waitForTextPresent |
Email Template Wizard - Template Builder |
|
click |
//div[@id='BuilderEmailTemplateWizardForm_baseTemplateId_list_view']/ul/li[5]/a[2]/span |
|
waitForPageToLoad |
|
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
waitForElementPresent |
//a[@id='preview-iframe-container-close-link']/span |
|
click |
//a[@id='preview-iframe-container-close-link']/span |
|
waitForPageToLoad |
|
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
waitForTextPresent |
Email Template Wizard - Template Builder |
|
click |
//div[@id='BuilderEmailTemplateWizardForm_baseTemplateId_list_view']/ul/li[6]/a[2]/span |
|
waitForPageToLoad |
|
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
waitForElementPresent |
//a[@id='preview-iframe-container-close-link']/span |
|
click |
//a[@id='preview-iframe-container-close-link']/span |
|
waitForPageToLoad |
|
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
waitForTextPresent |
Email Template Wizard - Template Builder |
|
click |
//div[@id='BuilderEmailTemplateWizardForm_baseTemplateId_list_view']/ul/li[1]/a[1]/span |
|
waitForPageToLoad |
|
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
assertValue |
BuilderEmailTemplateWizardForm_serializedData_baseTemplateId |
1 |
setSpeed |
3000 |
|
click |
//a[@id='chooser-overlay']/span |
|
waitForPageToLoad |
|
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
waitForTextPresent |
Saved Templates |
|
click |
//div[@id='templates']/div[1]/div/a[2] |
|
waitForPageToLoad |
|
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
waitForTextPresent |
Test Email Template Using Template Builder ${randomSuffix} |
|
assertElementPresent |
link=cancel |
|
click |
link=cancel |
|
waitForTextPresent |
Blank |
|
click |
//a[@id='selectBaseTemplateNextLink']/span[3] |
|
waitForPageToLoad |
|
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
waitForText |
//div[@id='BuilderCanvasWizardView']/div[1]/h3 |
Canvas |
setSpeed |
0 |
|
waitForElementPresent |
//div[@id='builder-elements-menu-button']/a |
|
waitForElementPresent |
//div[@id='builder-elements-menu-button']/a |
|
waitForText |
//ul[@id='building-blocks']/li[1]/div/span |
Button |
waitForText |
//ul[@id='building-blocks']/li[2]/div/span |
Divider |
waitForText |
//ul[@id='building-blocks']/li[3]/div/span |
Expander |
waitForText |
//ul[@id='building-blocks']/li[4]/div/span |
Fancy Divider |
waitForText |
//ul[@id='building-blocks']/li[5]/div/span |
Footer |
waitForText |
//ul[@id='building-blocks']/li[6]/div/span |
Header |
waitForText |
//ul[@id='building-blocks']/li[7]/div/span |
Image |
waitForText |
//ul[@id='building-blocks']/li[8]/div/span |
Plain Text |
waitForText |
//ul[@id='building-blocks']/li[9]/div/span |
Social |
waitForText |
//ul[@id='building-blocks']/li[10]/div/span |
Rich Text |
waitForText |
//ul[@id='building-blocks']/li[11]/div/span |
Title |
click |
//div[@id='builder-canvas-configuration-menu-button']/a |
|
waitForPageToLoad |
|
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
waitForText |
//div[@id='element-edit-form-overlay-container']/div/h3 |
Canvas |
waitForText |
//form[@id='canvas1-edit-form']/table/tbody/tr[1]/th/label |
Background Color |
waitForText |
//form[@id='canvas1-edit-form']/table/tbody/tr[2]/th/label |
Text Color |
waitForText |
//form[@id='canvas1-edit-form']/table/tbody/tr[3]/th/label |
Text Size |
waitForText |
//form[@id='canvas1-edit-form']/table/tbody/tr[4]/th/label |
Text Style |
waitForText |
//form[@id='canvas1-edit-form']/table/tbody/tr[5]/th/label |
Text Weight |
waitForText |
//form[@id='canvas1-edit-form']/table/tbody/tr[6]/th/label |
Text Alignment |
waitForText |
//form[@id='canvas1-edit-form']/table/tbody/tr[7]/th/label |
Line Height |
waitForText |
//form[@id='canvas1-edit-form']/table/tbody/tr[8]/th/label |
Border Color |
waitForText |
//form[@id='canvas1-edit-form']/table/tbody/tr[9]/th/label |
Border Width |
waitForText |
//form[@id='canvas1-edit-form']/table/tbody/tr[10]/th/label |
Border Radius |
waitForText |
//form[@id='canvas1-edit-form']/table/tbody/tr[11]/th/label |
Border Style |
waitForText |
//form[@id='canvas1-edit-form']/table/tbody/tr[12]/th/label |
Position |
click |
//a[@id='builderCanvasSaveLink']/span[3] |
|
waitForPageToLoad |
|
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
type |
id=BuilderEmailTemplateWizardForm_textContent |
html content |
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
click |
//a[@id='contentFinishLink']/span[3] |
|
waitForPageToLoad |
|
|
waitForTextPresent |
Test Email Template Using Template Builder ${randomSuffix} |
|
assertText |
//div[@id='EmailTemplateDetailsView']/div/div[2]/div[1]/table/tbody/tr[1]/td |
Accounts |
assertText |
//div[@id='EmailTemplateDetailsView']/div/div[2]/div[1]/table/tbody/tr[2]/td |
Test Email Template Using Template Builder ${randomSuffix} |
assertText |
//div[@id='EmailTemplateDetailsView']/div/div[2]/div[1]/table/tbody/tr[3]/td |
test email subject. |
assertTextPresent |
html content |
|