Search Leads
setTimeout 45000
open index.php/leads/default
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
verifyTextPresent Create
verifyTextPresent Advanced
type LeadsSearchForm_anyMixedAttributes Sally ${randomSuffix}
keyUp LeadsSearchForm_anyMixedAttributes \10
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
waitForText //div[@id='list-view']/div[2]/table/tbody/tr[1]/td[3]/a Silly Sally ${randomSuffix}
verifyTextPresent Silly Sally ${randomSuffix}
verifyValue LeadsSearchForm_anyMixedAttributes Sally ${randomSuffix}
click id=clear-search-link
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
waitForTextNotPresent Criteria Selected
verifyValue LeadsSearchForm_anyMixedAttributes