Create Account
setTimeout 45000
open index.php/products/default
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]/div[1]/a[3]
assertTextNotPresent Delete
assertTextNotPresent Export
click link=Test Category ${randomSuffix}
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
setSpeed 3000
clickAndWait link=Delete
assertConfirmation Are you sure you want to delete this Product Category?
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
setSpeed 0