Create Account
setTimeout 45000
open index.php/products/default
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
type id=ProductsSearchForm_anyMixedAttributes Product ${randomSuffix}
keyUp id=ProductsSearchForm_anyMixedAttributes \10
waitForText //div[@id='list-view']/table/tbody/tr/td[2] Product ${randomSuffix}
verifyTextPresent Product ${randomSuffix}
verifyValue ProductsSearchForm_anyMixedAttributes Product ${randomSuffix}
click //div[@id='list-view']/table/tbody/tr/td[2]/a
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
waitForTextPresent Product ${randomSuffix}
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
setSpeed 3000
clickAndWait link=Delete
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
assertConfirmation Are you sure you want to delete this product?
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
waitForTextPresent No results found.
click id=clear-search-link
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
waitForTextNotPresent Criteria Selected