Mass Delete Product
setTimeout 45000
open index.php/products/default
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
assertTextPresent Create
assertTextPresent Products
assertTextPresent Catalog Items
assertTextPresent Categories
assertTextPresent Delete
assertTextPresent Export
type id=ProductsSearchForm_anyMixedAttributes Product
keyUp id=ProductsSearchForm_anyMixedAttributes \10
waitForText //div[@id='list-view']/div[2]/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 //li[@id='list-view-deleteMassActionSelected']/a
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
assertText link=Return to List Return to List
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