Create Account
setTimeout 45000
open index.php/products/default
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
clickAndWait //div[@id='SecuredActionBarForProductsSearchAndListView']/div/div/a[2]
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
waitForTextPresent Create
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
type id=ProductTemplatesSearchForm_anyMixedAttributes CatalogTest ${randomSuffix}
keyUp id=ProductTemplatesSearchForm_anyMixedAttributes \10
waitForText //div[@id='list-view']/table/tbody/tr[1]/td[2] CatalogTest ${randomSuffix}
verifyTextPresent CatalogTest ${randomSuffix}
verifyValue ProductTemplatesSearchForm_anyMixedAttributes CatalogTest ${randomSuffix}
click //div[@id='list-view']/table/tbody/tr[1]/td[2]/a
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
setSpeed 3000
clickAndWait link=Edit
setSpeed 0
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
waitForTextPresent CatalogTest ${randomSuffix}
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
type ProductTemplate_cost_value 400
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 400