Convert Select Account | ||
setTimeout | 45000 | |
open | index.php/leads/default/create | |
waitForPageToLoad | ||
waitForCondition | selenium.browserbot.getCurrentWindow().jQuery.active == 0 | 30000 |
waitForTextPresent | Create Lead | |
type | Contact_firstName | Sizzy |
type | Contact_lastName | Sanny ${randomSuffix} |
select | Contact_state_id | label=In Progress |
type | Contact_jobTitle | President |
select | Contact_source_value | label=Inbound Call |
type | Contact_companyName | Frog Technology |
type | Contact_officePhone | 456-777-6654 |
type | Contact_mobilePhone | 888999887 |
click | Contact_owner_SelectLink | |
waitForPageToLoad | ||
waitForCondition | selenium.browserbot.getCurrentWindow().jQuery.active == 0 | 30000 |
waitForElementPresent | UsersSearchForm_anyMixedAttributes | |
type | UsersSearchForm_anyMixedAttributes | Sam Smith |
keyUp | UsersSearchForm_anyMixedAttributes | \10 |
waitForCondition | selenium.browserbot.getCurrentWindow().jQuery.active == 0 | 30000 |
waitForText | //div[@id='list-viewmodal']/div[2]/table/tbody/tr[1]/td/a | Sam Smith |
assertText | link=Sam Smith | Sam Smith |
click | link=Sam Smith | |
waitForValue | Contact_owner_name | Sam Smith |
assertNotValue | Contact_owner_id | |
type | Contact_primaryAddress_street1 | 124 Main Street |
type | Contact_primaryAddress_street2 | Suite 500 |
type | Contact_primaryAddress_city | Chicago |
type | Contact_primaryAddress_state | IL |
type | Contact_primaryAddress_postalCode | 60614 |
type | Contact_primaryAddress_country | USA |
type | Contact_secondaryAddress_street1 | 457 Bee Street |
type | Contact_secondaryAddress_street2 | Suite 400 |
type | Contact_secondaryAddress_city | Gary |
type | Contact_secondaryAddress_state | Indiana |
type | Contact_secondaryAddress_postalCode | 67898 |
type | Contact_secondaryAddress_country | USA |
select | Contact_industry_value | label=Financial Services |
type | Contact_website | http://www.rabbit.com |
type | Contact_description | test |
select | Contact_title_value | label=Mrs. |
type | Contact_officeFax | 5679076543 |
type | Contact_primaryEmail_emailAddress | sizzy@rabbit.com |
clickAndWait | save | |
waitForPageToLoad | ||
waitForCondition | selenium.browserbot.getCurrentWindow().jQuery.active == 0 | 30000 |
assertText | //div[@id='zurmoView']/div/table/tbody/tr[1]/td | Mrs. Sizzy Sanny ${randomSuffix} |
assertText | //div[@id='zurmoView']/div/table/tbody/tr[2]/td | In Progress |
assertText | //div[@id='zurmoView']/div/table/tbody/tr[4]/td | Frog Technology |
assertText | //div[@id='zurmoView']/div/table/tbody/tr[8]/td | 888999887 |
compareText | //div[@id='zurmoView']/div/table/tbody/tr[13]/td | 457 Bee Street Suite 400 Gary Indiana, 67898 USA |
assertText | link=exact:http://www.rabbit.com | exact:http://www.rabbit.com |
assertText | //div[@id='zurmoView']/div/table/tbody/tr[14]/td | Financial Services |
compareText | //div[@id='zurmoView']/div/table/tbody/tr[12]/td | 124 Main Street Suite 500 Chicago IL, 60614 USA |
assertText | link=sizzy@rabbit.com | sizzy@rabbit.com |
assertText | link=Sam Smith | Sam Smith |
assertText | //div[@id='zurmoView']/div/table/tbody/tr[7]/td | Inbound Call |
assertText | //div[@id='zurmoView']/div/table/tbody/tr[16]/td | test |
open | index.php/leads/default | |
waitForPageToLoad | ||
waitForCondition | selenium.browserbot.getCurrentWindow().jQuery.active == 0 | 30000 |
type | LeadsSearchForm_anyMixedAttributes | Sanny ${randomSuffix} |
keyUp | LeadsSearchForm_anyMixedAttributes | \10 |
waitForCondition | selenium.browserbot.getCurrentWindow().jQuery.active == 0 | 30000 |
assertText | link=Sizzy Sanny ${randomSuffix} | Sizzy Sanny ${randomSuffix} |
clickAndWait | link=Sizzy Sanny ${randomSuffix} | |
waitForPageToLoad | ||
waitForCondition | selenium.browserbot.getCurrentWindow().jQuery.active == 0 | 30000 |
assertText | link=Convert | Convert |
clickAndWait | link=Convert | |
waitForPageToLoad | ||
waitForCondition | selenium.browserbot.getCurrentWindow().jQuery.active == 0 | 30000 |
assertText | link=Select Account | Select Account |
click | link=Select Account | |
click | AccountSelectForm_accounts_SelectLink | |
waitForCondition | selenium.browserbot.getCurrentWindow().jQuery.active == 0 | 30000 |
waitForElementPresent | AccountsSearchForm_anyMixedAttributes | |
type | id=AccountsSearchForm_anyMixedAttributes | my account ${randomSuffix} |
keyUp | id=AccountsSearchForm_anyMixedAttributes | \10 |
waitForCondition | selenium.browserbot.getCurrentWindow().jQuery.active == 0 | 30000 |
waitForText | //div[@id='list-viewmodal']/div[2]/table/tbody/tr/td[1]/a | my account ${randomSuffix} |
click | //div[@id='list-viewmodal']/div[2]/table/tbody/tr/td[1]/a | |
waitForValue | AccountSelectForm_accountName | my account ${randomSuffix} |
clickAndWait | //*[@id="AccountSelect"] | |
waitForPageToLoad | ||
waitForCondition | selenium.browserbot.getCurrentWindow().jQuery.active == 0 | 30000 |
assertText | //div[@id='zurmoView']/div/table/tbody/tr[1]/td | Mrs. Sizzy Sanny ${randomSuffix} |
assertText | link=my account ${randomSuffix} | my account ${randomSuffix} |