setTimeout |
45000 |
|
open |
index.php/products/default?clearingSearch=1 |
|
waitForPageToLoad |
|
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
assertTextPresent |
Create |
|
assertTextPresent |
Products |
|
assertTextPresent |
Catalog Items |
|
assertTextPresent |
Categories |
|
assertTextPresent |
Delete |
|
assertTextPresent |
Export |
|
clickAndWait |
//div[@id='SecuredActionBarForProductsSearchAndListView']/div[1]/nav[1]/div[2]/a[1]/span |
|
waitForPageToLoad |
|
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
type |
id=ProductTemplatesSearchForm_anyMixedAttributes |
Test Catalog Item ${randomSuffix} |
keyUp |
id=ProductTemplatesSearchForm_anyMixedAttributes |
\10 |
waitForText |
//div[@id='list-view']/div[2]/table/tbody/tr/td[2] |
Test Catalog Item ${randomSuffix} |
verifyTextPresent |
Test Catalog Item ${randomSuffix} |
|
verifyValue |
ProductTemplatesSearchForm_anyMixedAttributes |
Test Catalog Item ${randomSuffix} |
click |
//div[@id='list-view']/div[2]/table/tbody/tr[1]/td[2]/a |
|
waitForPageToLoad |
|
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
setSpeed |
3000 |
|
waitForTextPresent |
Test Catalog Item ${randomSuffix} |
|
assertText |
link=Edit |
Edit |
clickAndWait |
link=Edit |
|
setSpeed |
0 |
|
type |
id=ProductTemplate_description |
test description edited |
clickAndWait |
save |
|
waitForPageToLoad |
|
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
assertTextPresent |
Test Catalog Item ${randomSuffix} |
|
assertText |
//div[@id='ProductTemplateEditAndDetailsView']/div/div[2]/div/table/tbody/tr[2]/td |
test description edited |