Create Account
setTimeout 45000
open index.php/products/default
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
clickAndWait //ul[@id='MashableInboxCreateDropdown']/li/ul/li[3]/a
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
waitForTextPresent Create Category
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
clickAndWait //div[@id='ProductCategoryEditAndDetailsView']/div/div/form/div[3]/div/div/a[2]
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
waitForTextPresent Name cannot be blank.
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
type ProductCategory_name CategoryTest ${randomSuffix}
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
clickAndWait //div[@id='ProductCategoryEditAndDetailsView']/div/div/form/div[3]/div/div/a[2]
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
assertTextPresent CategoryTest ${randomSuffix}