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 |
clickAndWait |
link=Fields |
|
waitForPageToLoad |
|
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
select |
attributeTypeName |
label=Integer |
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
clickAndWait |
attributeTypeNameButton |
|
waitForPageToLoad |
|
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
type |
id=IntegerAttributeForm_attributeName |
att${randomSuffix} |
type |
id=IntegerAttributeForm_attributeLabels_en |
att${randomSuffix} |
type |
id=IntegerAttributeForm_defaultValue |
22 |
type |
id=IntegerAttributeForm_minValue |
0 |
type |
id=IntegerAttributeForm_maxValue |
22 |
click |
id=IntegerAttributeForm_isRequired |
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
click |
id=IntegerAttributeForm_isAudited |
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
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 |
att${randomSuffix} |
|
verifyTextPresent |
Accounts: Standard Fields |
|
select |
attributeTypeName |
label=Decimal |
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
clickAndWait |
attributeTypeNameButton |
|
waitForPageToLoad |
|
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
type |
id=DecimalAttributeForm_attributeName |
sal${randomSuffix} |
type |
id=DecimalAttributeForm_attributeLabels_en |
sal${randomSuffix} |
type |
id=DecimalAttributeForm_defaultValue |
900 |
click |
id=DecimalAttributeForm_isRequired |
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
click |
id=DecimalAttributeForm_isAudited |
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
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 |
sal${randomSuffix} |
|
verifyTextPresent |
Accounts: Standard Fields |
|
select |
attributeTypeName |
label=Calculated Number |
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
clickAndWait |
attributeTypeNameButton |
|
waitForPageToLoad |
|
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
type |
id=CalculatedNumberAttributeForm_attributeName |
cVal${randomSuffix} |
type |
id=CalculatedNumberAttributeForm_attributeLabels_en |
cVal${randomSuffix} |
type |
id=CalculatedNumberAttributeForm_formula |
att${randomSuffix}Cstm * sal${randomSuffix}Cstm |
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 |
cVal${randomSuffix} |
|
verifyTextPresent |
Accounts: Standard Fields |
|
clickAndWait |
id=edit-link-cVal${randomSuffix} |
|
waitForPageToLoad |
|
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
type |
id=CalculatedNumberAttributeForm_formula |
att${randomSuffix}Cstm * sal${randomSuffix}Cstm |
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 |
cVal${randomSuffix} |
|
verifyTextPresent |
Accounts: Standard Fields |
|