Edit Contact
setTimeout 45000
open index.php/contacts/default
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
assertTextPresent Create
assertTextPresent Update
assertTextPresent Export
assertTextPresent Delete
type id=ContactsSearchForm_anyMixedAttributes Jinny Jane ${randomSuffix}
keyUp id=ContactsSearchForm_anyMixedAttributes \10
waitForText //div[@id='list-view']/div[2]/table/tbody/tr/td[3] Jinny Jane ${randomSuffix}
verifyTextPresent Jinny Jane ${randomSuffix}
verifyValue ContactsSearchForm_anyMixedAttributes Jinny Jane ${randomSuffix}
click //div[@id='list-view']/div[2]/table/tbody/tr[1]/td[3]/a
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
setSpeed 3000
waitForTextPresent Jinny Jane ${randomSuffix}
assertText link=Edit Edit
clickAndWait link=Edit
setSpeed 0
waitForElementPresent Contact_state_id
select Contact_state_id label=Qualified
clickAndWait save
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
setSpeed 3000
waitForElementPresent //a[@id='sliding-panel-toggle']
click //a[@id='sliding-panel-toggle']
waitForTextPresent Jinny Jane ${randomSuffix}
assertVisible //div[@id='zurmoView']/div/table/tbody/tr[2]/td Qualified
setSpeed 0
open index.php/contacts/default?clearingSearch=1
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000