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 |
tag${randomSuffix} |
|
select |
attributeTypeName |
label=Tag Cloud |
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
clickAndWait |
attributeTypeNameButton |
|
waitForPageToLoad |
|
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
type |
TagCloudAttributeForm_attributeName |
tag${randomSuffix} |
type |
TagCloudAttributeForm_attributeLabels_en |
tag${randomSuffix} |
type |
customFieldDataData_AddInput |
test1 |
click |
customFieldDataData_AddInputButton |
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
type |
customFieldDataData_AddInput |
test2 |
click |
customFieldDataData_AddInputButton |
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
type |
customFieldDataData_AddInput |
test3 |
click |
customFieldDataData_AddInputButton |
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
select |
TagCloudAttributeForm_defaultValueOrder |
label=test3 |
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
verifyValue |
TagCloudAttributeForm_isRequired |
off |
click |
TagCloudAttributeForm_isRequired |
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
verifyValue |
TagCloudAttributeForm_isRequired |
on |
verifyValue |
TagCloudAttributeForm_isAudited |
off |
click |
TagCloudAttributeForm_isAudited |
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
verifyValue |
TagCloudAttributeForm_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 |
tag${randomSuffix} |
|
verifyTextPresent |
Accounts: Standard Fields |
|
clickAndWait |
id=edit-link-tag${randomSuffix}Cstm |
|
waitForPageToLoad |
|
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
waitForText |
//div[@id='TagCloudAttributeEditView']/div/h1 |
exact:Edit Field: tag${randomSuffix} |
type |
customFieldDataData_AddInput |
test4 |
click |
customFieldDataData_AddInputButton |
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
select |
TagCloudAttributeForm_defaultValueOrder |
label=test4 |
verifyValue |
TagCloudAttributeForm_isAudited |
on |
click |
TagCloudAttributeForm_isAudited |
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
verifyValue |
TagCloudAttributeForm_isAudited |
off |
verifyValue |
TagCloudAttributeForm_isRequired |
on |
click |
TagCloudAttributeForm_isRequired |
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
verifyValue |
TagCloudAttributeForm_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 |
|
tag${randomSuffix} |
verifyTextPresent |
Accounts: Standard Fields |
|