New Test
setTimeout 45000
open index.php/contacts/default
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
waitForElementPresent ContactsSearchForm_anyMixedAttributes
type id=ContactsSearchForm_anyMixedAttributes Test Contact ${randomSuffix}
keyUp ContactsSearchForm_anyMixedAttributes \10
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
waitForText //div[@id='list-view']/div[2]/table/tbody/tr[1]/td[3]/a Test Contact ${randomSuffix}
clickAndWait link=Test Contact ${randomSuffix}
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
verifyTextPresent Test Contact ${randomSuffix}
verifyTextPresent A test unmatched archived
clickAndWait //div[@id='list-viewContactLatestActivitiesForPortletView']/table/tbody/tr/td/div/span[2]/a
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
clickAndWait link=Edit
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
type id=EmailMessage_subject A test unmatched archived received email after edit
clickAndWait save
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
verifyTextPresent A test unmatched archived received email after edit
assertTextPresent A test unmatched archived received email after edit