Create Account
setTimeout 45000
setSpeed 3000
open index.php/products/default?clearingSearch=1
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
waitForTextPresent Create
type id=ProductsSearchForm_anyMixedAttributes Product
keyUp id=ProductsSearchForm_anyMixedAttributes \10
waitForText //div[@id='list-view']/table/tbody/tr[1]/td[2]/a Product with lost stage 6
verifyTextPresent Product with lost stage 6
verifyValue ProductsSearchForm_anyMixedAttributes Product
click id=list-view-rowSelector_all
clickAndWait //ul[@id='MassDeleteLinkActionElement']/li/ul/li/a/span
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
assertTextPresent selected for removal
clickAndWait name=delete
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
waitForTextPresent records successfully deleted
clickAndWait link=Return to List
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
verifyTextPresent No results found.
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
click id=clear-search-link
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
waitForTextNotPresent Criteria Selected