ConvertCreateAccount | ||
setTimeout | 45000 | |
open | index.php/leads/default | |
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 |
click | //div[@id='LeadDetailsPortletView']/a | |
waitForCondition | selenium.browserbot.getCurrentWindow().jQuery.active == 0 | 30000 |
waitForText | //div[@id='zurmoView']/div/table/tbody/tr[1]/td | Mrs. 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 |
click | //div[@id='ContactDetailsPortletView']/a | |
waitForCondition | selenium.browserbot.getCurrentWindow().jQuery.active == 0 | 30000 |
assertText | link=my created account ${randomSuffix} | my created account ${randomSuffix} |
assertText | //div[@id='zurmoView']/div/table/tbody/tr[2]/td | Qualified |
clickAndWait | link=my created account ${randomSuffix} | |
waitForPageToLoad | ||
waitForCondition | selenium.browserbot.getCurrentWindow().jQuery.active == 0 | 30000 |
assertText | //div[@id='AccountDetailsPortletView']/div/div/div/table/tbody/tr[1]/td | my created account ${randomSuffix} |
assertText | //div[@id='AccountDetailsPortletView']/div/div/div/table/tbody/tr[3]/td | Financial Services |
verifyText | //div[@id='AccountDetailsPortletView']/div/div/div/table/tbody/tr[9]/th | Billing Address |
verifyText | //div[@id='AccountDetailsPortletView']/div/div/div/table/tbody/tr[9]/td | 123 Main Street Suite 500 Chicago IL, 60614 USA |
assertText | //div[@id='AccountDetailsPortletView']/div/div/div/table/tbody/tr[4]/td | 5679076543 |
assertText | link=exact:http://www.rabbit.com | exact:http://www.rabbit.com |
verifyText | //div[@id='AccountDetailsPortletView']/div/div/div/table/tbody/tr[10]/td | 456 Bee Street Suite 400 Gary Indiana, 67898 USA |