| 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} |
| clickAndWait |
save |
|
| waitForPageToLoad |
|
|
| waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
| waitForTextPresent |
my account ${randomSuffix} |
|
| open |
index.php/leads/default/create |
|
| waitForPageToLoad |
|
|
| waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
| waitForTextPresent |
Create Lead |
|
| type |
Contact_firstName |
Silly |
| type |
Contact_lastName |
Sally ${randomSuffix} |
| select |
Contact_state_id |
label=In Progress |
| waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
| select |
Contact_title_value |
label=Mrs. |
| waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
| clickAndWait |
save |
|
| waitForPageToLoad |
|
|
| waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
| waitForText |
//div[@id='LeadEditAndDetailsView']/div/h1 |
exact:Silly Sally ${randomSuffix} |
| assertText |
//div[@id='LeadEditAndDetailsView']/div/div/table/tbody/tr[1]/td[1] |
Mrs. Silly Sally ${randomSuffix} |
| open |
index.php/contacts/default/create |
|
| waitForPageToLoad |
|
|
| waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
| waitForTextPresent |
Create Contact |
|
| type |
Contact_firstName |
Jinny |
| type |
Contact_lastName |
Jane ${randomSuffix} |
| select |
Contact_title_value |
label=Mrs. |
| waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
| select |
Contact_state_id |
label=Customer |
| waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
| clickAndWait |
save |
|
| waitForPageToLoad |
|
|
| waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
| waitForTextPresent |
Jinny Jane ${randomSuffix} |
|
| verifyTextPresent |
Mrs. Jinny Jane ${randomSuffix} |
|
| open |
index.php/opportunities/default/create |
|
| waitForPageToLoad |
|
|
| waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
| waitForTextPresent |
Create Opportunity |
|
| type |
Opportunity_name |
Test Opportunity ${randomSuffix} |
| type |
Opportunity_amount_value |
500.34 |
| click |
Opportunity_closeDate |
|
| waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
| click |
//div[@id='ui-datepicker-div']/div/a[2]/span |
|
| waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
| click |
//div[@id='ui-datepicker-div']/table/tbody/tr[2]/td[3]/a |
|
| waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
| clickAndWait |
save |
|
| waitForPageToLoad |
|
|
| waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
| waitForTextPresent |
Test Opportunity ${randomSuffix} |
|
| verifyTextPresent |
Test Opportunity ${randomSuffix} |
|