Create Contact For Email
setTimeout 45000
open index.php/emailMessages/default/matchingList
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
assertText link=Create Contact Create Contact
click link=Create Contact
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
waitForTextPresent Office Phone
type //div[@id='list-view']/div[2]/table/tbody/tr/td/div/div/div/div[3]/div/form/div[1]/div/table/tbody/tr/td/div/div[3]/input ${randomSuffix}
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
type //div[@id='list-view']/div[2]/table/tbody/tr/td/div/div/div/div[3]/div/form/div[1]/div/table/tbody/tr[5]/td/div/div/input bob.message.zurmotest.com
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
click //div[@id='list-view']/div[2]/table/tbody/tr/td/div/div/div/div[3]/div/form/div[2]/div/a[2]/span[3]
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
assertTextPresent Email Address is not a valid email address.
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
type //div[@id='list-view']/div[2]/table/tbody/tr/td/div/div/div/div[3]/div/form/div[1]/div/table/tbody/tr[5]/td/div/div/input bob.message@zurmotest.com
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
click //div[@id='list-view']/div[2]/table/tbody/tr/td/div/div/div/div[3]/div/form/div[2]/div/a[2]
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
waitForTextPresent Created Contact successfully
open index.php/contacts/default
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
waitForElementPresent ContactsSearchForm_anyMixedAttributes
type id=ContactsSearchForm_anyMixedAttributes Bobby ${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 Bobby ${randomSuffix}
assertText link=Bobby ${randomSuffix} Bobby ${randomSuffix}
clickAndWait link=Bobby ${randomSuffix}
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
verifyTextPresent Bobby ${randomSuffix}
verifyTextPresent A test unmatched archived