New Test
setTimeout 45000
storeGlobal javascript{Math.floor(Math.random()*11000)} randomSuffix
open index.php/contacts/default
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
open index.php/contacts/default/create
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
waitForTextPresent Create Contact
type Contact_firstName Test
type Contact_lastName Contact ${randomSuffix}
select Contact_state_id label=Customer
clickAndWait save
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
assertText //div[@id='ContactEditAndDetailsView']/div/div[2]/table/tbody/tr[1]/td[1] Test Contact ${randomSuffix}
open index.php/emailMessages/default/matchingList
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
click link=Select Contact / Lead
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
click //div[@id='list-view']/table/tbody/tr/td/div/div/div/div[2]/div/form/table/tbody/tr/td/div/a/span[2]
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-viewmodal']/table/tbody/tr/td/a Test Contact ${randomSuffix}
click //div[@id='list-viewmodal']/table/tbody/tr/td/a
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
waitForValue //div[@id='list-view']/table/tbody/tr/td/div/div/div/div[2]/div/form/table/tbody/tr/td/div/input Test Contact ${randomSuffix}
click //div[@id='list-view']/table/tbody/tr/td/div/div/div/div[2]/div/form/div/div/a[2]/span[3]
waitForTextPresent Selected successfully
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']/table/tbody/tr/td[2]/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