Advanced Search Opportunity
setTimeout 45000
setSpeed 3000
open index.php
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
waitForText //html/body/section/nav/div[1]/ul/li[6]/a/span Opportunities
clickAndWait //html/body/section/nav/div[1]/ul/li[6]/a/span
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
waitForText //html/body/section/div[1]/div[2]/div/form/div[5]/a[4] Items I Own
click //html/body/section/div[1]/div[2]/div/form/div[5]/a[1]
waitForElementPresent //html/body/section/div[1]/div[2]/div/form/div[3]/div[4]/a/span[3]
click //html/body/section/div[1]/div[2]/div/form/div[3]/div[4]/a/span[3]
waitForElementPresent //html/body/section/div[1]/div[2]/div/form/div[3]/div[4]/div/div[1]/select
click //html/body/section/div[1]/div[2]/div/form/div[3]/div[5]/a/span[3]
waitForElementPresent //html/body/section/div[1]/div[2]/div/form/div[3]/div[5]/div/div[1]/select
click //html/body/section/div[1]/div[2]/div/form/div[3]/div[6]/a/span[3]
waitForElementPresent //html/body/section/div[1]/div[2]/div/form/div[3]/div[6]/div/div[1]/select
click //html/body/section/div[1]/div[2]/div/form/div[3]/div[11]/div/a/span[3]
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
waitForText //html/body/section/div[1]/div[2]/div/form/div[3]/div[2]/p Please fix the following input errors:
waitForText //html/body/section/div[1]/div[2]/div/form/div[3]/div[2]/ul/li[1] You must select a field for row 1
waitForText //html/body/section/div[1]/div[2]/div/form/div[3]/div[2]/ul/li[2] You must select a field for row 2
waitForText //html/body/section/div[1]/div[2]/div/form/div[3]/div[2]/ul/li[3] You must select a field for row 3
click //html/body/section/div[1]/div[2]/div/form/div[5]/a[3]/span[2]
waitForTextNotPresent Criteria Selected
click //html/body/section/div[1]/div[2]/div/form/div[5]/a[1]
waitForElementPresent //html/body/section/div[1]/div[2]/div/form/div[3]/div[4]/a/span[3]
click //html/body/section/div[1]/div[2]/div/form/div[3]/div[4]/a/span[3]
waitForElementPresent //html/body/section/div[1]/div[2]/div/form/div[3]/div[4]/div/div[1]/select
select //html/body/section/div[1]/div[2]/div/form/div[3]/div[4]/div/div[1]/select Name
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
waitForElementPresent //html/body/section/div[1]/div[2]/div/form/div[3]/div[4]/div/div[2]/input
type //html/body/section/div[1]/div[2]/div/form/div[3]/div[4]/div/div[2]/input Test Opportunity ${randomSuffix}
click //html/body/section/div[1]/div[2]/div/form/div[3]/div[5]/a/span[3]
waitForElementPresent //html/body/section/div[1]/div[2]/div/form/div[3]/div[5]/div/div[1]/select
select //html/body/section/div[1]/div[2]/div/form/div[3]/div[5]/div/div[1]/select Amount
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
waitForElementPresent //html/body/section/div[1]/div[2]/div/form/div[3]/div[5]/div/div[2]/div/div[1]/div/select
waitForElementPresent //html/body/section/div[1]/div[2]/div/form/div[3]/div[5]/div/div[2]/div/div[2]/input
select //html/body/section/div[1]/div[2]/div/form/div[3]/div[5]/div/div[2]/div/div[1]/div/select EUR
type //html/body/section/div[1]/div[2]/div/form/div[3]/div[5]/div/div[2]/div/div[2]/input 500.34
click //html/body/section/div[1]/div[2]/div/form/div[3]/div[6]/a/span[3]
waitForElementPresent //html/body/section/div[1]/div[2]/div/form/div[3]/div[6]/div/div[1]/select
select //html/body/section/div[1]/div[2]/div/form/div[3]/div[6]/div/div[1]/select Account
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
waitForElementPresent //html/body/section/div[1]/div[2]/div/form/div[3]/div[6]/div/div[2]/div/input
sendKeys //html/body/section/div[1]/div[2]/div/form/div[3]/div[6]/div/div[2]/div/input Test Account For Functional
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
waitForText //html/body/section/div[1]/div[2]/div/form/div[3]/div[6]/div/div[2]/ul/li[1]/a Test Account For Functional
click //html/body/section/div[1]/div[2]/div/form/div[3]/div[6]/div/div[2]/ul/li[1]/a
verifyValue //html/body/section/div[1]/div[2]/div/form/div[3]/div[6]/div/div[2]/div/input Test Account For Functional
click //html/body/section/div[1]/div[2]/div/form/div[3]/div[7]/a/span[3]
waitForElementPresent //html/body/section/div[1]/div[2]/div/form/div[3]/div[7]/div/div[1]/select
select //html/body/section/div[1]/div[2]/div/form/div[3]/div[7]/div/div[1]/select Close Date
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
waitForElementPresent //html/body/section/div[1]/div[2]/div/form/div[3]/div[7]/div/div[2]/div[1]/select
select //html/body/section/div[1]/div[2]/div/form/div[3]/div[7]/div/div[2]/div[1]/select Today
click //html/body/section/div[1]/div[2]/div/form/div[3]/div[8]/a/span[3]
waitForElementPresent //html/body/section/div[1]/div[2]/div/form/div[3]/div[8]/div/div[1]/select
select //html/body/section/div[1]/div[2]/div/form/div[3]/div[8]/div/div[1]/select Stage
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
waitForElementPresent //html/body/section/div[1]/div[2]/div/form/div[3]/div[8]/div/div[2]/select
select //html/body/section/div[1]/div[2]/div/form/div[3]/div[8]/div/div[2]/select Negotiating
click //html/body/section/div[1]/div[2]/div/form/div[3]/div[9]/a/span[3]
waitForElementPresent //html/body/section/div[1]/div[2]/div/form/div[3]/div[9]/div/div[1]/select
select //html/body/section/div[1]/div[2]/div/form/div[3]/div[9]/div/div[1]/select Probability
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
waitForElementPresent //html/body/section/div[1]/div[2]/div/form/div[3]/div[9]/div/div[2]/input
type //html/body/section/div[1]/div[2]/div/form/div[3]/div[9]/div/div[2]/input 50
click //html/body/section/div[1]/div[2]/div/form/div[3]/div[10]/a/span[3]
waitForElementPresent //html/body/section/div[1]/div[2]/div/form/div[3]/div[10]/div/div[1]/select
select //html/body/section/div[1]/div[2]/div/form/div[3]/div[10]/div/div[1]/select Source
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
waitForElementPresent //html/body/section/div[1]/div[2]/div/form/div[3]/div[10]/div/div[2]/select
select //html/body/section/div[1]/div[2]/div/form/div[3]/div[10]/div/div[2]/select Tradeshow
click //html/body/section/div[1]/div[2]/div/form/div[3]/div[15]/div/a[1]/span[3]
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
waitForText //html/body/section/div[1]/div[3]/div/div[2]/table/tbody/tr[1]/td[3]/a Test Opportunity ${randomSuffix}
click //html/body/section/div[1]/div[2]/div/form/div[3]/div[11]/a/span[3]
waitForElementPresent //html/body/section/div[1]/div[2]/div/form/div[3]/div[11]/div/div[1]/select
select //html/body/section/div[1]/div[2]/div/form/div[3]/div[11]/div/div[1]/select Account - Name
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
waitForElementPresent //html/body/section/div[1]/div[2]/div/form/div[3]/div[11]/div/div[2]/input[2]
type //html/body/section/div[1]/div[2]/div/form/div[3]/div[11]/div/div[2]/input[2] Account Does Not Exist
click //html/body/section/div[1]/div[2]/div/form/div[3]/div[16]/div/a[1]/span[3]
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
waitForText //html/body/section/div[1]/div[3]/div/div[1]/table/tbody/tr/td/span No results found
click //html/body/section/div[1]/div[2]/div/form/div[3]/div[15]/a
waitForElementPresent //html/body/section/div[1]/div[2]/div/form/div[3]/div[15]/div/input
type //html/body/section/div[1]/div[2]/div/form/div[3]/div[15]/div/input (1 AND 2 AND 3 AND 4 AND 5 AND 6 AND 7) OR 8
click //html/body/section/div[1]/div[2]/div/form/div[3]/div[16]/div/a[1]/span[3]
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
waitForText //html/body/section/div[1]/div[3]/div/div[2]/table/tbody/tr[1]/td[3]/a Test Opportunity ${randomSuffix}
click //html/body/section/div[1]/div[2]/div/form/div[5]/a[3]/span[2]
waitForTextNotPresent Criteria Selected
open index.php/zurmo/demo/loadOpportunitySampler
waitForPageToLoad
open index.php
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
waitForText //html/body/section/nav/div[1]/ul/li[6]/a/span Opportunities
clickAndWait //html/body/section/nav/div[1]/ul/li[6]/a/span
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
waitForText //html/body/section/div[1]/div[2]/div/form/div[5]/a[4] Items I Own
click //html/body/section/div[1]/div[2]/div/form/div[5]/a[4]
waitForElementPresent //html/body/section/div[1]/div[2]/div/form/div[3]/div[4]/div/div[1]/select
assertSelectedLabel //html/body/section/div[1]/div[2]/div/form/div[3]/div[4]/div/div[1]/select Only Items I Own
assertChecked //html/body/section/div[1]/div[2]/div/form/div[3]/div[4]/div/div[2]/label/input
click //html/body/section/div[1]/div[2]/div/form/div[3]/div[9]/div/a[1]/span[3]
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
waitForText //html/body/section/div[1]/div[3]/div/div[2]/table/tbody/tr[1]/td[3]/a Test Opportunity For Functional
click //html/body/section/div[1]/div[2]/div/form/div[5]/a[3]/span[2]
waitForTextNotPresent Criteria Selected
click //html/body/section/div[1]/div[2]/div/form/div[5]/a[1]
waitForElementPresent //html/body/section/div[1]/div[2]/div/form/div[3]/div[4]/a/span[3]
click //html/body/section/div[1]/div[2]/div/form/div[3]/div[4]/a/span[3]
waitForElementPresent //html/body/section/div[1]/div[2]/div/form/div[3]/div[4]/div/div[1]/select
select //html/body/section/div[1]/div[2]/div/form/div[3]/div[4]/div/div[1]/select Account - Name
waitForElementPresent //html/body/section/div[1]/div[2]/div/form/div[3]/div[4]/div/div[2]/input[2]
type //html/body/section/div[1]/div[2]/div/form/div[3]/div[4]/div/div[2]/input[2] Test Account For Functional
click //html/body/section/div[1]/div[2]/div/form/div[3]/div[6]/a
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
waitForElementPresent //html/body/section/div[1]/div[2]/div/form/div[3]/div[7]/input[1]
type //html/body/section/div[1]/div[2]/div/form/div[3]/div[7]/input[1] SearchByAccountName
click //html/body/section/div[1]/div[2]/div/form/div[3]/div[7]/a/span[3]
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
click //html/body/section/div[1]/div[2]/div/form/div[3]/div[9]/div/a[1]/span[3]
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
waitForText //html/body/section/div[1]/div[3]/div/div[2]/table/tbody/tr[1]/td[3]/a Test Opportunity ${randomSuffix}
click //html/body/section/div[1]/div[2]/div/form/div[5]/a[3]/span[2]
waitForTextNotPresent Criteria Selected
click //html/body/section/div[1]/div[2]/div/form/div[5]/a[1]
waitForElementPresent //html/body/section/div[1]/div[2]/div/form/div[3]/div[1]/select
select //html/body/section/div[1]/div[2]/div/form/div[3]/div[1]/select SearchByAccountName
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
waitForText //html/body/section/div[1]/div[3]/div/div[2]/table/tbody/tr[1]/td[3]/a Test Opportunity ${randomSuffix}
click //html/body/section/div[1]/div[2]/div/form/div[5]/a[1]
waitForElementPresent //html/body/section/div[1]/div[2]/div/form/div[3]/div[6]/a
click //html/body/section/div[1]/div[2]/div/form/div[3]/div[6]/a
waitForElementPresent //html/body/section/div[1]/div[2]/div/form/div[3]/div[7]/a[2]
click //html/body/section/div[1]/div[2]/div/form/div[3]/div[7]/a[2]
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
click //html/body/section/div[1]/div[2]/div/form/div[5]/a[3]/span[2]
waitForTextNotPresent Criteria Selected
click //html/body/section/div[1]/div[2]/div/form/div[5]/a[1]
waitForElementNotPresent //html/body/section/div[1]/div[2]/div/form/div[3]/div[1]/select/option[2]
setSpeed 0