setTimeout |
45000 |
|
open |
index.php/accounts/default/create |
|
waitForPageToLoad |
|
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
waitForTextPresent |
Create Account |
|
type |
Account_name |
My Account ${randomSuffix} |
clickAndWait |
save |
|
waitForPageToLoad |
|
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
waitForText |
//div[@id='AccountDetailsPortletView']/div/div/div/table/tbody/tr[1]/td |
My Account ${randomSuffix} |
open |
index.php/accounts/default |
|
waitForPageToLoad |
|
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
assertTextPresent |
Create |
|
assertTextPresent |
Update |
|
assertTextPresent |
Export |
|
assertTextPresent |
Delete |
|
waitForElementPresent |
id=more-search-link |
|
click |
id=more-search-link |
|
click |
id=addExtraAdvancedSearchRowButton-search-form |
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
waitForElementPresent |
id=AccountsSearchForm_dynamicClauses_0_attributeIndexOrDerivedType |
|
select |
id=AccountsSearchForm_dynamicClauses_0_attributeIndexOrDerivedType |
label=Website |
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
waitForElementPresent |
id=AccountsSearchForm_dynamicClauses_0_website |
|
type |
id=AccountsSearchForm_dynamicClauses_0_website |
NotExistingWebSiteInTheDataBase |
click |
css=#search-advanced-search > span.z-label |
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
assertTextPresent |
1 Criteria Selected |
|
waitForTextPresent |
No results found |
|
click |
id=clear-search-link |
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
waitForTextPresent |
result(s) |
|
waitForTextPresent |
Test Account ${randomSuffix} |
|
waitForElementPresent |
id=more-search-link |
|
click |
id=more-search-link |
|
click |
id=addExtraAdvancedSearchRowButton-search-form |
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
waitForElementPresent |
id=AccountsSearchForm_dynamicClauses_0_attributeIndexOrDerivedType |
|
select |
id=AccountsSearchForm_dynamicClauses_0_attributeIndexOrDerivedType |
label=Name |
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
waitForElementPresent |
id=AccountsSearchForm_dynamicClauses_0_name |
|
type |
id=AccountsSearchForm_dynamicClauses_0_name |
Test Account ${randomSuffix} |
click |
id=addExtraAdvancedSearchRowButton-search-form |
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
select |
id=AccountsSearchForm_dynamicClauses_1_attributeIndexOrDerivedType |
label=Office Phone |
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
waitForElementPresent |
id=AccountsSearchForm_dynamicClauses_1_officePhone |
|
type |
id=AccountsSearchForm_dynamicClauses_1_officePhone |
456777 |
click |
id=addExtraAdvancedSearchRowButton-search-form |
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
select |
id=AccountsSearchForm_dynamicClauses_2_attributeIndexOrDerivedType |
label=Website |
waitForElementPresent |
id=AccountsSearchForm_dynamicClauses_2_website |
|
type |
id=AccountsSearchForm_dynamicClauses_2_website |
http://www.testingcompany.com |
click |
id=addExtraAdvancedSearchRowButton-search-form |
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
waitForElementPresent |
id=AccountsSearchForm_dynamicClauses_3_attributeIndexOrDerivedType |
|
select |
id=AccountsSearchForm_dynamicClauses_3_attributeIndexOrDerivedType |
label=Any Street |
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
waitForElementPresent |
id=AccountsSearchForm_dynamicClauses_3_anyStreet |
|
type |
id=AccountsSearchForm_dynamicClauses_3_anyStreet |
456 Main Street |
click |
link=Items I Own |
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
waitForElementPresent |
//div[@id='AccountsSearchView']/div/form/div[4]/div[8]/div/div[1]/select |
|
waitForTextPresent |
Only Items I Own |
|
click |
id=show-dynamic-search-structure-div-link-search-form |
|
type |
id=AccountsSearchForm_dynamicStructure |
1 AND 2 AND 3 AND 4 OR 5 |
setSpeed |
3000 |
|
click |
css=#search-advanced-search > span.z-label |
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
setSpeed |
0 |
|
waitForText |
//div[@id='list-view']/div[2]/table/tbody/tr[1]/td[3]/a |
My Account ${randomSuffix} |
waitForText |
//div[@id='list-view']/div[2]/table/tbody/tr[2]/td[3]/a |
Test Account ${randomSuffix} |
assertTextPresent |
5 Criteria Selected |
|
waitForElementNotPresent |
//div[@id='list-view']/div[2]/table/tbody/tr[3]/td[3] |
|
click |
id=save-as-advanced-search |
|
click |
id=save-advanced-search |
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
assertTextPresent |
Name cannot be blank. |
|
type |
id=AccountsSearchForm_dynamicStructure |
1 or or 2 AND 3 AND 4 |
click |
id=search-advanced-search |
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
waitForTextPresent |
The structure is invalid. Please fix conditions. |
|
click |
id=clear-search-link |
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
waitForTextPresent |
result(s) |
|
click |
link=Items I Own |
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
waitForText |
//div[@id='AccountsSearchView']/div/form/div[4]/div[1]/select/option |
Load a saved search |
waitForElementPresent |
//div[@id='AccountsSearchView']/div/form/div[4]/div[1]/select/option |
|
waitForTextPresent |
Only Items I Own |
|
waitForElementPresent |
//div[@id='AccountsSearchView']/div/form/div[4]/div[4]/div/div[1]/select |
|
waitForElementPresent |
//div[@id='AccountsSearchView']/div/form/div[4]/div[4]/div/div[2]/label/input |
|
waitForText |
//a[@id='addExtraAdvancedSearchRowButton-search-form']/span[3] |
Add criteria |
waitForText |
//a[@id='save-as-advanced-search'] |
Save search |
waitForText |
//div[@id='show-dynamic-search-structure-div-search-form']/span |
Search Operator |
click |
css=#search-advanced-search > span.z-label |
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
assertTextPresent |
1 Criteria Selected |
|
waitForTextPresent |
My Account ${randomSuffix} |
|
click |
id=clear-search-link |
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
waitForTextPresent |
result(s) |
|
waitForElementPresent |
id=more-search-link |
|
click |
id=more-search-link |
|
click |
id=addExtraAdvancedSearchRowButton-search-form |
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
waitForElementPresent |
id=AccountsSearchForm_dynamicClauses_0_attributeIndexOrDerivedType |
|
select |
id=AccountsSearchForm_dynamicClauses_0_attributeIndexOrDerivedType |
label=Name |
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
waitForElementPresent |
id=AccountsSearchForm_dynamicClauses_0_name |
|
type |
id=AccountsSearchForm_dynamicClauses_0_name |
Test Account ${randomSuffix} |
click |
id=addExtraAdvancedSearchRowButton-search-form |
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
select |
id=AccountsSearchForm_dynamicClauses_1_attributeIndexOrDerivedType |
label=Office Phone |
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
waitForElementPresent |
id=AccountsSearchForm_dynamicClauses_1_officePhone |
|
type |
id=AccountsSearchForm_dynamicClauses_1_officePhone |
456777 |
click |
id=addExtraAdvancedSearchRowButton-search-form |
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
select |
id=AccountsSearchForm_dynamicClauses_2_attributeIndexOrDerivedType |
label=Website |
waitForElementPresent |
id=AccountsSearchForm_dynamicClauses_2_website |
|
type |
id=AccountsSearchForm_dynamicClauses_2_website |
http://www.testingcompany.com |
click |
id=addExtraAdvancedSearchRowButton-search-form |
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
waitForElementPresent |
id=AccountsSearchForm_dynamicClauses_3_attributeIndexOrDerivedType |
|
select |
id=AccountsSearchForm_dynamicClauses_3_attributeIndexOrDerivedType |
label=Any Street |
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
waitForElementPresent |
id=AccountsSearchForm_dynamicClauses_3_anyStreet |
|
type |
id=AccountsSearchForm_dynamicClauses_3_anyStreet |
456 Main Street |
click |
id=addExtraAdvancedSearchRowButton-search-form |
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
waitForElementPresent |
id=AccountsSearchForm_dynamicClauses_4_attributeIndexOrDerivedType |
|
select |
id=AccountsSearchForm_dynamicClauses_4_attributeIndexOrDerivedType |
label=Only Items I Own |
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
waitForElementPresent |
//div[@id='AccountsSearchView']/div/form/div[4]/div[8]/div/div[2]/label/input |
|
click |
//div[@id='AccountsSearchView']/div/form/div[4]/div[8]/div/div[2]/label/input |
|
click |
id=show-dynamic-search-structure-div-link-search-form |
|
type |
id=AccountsSearchForm_dynamicStructure |
1 AND 2 AND 3 AND 4 OR 5 |
click |
css=#search-advanced-search > span.z-label |
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
waitForText |
//div[@id='list-view']/div[2]/table/tbody/tr[1]/td[3]/a |
My Account ${randomSuffix} |
waitForText |
//div[@id='list-view']/div[2]/table/tbody/tr[2]/td[3]/a |
Test Account ${randomSuffix} |
assertTextPresent |
5 Criteria Selected |
|
waitForElementNotPresent |
//div[@id='list-view']/div[2]/table/tbody/tr[3]/td[3] |
|