Create Lead For Email
setTimeout 45000
open index.php/emailMessages/demo/loadUnmatchedSampler
waitForPageToLoad
open index.php/emailMessages/default/matchingList
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
assertText link=Create Lead Create Lead
click link=Create Lead
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[4]/div/form/div[2]/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[4]/div/form/div[2]/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[4]/div/form/div[3]/div/a[2]
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[4]/div/form/div[2]/div/table/tbody/tr[5]/td/div/div/input bob.message@zurmotest.com
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
setSpeed 0
click //div[@id='list-view']/div[2]/table/tbody/tr/td/div/div/div/div[4]/div/form/div[3]/div/a[2]
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
waitForTextPresent Created Lead successfully
open index.php/leads/default
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
waitForElementPresent LeadsSearchForm_anyMixedAttributes
type id=LeadsSearchForm_anyMixedAttributes Bobby ${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 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