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[2]/a
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
waitForTextPresent Create Catalog Item
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
clickAndWait //div[@id='ProductTemplateEditAndDetailsView']/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 ProductTemplate_name CatalogTest ${randomSuffix}
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
clickAndWait //div[@id='ProductTemplateEditAndDetailsView']/div/div/form/div[3]/div/div/a[2]
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
assertTextPresent CatalogTest ${randomSuffix}