Delete Contact WebForm
setTimeout 45000
open index.php/contactWebForms/default
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
assertTextPresent Create
assertTextPresent Contact Web Forms
assertTextPresent Contact Web Form Entries
type id=ContactWebFormsSearchForm_anyMixedAttributes Test Create Contact Web Form ${randomSuffix}
keyUp id=ContactWebFormsSearchForm_anyMixedAttributes \10
waitForText //div[@id='list-view']/div[2]/table/tbody/tr[1]/td[1]/a Test Create Contact Web Form ${randomSuffix}
verifyTextPresent Test Create Contact Web Form ${randomSuffix}
verifyValue ContactWebFormsSearchForm_anyMixedAttributes Test Create Contact Web Form ${randomSuffix}
click //div[@id='list-view']/div[2]/table/tbody/tr[1]/td[1]/a
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
setSpeed 3000
waitForTextPresent Test Create Contact Web Form ${randomSuffix}
assertText link=Delete Delete
clickAndWait link=Delete
assertConfirmation Are you sure you want to delete this contact web form?
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
waitForTextPresent No results found
setSpeed 0
open index.php/contactWebForms/default/index?clearingSearch=1
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000