| 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 |
|
| waitForTextPresent |
Test Category ${randomSuffix} |
|
| assertText |
link=Edit |
Edit |
| clickAndWait |
link=Edit |
|
| click |
id=ProductCategory_productCategory_SelectLink |
|
| waitForPageToLoad |
|
|
| waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
| assertText |
link=Camera |
Camera |
| 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 |
|