setTimeout |
45000 |
|
open |
index.php/leads/default/create |
|
waitForPageToLoad |
|
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
type |
Contact_firstName |
Jhon |
type |
Contact_lastName |
Connor ${randomSuffix} |
select |
Contact_state_id |
label=In Progress |
select |
Contact_title_value |
label=Mr. |
clickAndWait |
save |
|
waitForPageToLoad |
|
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
click |
//div[@id='LeadDetailsPortletView']/a |
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
assertText |
//div[@id='zurmoView']/div/table/tbody/tr[1]/td |
Mr. Jhon Connor ${randomSuffix} |
clickAndWait |
link=Delete |
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
waitForConfirmation |
Are you sure you want to delete this lead? |
|
chooseOkOnNextConfirmation |
|
|
waitForPageToLoad |
|
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
verifyTextPresent |
Create |
|
verifyTextPresent |
Advanced |
|
type |
LeadsSearchForm_anyMixedAttributes |
Jane ${randomSuffix} |
keyUp |
LeadsSearchForm_anyMixedAttributes |
\10 |
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
waitForTextPresent |
No results found |
|
open |
index.php/leads/default |
|
waitForPageToLoad |
|
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
click |
id=clear-search-link |
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
waitForTextNotPresent |
Criteria Selected |
|