| 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[1]/a/span |
|
| waitForPageToLoad |
|
|
| waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
| clickAndWait |
link=Fields |
|
| waitForPageToLoad |
|
|
| waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
| verifyTextPresent |
Accounts: Standard Fields |
|
| verifyTextPresent |
Create Field |
|
| assertTextNotPresent |
rad${randomSuffix} |
|
| select |
attributeTypeName |
label=Radio Pick List |
| waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
| clickAndWait |
attributeTypeNameButton |
|
| waitForPageToLoad |
|
|
| waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
| type |
RadioDropDownAttributeForm_attributeName |
rad${randomSuffix} |
| type |
RadioDropDownAttributeForm_attributeLabels_en |
rad${randomSuffix} |
| type |
customFieldDataData_AddInput |
testr1 |
| click |
customFieldDataData_AddInputButton |
|
| waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
| type |
customFieldDataData_AddInput |
testr2 |
| click |
customFieldDataData_AddInputButton |
|
| waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
| type |
customFieldDataData_AddInput |
testr3 |
| click |
customFieldDataData_AddInputButton |
|
| waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
| select |
RadioDropDownAttributeForm_defaultValueOrder |
label=testr3 |
| waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
| verifyValue |
RadioDropDownAttributeForm_isRequired |
off |
| click |
RadioDropDownAttributeForm_isRequired |
|
| waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
| verifyValue |
RadioDropDownAttributeForm_isRequired |
on |
| verifyValue |
RadioDropDownAttributeForm_isAudited |
off |
| click |
RadioDropDownAttributeForm_isAudited |
|
| waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
| verifyValue |
RadioDropDownAttributeForm_isAudited |
on |
| clickAndWait |
save |
|
| waitForPageToLoad |
|
|
| waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
| waitForTextNotPresent |
//div[@id='DesignerBreadCrumbView']/div/span |
Create Field: |
| waitForText |
//div[@id='StandardAndCustomAttributesListView']/div[2]/div/h1 |
Create Field |
| waitForText |
//div[@id='StandardAndCustomAttributesListView']/div[2]/div[2]/h1 |
Accounts: Custom Fields |
| verifyTextPresent |
rad${randomSuffix} |
|
| verifyTextPresent |
Accounts: Standard Fields |
|
| clickAndWait |
id=edit-link-rad${randomSuffix}Cstm |
|
| waitForPageToLoad |
|
|
| waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
| waitForText |
//div[@id='RadioDropDownAttributeEditView']/div/h1 |
exact:Edit Field: rad${randomSuffix} |
| type |
customFieldDataData_AddInput |
testr4 |
| click |
customFieldDataData_AddInputButton |
|
| waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
| select |
RadioDropDownAttributeForm_defaultValueOrder |
label=testr4 |
| waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
| verifyValue |
RadioDropDownAttributeForm_isRequired |
on |
| click |
RadioDropDownAttributeForm_isRequired |
|
| waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
| verifyValue |
RadioDropDownAttributeForm_isRequired |
off |
| clickAndWait |
save |
|
| waitForPageToLoad |
|
|
| waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
| waitForTextNotPresent |
//div[@id='DesignerBreadCrumbView']/div/span |
Edit Field: |
| waitForText |
//div[@id='StandardAndCustomAttributesListView']/div[2]/div[2]/h1 |
Accounts: Custom Fields |
| verifyTextPresent |
rad${randomSuffix} |
|
| verifyTextPresent |
Accounts: Standard Fields |
|