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[3]/a[1]/span |
|
assertTextNotPresent |
Delete |
|
assertTextNotPresent |
Export |
|
click |
link=Test Category ${randomSuffix} |
|
waitForPageToLoad |
|
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
setSpeed |
3000 |
|
clickAndWait |
link=Edit |
|
click |
id=ProductCategory_productCategory_SelectLink |
|
waitForPageToLoad |
|
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
click |
link=Camera |
|
clickAndWait |
save |
|
waitForPageToLoad |
|
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
assertText |
//div[@id='ProductCategoryDetailsView']/div/div[2]/div/table/tbody/tr[1]/td |
Test Category ${randomSuffix} |
assertText |
//div[@id='ProductCategoryDetailsView']/div/div[2]/div/table/tbody/tr[2]/td |
Camera |
setSpeed |
0 |
|