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 |
|
assertText |
link=Create Category |
Create Category |
clickAndWait |
link=Create Category |
|
waitForPageToLoad |
|
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
assertTextPresent |
Create Category |
|
clickAndWait |
save |
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
waitForTextPresent |
Name cannot be blank. |
|
setSpeed |
3000 |
|
type |
id=ProductCategory_name |
Test Category ${randomSuffix} |
click |
id=ProductCategory_productCategory_SelectLink |
|
waitForPageToLoad |
|
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
assertText |
link=Books |
Books |
click |
link=Books |
|
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 |
Books |
setSpeed |
0 |
|