ConvertCreateAccount | ||
setTimeout | 45000 | |
open | index.php/leads/default?clearingSearch=1 | |
waitForPageToLoad | ||
waitForCondition | selenium.browserbot.getCurrentWindow().jQuery.active == 0 | 30000 |
type | LeadsSearchForm_anyMixedAttributes | Sally ${randomSuffix} |
keyUp | LeadsSearchForm_anyMixedAttributes | \10 |
waitForCondition | selenium.browserbot.getCurrentWindow().jQuery.active == 0 | 30000 |
waitForText | link=Silly Sally ${randomSuffix} | Silly Sally ${randomSuffix} |
clickAndWait | link=Silly Sally ${randomSuffix} | |
waitForPageToLoad | ||
waitForCondition | selenium.browserbot.getCurrentWindow().jQuery.active == 0 | 30000 |
waitForText | //div[@id='LeadEditAndDetailsView']/div/h1 | exact:Silly Sally ${randomSuffix} |
clickAndWait | link=Convert | |
waitForPageToLoad | ||
waitForCondition | selenium.browserbot.getCurrentWindow().jQuery.active == 0 | 30000 |
click | link=Select Account | |
waitForCondition | selenium.browserbot.getCurrentWindow().jQuery.active == 0 | 30000 |
click | link=Skip Account | |
waitForCondition | selenium.browserbot.getCurrentWindow().jQuery.active == 0 | 30000 |
click | //div[@id='account-skip-title']/a[1] | |
waitForCondition | selenium.browserbot.getCurrentWindow().jQuery.active == 0 | 30000 |
type | Account_name | |
clickAndWait | save | |
waitForPageToLoad | ||
waitForCondition | selenium.browserbot.getCurrentWindow().jQuery.active == 0 | 30000 |
waitForTextPresent | Name cannot be blank. | |
click | link=Select Account | |
waitForCondition | selenium.browserbot.getCurrentWindow().jQuery.active == 0 | 30000 |
clickAndWait | //*[@id="AccountSelect"] | |
waitForCondition | selenium.browserbot.getCurrentWindow().jQuery.active == 0 | 30000 |
assertText | //form[@id='select-account-form']/table/tbody/tr/td/div[2] | Account Id cannot be blank. |
click | //a[contains(text(),'Create Account')] | |
waitForPageToLoad | ||
waitForCondition | selenium.browserbot.getCurrentWindow().jQuery.active == 0 | 30000 |
type | Account_name | my created account ${randomSuffix} |
clickAndWait | save | |
waitForPageToLoad | ||
waitForCondition | selenium.browserbot.getCurrentWindow().jQuery.active == 0 | 30000 |
assertText | link=my created account ${randomSuffix} | my created account ${randomSuffix} |
assertText | //div[@id='ContactEditAndDetailsView']/div/div[2]/table/tbody/tr[2]/td[1] | Qualified |
clickAndWait | link=my created account ${randomSuffix} | |
waitForPageToLoad | ||
waitForCondition | selenium.browserbot.getCurrentWindow().jQuery.active == 0 | 30000 |
assertText | //div[@id='AccountEditAndDetailsView']/div/h1 | exact:my created account ${randomSuffix} |
assertText | //div[@id='AccountEditAndDetailsView']/div/div[2]/table/tbody/tr[1]/td[1] | my created account ${randomSuffix} |
assertText | //div[@id='AccountEditAndDetailsView']/div/div[2]/table/tbody/tr[3]/td[1] | Financial Services |
verifyText | //div[@id='AccountEditAndDetailsView']/div/div[2]/table/tbody/tr[9]/th | Billing Address |
verifyText | //div[@id='AccountEditAndDetailsView']/div/div[2]/table/tbody/tr[9]/td | 123 Main Street Suite 500 Chicago IL, 60614 USAmap |
assertText | //div[@id='AccountEditAndDetailsView']/div/div[2]/table/tbody/tr[4]/td[1] | 5679076543 |
assertText | link=exact:http://www.rabbit.com | exact:http://www.rabbit.com |
verifyText | //div[@id='AccountEditAndDetailsView']/div/div[2]/table/tbody/tr[10]/td | 456 Bee Street Suite 400 Gary Indiana, 67898 USAmap |