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 |
assertText |
link=Fields |
Fields |
clickAndWait |
link=Fields |
|
waitForPageToLoad |
|
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
verifyTextPresent |
Accounts: Standard Fields |
|
verifyTextPresent |
Create Field |
|
assertTextNotPresent |
txt${randomSuffix} |
|
select |
attributeTypeName |
label=Text |
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
clickAndWait |
attributeTypeNameButton |
|
waitForPageToLoad |
|
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
type |
TextAttributeForm_attributeName |
txt${randomSuffix} |
type |
TextAttributeForm_attributeLabels_en |
txt${randomSuffix} |
type |
TextAttributeForm_defaultValue |
AText |
type |
TextAttributeForm_maxLength |
88 |
verifyValue |
TextAttributeForm_isRequired |
off |
click |
TextAttributeForm_isRequired |
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
verifyValue |
TextAttributeForm_isRequired |
on |
verifyValue |
TextAttributeForm_isAudited |
off |
click |
TextAttributeForm_isAudited |
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
verifyValue |
TextAttributeForm_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 |
txt${randomSuffix} |
|
verifyTextPresent |
Accounts: Standard Fields |
|
clickAndWait |
id=edit-link-txt${randomSuffix}Cstm |
|
waitForPageToLoad |
|
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
waitForText |
//div[@id='TextAttributeEditView']/div/h1 |
exact:Edit Field: txt${randomSuffix} |
type |
TextAttributeForm_defaultValue |
AText_New |
verifyValue |
TextAttributeForm_isRequired |
on |
click |
TextAttributeForm_isRequired |
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
verifyValue |
TextAttributeForm_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 |
|
txt${randomSuffix} |
verifyTextPresent |
Accounts: Standard Fields |
|