setTimeout |
45000 |
|
store |
javascript{Math.floor(Math.random()*11000)} |
randomSuffix |
open |
index.php/designer/default |
|
waitForPageToLoad |
|
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
clickAndWait |
//div[@id='TitleBarAndDesignerPageMenuView']/div/ul/li[3]/a/span |
|
waitForPageToLoad |
|
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
assertElementPresent |
link=Fields |
|
clickAndWait |
link=Fields |
|
waitForPageToLoad |
|
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
verifyTextPresent |
Accounts: Standard Fields |
|
verifyTextPresent |
Create Field |
|
assertTextNotPresent |
phn${randomSuffix} |
|
select |
attributeTypeName |
label=Phone |
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
clickAndWait |
attributeTypeNameButton |
|
type |
PhoneAttributeForm_attributeName |
phn${randomSuffix} |
type |
PhoneAttributeForm_attributeLabels_en |
phn${randomSuffix} |
type |
PhoneAttributeForm_defaultValue |
1800TestSelenium |
type |
PhoneAttributeForm_maxLength |
20 |
verifyValue |
PhoneAttributeForm_isRequired |
off |
click |
PhoneAttributeForm_isRequired |
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
verifyValue |
PhoneAttributeForm_isRequired |
on |
verifyValue |
PhoneAttributeForm_isAudited |
off |
click |
PhoneAttributeForm_isAudited |
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
verifyValue |
PhoneAttributeForm_isAudited |
on |
clickAndWait |
save |
|
waitForPageToLoad |
|
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
waitForTextNotPresent |
//div[@id='DesignerBreadCrumbView']/div/span |
Create Field: |
assertText |
//div[@id='StandardAndCustomAttributesListView']/div[2]/div/h1 |
Create Field |
assertText |
//div[@id='StandardAndCustomAttributesListView']/div[2]/div[2]/h1 |
Accounts: Custom Fields |
verifyTextPresent |
phn${randomSuffix} |
|
verifyTextPresent |
Accounts: Standard Fields |
|
clickAndWait |
id=edit-link-phn${randomSuffix}Cstm |
|
waitForPageToLoad |
|
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
waitForText |
//div[@id='PhoneAttributeEditView']/div/h1 |
exact:Edit Field: phn${randomSuffix} |
type |
PhoneAttributeForm_defaultValue |
1900TestSelenium |
verifyValue |
PhoneAttributeForm_isRequired |
on |
click |
PhoneAttributeForm_isRequired |
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
verifyValue |
PhoneAttributeForm_isRequired |
off |
clickAndWait |
save |
|
waitForPageToLoad |
|
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
waitForTextNotPresent |
//div[@id='DesignerBreadCrumbView']/div/span |
Edit Field: |
assertText |
//div[@id='StandardAndCustomAttributesListView']/div[2]/div[2]/h1 |
Accounts: Custom Fields |
verifyTextPresent |
phn${randomSuffix} |
|
verifyTextPresent |
Accounts: Standard Fields |
|