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 |
url${randomSuffix} |
|
select |
attributeTypeName |
label=URL |
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
clickAndWait |
attributeTypeNameButton |
|
waitForPageToLoad |
|
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
type |
UrlAttributeForm_attributeName |
url${randomSuffix} |
type |
UrlAttributeForm_attributeLabels_en |
url${randomSuffix} |
type |
UrlAttributeForm_defaultValue |
http://functionaltestsrock.com |
type |
UrlAttributeForm_maxLength |
75 |
verifyValue |
UrlAttributeForm_isRequired |
off |
click |
UrlAttributeForm_isRequired |
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
verifyValue |
UrlAttributeForm_isRequired |
on |
verifyValue |
UrlAttributeForm_isAudited |
off |
click |
UrlAttributeForm_isAudited |
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
verifyValue |
UrlAttributeForm_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 |
url${randomSuffix} |
|
verifyTextPresent |
Accounts: Standard Fields |
|
clickAndWait |
id=edit-link-url${randomSuffix}Cstm |
|
waitForPageToLoad |
|
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
waitForText |
//div[@id='UrlAttributeEditView']/div/h1 |
exact:Edit Field: url${randomSuffix} |
type |
UrlAttributeForm_attributeLabels_en |
url_${randomSuffix} |
type |
UrlAttributeForm_defaultValue |
http://functionalnewtestsrock.com |
verifyValue |
UrlAttributeForm_isRequired |
on |
click |
UrlAttributeForm_isRequired |
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
verifyValue |
UrlAttributeForm_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 |
|
url${randomSuffix} |
verifyTextPresent |
Accounts: Standard Fields |
|