New Test
setSpeed 3000
setTimeout 45000
storeGlobal javascript{Math.floor(Math.random()*11000)} randomSuffix
open index.php/emailMessages/demo/loadUnmatchedSampler
waitForPageToLoad
open index.php/emailMessages/default/matchingList
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
click link=Create Lead
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
waitForTextPresent Office Phone
type //div[@id='list-view']/table/tbody/tr/td/div/div/div/div[4]/div/form/div[2]/table/tbody/tr/td/div/div[3]/input ${randomSuffix}
type //div[@id='ArchivedEmailMatchingListView']/div/table/tbody/tr/td/div/div/div/div[4]//div/form/div[2]/table/tbody/tr[5]/td/div/div/input bob.message.zurmotest.com
click //div[@id='ArchivedEmailMatchingListView']/div/table/tbody/tr/td/div/div/div/div[4]/div/form/div[3]/div/a[2]/span[3]
assertTextPresent Email Address is not a valid email address.
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
type //div[@id='ArchivedEmailMatchingListView']/div/table/tbody/tr/td/div/div/div/div[4]//div/form/div[2]/table/tbody/tr[5]/td/div/div/input bob.message@zurmotest.com
setSpeed 0
click //div[@id='ArchivedEmailMatchingListView']/div/table/tbody/tr/td/div/div/div/div[4]/div/form/div[3]/div/a[2]/span[3]
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']/table/tbody/tr/td[2]/a Bobby ${randomSuffix}
clickAndWait link=Bobby ${randomSuffix}
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
verifyTextPresent Bobby ${randomSuffix}
verifyTextPresent A test unmatched archived