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 |
int${randomSuffix} |
|
select |
attributeTypeName |
label=Integer |
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
clickAndWait |
attributeTypeNameButton |
|
waitForPageToLoad |
|
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
type |
IntegerAttributeForm_attributeName |
int${randomSuffix} |
type |
IntegerAttributeForm_attributeLabels_en |
int${randomSuffix} |
type |
IntegerAttributeForm_defaultValue |
1500 |
type |
IntegerAttributeForm_minValue |
500 |
type |
IntegerAttributeForm_maxValue |
5000 |
verifyValue |
IntegerAttributeForm_isRequired |
off |
click |
IntegerAttributeForm_isRequired |
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
verifyValue |
IntegerAttributeForm_isRequired |
on |
verifyValue |
IntegerAttributeForm_isAudited |
off |
click |
IntegerAttributeForm_isAudited |
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
verifyValue |
IntegerAttributeForm_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 |
int${randomSuffix} |
|
verifyTextPresent |
Accounts: Standard Fields |
|
clickAndWait |
id=edit-link-int${randomSuffix}Cstm |
|
waitForPageToLoad |
|
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
waitForText |
//div[@id='IntegerAttributeEditView']/div/h1 |
exact:Edit Field: int${randomSuffix} |
type |
IntegerAttributeForm_defaultValue |
1600 |
verifyValue |
IntegerAttributeForm_isRequired |
on |
click |
IntegerAttributeForm_isRequired |
|
verifyValue |
IntegerAttributeForm_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 |
int${randomSuffix} |
|
verifyTextPresent |
Accounts: Standard Fields |
|