MixedModelSearch
setTimeout 45000
storeGlobal javascript{Math.floor(Math.random()*11000)} randomSuffix
focus id=globalSearchInput
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
type id=globalSearchInput My Contact ${randomSuffix}
typeKeys id=globalSearchInput \10
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
waitForTextPresent All results
mouseOver //a[@class='ui-corner-all']/span[. = "All results"]
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
clickAndWait //a[@class='ui-corner-all']/span[. = "All results"]
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
waitForTextPresent No results found.
assertTextNotPresent My Contact ${randomSuffix}
click xpath=(//button[@type='button'])[2]
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
click id=ui-multiselect-MixedModelsSearchForm_anyMixedAttributesScope-option-2
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
click xpath=(//button[@type='button'])[2]
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
click css=span.z-label
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
assertTextPresent No results found.
assertNotVisible id=AccountsListView
assertVisible id=ContactsListView
assertNotVisible id=LeadsListView
assertNotVisible id=OpportunitiesListView
clickAndWait //div[@id='MenuView']/ul/li[3]/a/span[2]
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
clickAndWait css=a.icon-create
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
click id=Contact_firstName
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
type id=Contact_firstName My Contact
click id=Contact_lastName
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
type id=Contact_lastName ${randomSuffix}
type id=Contact_primaryEmail_emailAddress new${randomSuffix}@zurmo.org
clickAndWait //div[@class='float-bar']/div/div/a[2]/span[3]
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
focus id=globalSearchInput
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
type id=globalSearchInput My Contact ${randomSuffix}
typeKeys id=globalSearchInput \10
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
waitForTextPresent All results
mouseOver //a[@class='ui-corner-all']/span[. = "All results"]
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
clickAndWait //a[@class='ui-corner-all']/span[. = "All results"]
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
waitForTextPresent My Contact ${randomSuffix}
clickAndWait link=My Contact ${randomSuffix}
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
clickAndWait //div[@id='LeadEditAndDetailsView']/div/div/div/ul/li/ul/li[3]/a/span[2]
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
click css=#account-create-title > a.account-skip-link
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
clickAndWait css=#AccountSkip > span.z-label
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
click //button[@type='button']
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
click id=ui-multiselect-globalSearchScope-option-3
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
focus id=globalSearchInput
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
type id=globalSearchInput My Contact ${randomSuffix}
typeKeys id=globalSearchInput \10
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
waitForTextPresent All results
mouseOver //a[@class='ui-corner-all']/span[. = "All results"]
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
clickAndWait //a[@class='ui-corner-all']/span[. = "All results"]
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
waitForTextPresent No results found.
assertNotVisible id=AccountsListView
assertNotVisible id=ContactsListView
assertVisible id=LeadsListView
assertNotVisible id=OpportunitiesListView
click xpath=(//button[@type='button'])[2]
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
click id=ui-multiselect-MixedModelsSearchForm_anyMixedAttributesScope-option-2
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
click xpath=(//button[@type='button'])[2]
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
click css=span.z-label
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
waitForTextPresent My Contact ${randomSuffix}
click xpath=(//button[@type='button'])[2]
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
click css=label.ui-corner-all.ui-state-hover
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
click id=ui-multiselect-MixedModelsSearchForm_anyMixedAttributesScope-option-0
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
click id=ui-multiselect-MixedModelsSearchForm_anyMixedAttributesScope-option-2
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
click id=ui-multiselect-MixedModelsSearchForm_anyMixedAttributesScope-option-3
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
type id=MixedModelsSearchForm_term new${randomSuffix}
click css=span.z-label
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
waitForTextPresent My Contact ${randomSuffix}
assertTextPresent No results found.
assertNotVisible id=AccountsListView
assertVisible id=ContactsListView
assertVisible id=LeadsListView
assertNotVisible id=OpportunitiesListView