| 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 account ${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='UsersModalListView']/div/table/tbody/tr/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 account ${randomSuffix} |
|
| assertText |
link=Edit |
Edit |
| clickAndWait |
link=Edit |
|
| waitForPageToLoad |
|
|
| waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
| assertText |
save |
Save |
| verifyValue |
Account_name |
my account ${randomSuffix} |
| verifyValue |
Account_website |
http://www.testingcompany.com |
| verifyValue |
Account_owner_name |
Sam Smith |
| verifySelectedLabel |
Account_industry_value |
Financial Services |
| verifySelectedLabel |
Account_type_value |
Vendor |
| verifyValue |
Account_billingAddress_street1 |
123 ABC Street |
| verifyValue |
Account_billingAddress_street2 |
suite 100 |
| verifyValue |
Account_billingAddress_city |
Chicago |
| verifyValue |
Account_billingAddress_state |
IL |
| verifyValue |
Account_billingAddress_country |
USA |
| verifyValue |
Account_description |
This is a test account |
| verifyValue |
Account_officePhone |
456777 |
| verifyValue |
Account_officeFax |
123555 |
| verifyValue |
Account_annualRevenue |
500 |
| verifyValue |
Account_shippingAddress_street1 |
456 Main Street |
| verifyValue |
Account_shippingAddress_street2 |
Suite 200 |
| verifyValue |
Account_shippingAddress_city |
New York |
| verifyValue |
Account_shippingAddress_state |
NY |
| verifyValue |
Account_shippingAddress_postalCode |
12133 |
| verifyValue |
Account_shippingAddress_country |
USA |
| type |
Account_name |
Changing The Account ${randomSuffix} |
| clickAndWait |
save |
|
| waitForPageToLoad |
|
|
| waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
| waitForTextPresent |
Changing The Account ${randomSuffix} |
|
| clickAndWait |
//div[@class='juiportlet-columns']/ul/li[3]/div[2]/div/div/div/a[@class='icon-create'] |
|
| waitForPageToLoad |
|
|
| waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
| type |
id=Contact_firstName |
Test |
| type |
id=Contact_lastName |
Contact ${randomSuffix} |
| select |
id=Contact_state_id |
label=Customer |
| clickAndWait |
name=save |
|
| waitForPageToLoad |
|
|
| waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
| waitForTextPresent |
Test Contact ${randomSuffix} |
|
| clickAndWait |
//div[@class='juiportlet-columns']/ul/li[3]/div[2]/div/div[2]/table/tbody/tr/td[2]/div/ul/li/ul/li/a |
|
| waitForPageToLoad |
|
|
| waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
| type |
id=Contact_firstName |
Changing Test |
| click |
name=save |
|
| waitForPageToLoad |
|
|
| waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
| waitForTextPresent |
Changing Test Contact ${randomSuffix} |
|
| setSpeed |
2000 |
|
| click |
link=Unlink |
|
| waitForConfirmation |
Are you sure you want to unlink this contact? |
|
| chooseOkOnNextConfirmation |
|
|
| setSpeed |
1 |
|
| waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
| waitForTextNotPresent |
Changing Test Contact ${randomSuffix} |
|
| clickAndWait |
//div[@class='juiportlet-columns']/ul/li[3]/div[2]/div/div/div/a[@class='icon-create'] |
|
| waitForPageToLoad |
|
|
| waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
| type |
id=Contact_firstName |
Test |
| type |
id=Contact_lastName |
Contact ${randomSuffix} |
| select |
id=Contact_state_id |
label=Customer |
| clickAndWait |
name=save |
|
| waitForPageToLoad |
|
|
| waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
| waitForTextPresent |
Test Contact ${randomSuffix} |
|