Contact Portlet Google Map
setTimeout 45000
open index.php/contacts/default
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
assertTextPresent Create
assertTextPresent Update
assertTextPresent Export
assertTextPresent Delete
type id=ContactsSearchForm_anyMixedAttributes Jinny Jane ${randomSuffix}
keyUp id=ContactsSearchForm_anyMixedAttributes \10
waitForText //div[@id='list-view']/div[2]/table/tbody/tr/td[3] Jinny Jane ${randomSuffix}
verifyTextPresent Jinny Jane ${randomSuffix}
verifyValue ContactsSearchForm_anyMixedAttributes Jinny Jane ${randomSuffix}
click //div[@id='list-view']/div[2]/table/tbody/tr[1]/td[3]/a
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
setSpeed 3000
waitForElementPresent //html/body/section/div[1]/div[2]/div[1]/nav/div[3]/a/span
click //html/body/section/div[1]/div[2]/div[1]/nav/div[3]/a/span
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
waitForText //html/body/div[5]/div[2]/div/div/ul/li[2]/h3/a Google Map
clickAndWait //html/body/div[5]/div[2]/div/div/ul/li[2]/div/a/span
waitForText //html/body/section/div[1]/div[2]/div[2]/div/ul[2]/li[1]/div/h3 Google Map
click //html/body/section/div[1]/div[2]/div[2]/div/ul[2]/li[1]/div[1]/div/ul/li/ul/li/a/span
assertConfirmation This portlet will be removed, ok?
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
waitForNotText //html/body/section/div[1]/div[2]/div[2]/div/ul[2]/li[1]/div/h3 Google Map
setSpeed 0
clickAndWait //html/body/section/nav/div[1]/ul/li[5]/a/span
waitForText //html/body/section/div[1]/div[2]/div[1]/form/div[5]/a[4] Items I Own
click //html/body/section/div[1]/div[2]/div[1]/form/div[5]/a[3]/span[2]
waitForTextNotPresent Criteria Selected