setTimeout |
45000 |
|
storeGlobal |
javascript{Math.floor(Math.random()*11000)} |
randomSuffix |
open |
index.php/accounts/default/create |
|
waitForPageToLoad |
|
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
waitForTextPresent |
Create Account |
|
type |
Account_name |
my accountc ${randomSuffix} |
click |
Account_owner_SelectLink |
|
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 |
click |
link=Sam Smith |
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
waitForValue |
Account_owner_name |
Sam Smith |
assertNotValue |
Account_owner_id |
|
type |
Account_employees |
5 |
type |
Account_officeFax |
123555 |
type |
Account_officePhone |
456777 |
type |
Account_annualRevenue |
500 |
select |
Account_industry_value |
label=Financial Services |
select |
Account_type_value |
label=Vendor |
type |
Account_website |
http://www.testingcompany.com |
type |
Account_billingAddress_street1 |
123 ABC Street |
type |
Account_billingAddress_street2 |
suite 100 |
type |
Account_billingAddress_city |
Chicago |
type |
Account_billingAddress_state |
IL |
type |
Account_billingAddress_postalCode |
60611 |
type |
Account_billingAddress_country |
USA |
type |
Account_shippingAddress_street1 |
456 Main Street |
type |
Account_shippingAddress_street2 |
Suite 200 |
type |
Account_shippingAddress_city |
New York |
type |
Account_shippingAddress_state |
NY |
type |
Account_shippingAddress_postalCode |
12133 |
type |
Account_shippingAddress_country |
USA |
type |
Account_description |
This is a test account |
clickAndWait |
save |
|
waitForPageToLoad |
|
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
waitForTextPresent |
my accountc ${randomSuffix} |
|
assertText |
link=Edit |
Edit |
clickAndWait |
//li[@id='EditLinkActionElement']/a |
|
waitForPageToLoad |
|
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
assertValue |
Account_billingAddress_street1 |
123 ABC Street |
assertValue |
Account_billingAddress_street2 |
suite 100 |
assertValue |
Account_billingAddress_city |
Chicago |
assertValue |
Account_billingAddress_state |
IL |
assertValue |
Account_billingAddress_postalCode |
60611 |
assertValue |
Account_billingAddress_country |
USA |
open |
index.php/home/default |
|
waitForPageToLoad |
|
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
clickAndWait |
//ul[@id='ShortcutsMenu']/li/ul/li[2]/a/span |
|
waitForPageToLoad |
|
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
click |
Contact_account_SelectLink |
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
waitForElementPresent |
AccountsSearchForm_anyMixedAttributes |
|
type |
AccountsSearchForm_anyMixedAttributes |
my accountc ${randomSuffix} |
keyUp |
AccountsSearchForm_anyMixedAttributes |
\10 |
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
waitForText |
//div[@id='list-viewmodal']/div[2]/table/tbody/tr[1]/td/a |
my accountc ${randomSuffix} |
click |
//div[@id='list-viewmodal']/div[2]/table/tbody/tr[1]/td/a |
|
waitForPageToLoad |
|
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
waitForValue |
Contact_account_name |
my accountc ${randomSuffix} |
assertValue |
Contact_primaryAddress_street1 |
123 ABC Street |
assertValue |
Contact_primaryAddress_street2 |
suite 100 |
assertValue |
Contact_primaryAddress_city |
Chicago |
assertValue |
Contact_primaryAddress_state |
IL |
assertValue |
Contact_primaryAddress_postalCode |
60611 |
assertValue |
Contact_primaryAddress_country |
USA |