setTimeout |
45000 |
|
storeGlobal |
javascript{Math.floor(Math.random()*11000)} |
randomSuffix |
storeGlobal |
javascript{new Date().getDate().toString()} |
date |
storeGlobal |
javascript{(new Date().getMonth()) + 1} |
month |
open |
index.php/opportunities/default |
|
waitForPageToLoad |
|
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
click |
//div[@id='list-view']/div[2]/table/tbody/tr[1]/td[3]/a |
|
waitForPageToLoad |
|
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
waitForTextPresent |
(Time in current stage: |
|
open |
index.php/accounts/default/create |
|
waitForPageToLoad |
|
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
waitForTextPresent |
Create Account |
|
type |
Account_name |
Opportunity Test Account ${randomSuffix} |
clickAndWait |
save |
|
waitForPageToLoad |
|
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
waitForText |
//div[@id='AccountDetailsPortletView']/div/div/div/table/tbody/tr[1]/td |
Opportunity Test Account ${randomSuffix} |
open |
index.php/contacts/default/create |
|
waitForPageToLoad |
|
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
waitForTextPresent |
Create Contact |
|
type |
Contact_lastName |
Opportunity Test Contact ${randomSuffix} |
clickAndWait |
save |
|
waitForPageToLoad |
|
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
waitForTextPresent |
Opportunity Test Contact ${randomSuffix} |
|
open |
index.php/opportunities/default |
|
waitForPageToLoad |
|
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
clickAndWait |
//div[@id='OpportunitiesSecuredActionBarForSearchAndListView']/div/nav/div[1]/a/span |
|
waitForPageToLoad |
|
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
assertTextPresent |
Create Opportunity |
|
type |
Opportunity_name |
Test Opportunity Stage ${randomSuffix} |
select |
id=Opportunity_amount_currency_id |
label=EUR |
type |
Opportunity_amount_value |
500.34 |
click |
Opportunity_account_SelectLink |
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
waitForElementPresent |
AccountsSearchForm_anyMixedAttributes |
|
type |
AccountsSearchForm_anyMixedAttributes |
Opportunity Test Account ${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 |
Opportunity Test Account ${randomSuffix} |
click |
//div[@id='list-viewmodal']/div[2]/table/tbody/tr[1]/td/a |
|
waitForValue |
Opportunity_account_name |
Opportunity Test Account ${randomSuffix} |
assertNotValue |
Opportunity_account_id |
|
type |
Opportunity_closeDate |
${month}/${date}/17 |
select |
Opportunity_stage_value |
label=Negotiating |
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
select |
Opportunity_source_value |
label=Tradeshow |
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
type |
Opportunity_description |
test description |
click |
Opportunity_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 |
assertElementPresent |
link=Sam Smith |
|
click |
link=Sam Smith |
|
waitForValue |
Opportunity_owner_name |
Sam Smith |
assertNotValue |
Opportunity_owner_id |
|
clickAndWait |
save |
|
waitForPageToLoad |
|
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
assertTextPresent |
Test Opportunity Stage ${randomSuffix} |
|
waitForTextPresent |
(Time in current stage: |
|
assertText |
//div[@id='OpportunityDetailsPortletView']/div/div/div/table/tbody/tr[1]/td |
Test Opportunity Stage ${randomSuffix} |
assertText |
//div[@id='OpportunityDetailsPortletView']/div/div/div/table/tbody/tr[3]/td/a |
Opportunity Test Account ${randomSuffix} |
assertText |
//div[@id='OpportunityDetailsPortletView']/div/div/div/table/tbody/tr[4]/td |
${month}/${date}/17 |
open |
index.php/accounts/default |
|
waitForPageToLoad |
|
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
type |
AccountsSearchForm_anyMixedAttributes |
Opportunity Test Account ${randomSuffix} |
keyUp |
AccountsSearchForm_anyMixedAttributes |
\10 |
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
waitForText |
//div[@id='list-view']/div[2]/table/tbody/tr[1]/td[3]/a |
Opportunity Test Account ${randomSuffix} |
verifyTextPresent |
Opportunity Test Account ${randomSuffix} |
|
verifyValue |
AccountsSearchForm_anyMixedAttributes |
Opportunity Test Account ${randomSuffix} |
click |
//div[@id='list-view']/div[2]/table/tbody/tr[1]/td[3]/a |
|
waitForPageToLoad |
|
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
waitForElementPresent |
//div[@id='AccountDetailsAndRelationsView']/div[2]/div/ul[2]/li[4]/div[2]/div/div/table/tbody/tr/td[1]/div[1]/a |
|
assertText |
//div[@id='AccountDetailsAndRelationsView']/div[2]/div/ul[2]/li[4]/div[2]/div/div/table/tbody/tr/td[1]/div[1]/a |
Test Opportunity Stage ${randomSuffix} |
assertText |
//div[@id='AccountDetailsAndRelationsView']/div[2]/div/ul[2]/li[4]/div[2]/div/div/table/tbody/tr/td[1]/div[2] |
€500.34 |
assertText |
//div[@id='AccountDetailsAndRelationsView']/div[2]/div/ul[2]/li[4]/div[2]/div/div/table/tbody/tr/td[1]/div[3] |
Negotiating |
assertText |
//div[@id='AccountDetailsAndRelationsView']/div[2]/div/ul[2]/li[4]/div[2]/div/div/table/tbody/tr/td[1]/div[4] |
${month}/${date}/17 |
open |
index.php/accounts/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 |
|
open |
index.php/contacts/default |
|
waitForPageToLoad |
|
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
type |
ContactsSearchForm_anyMixedAttributes |
Opportunity Test Contact ${randomSuffix} |
keyUp |
ContactsSearchForm_anyMixedAttributes |
\10 |
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
waitForText |
//div[@id='list-view']/div[2]/table/tbody/tr[1]/td[3]/a |
Opportunity Test Contact ${randomSuffix} |
verifyTextPresent |
Opportunity Test Contact ${randomSuffix} |
|
verifyValue |
ContactsSearchForm_anyMixedAttributes |
Opportunity Test Contact ${randomSuffix} |
click |
//div[@id='list-view']/div[2]/table/tbody/tr[1]/td[3]/a |
|
waitForPageToLoad |
|
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
setSpeed |
3000 |
|
waitForElementPresent |
//div[@id='ContactDetailsAndRelationsView']/div[2]/div/ul[2]/li[3]/div[1]/div/div/div/ul/li/ul/li[2]/a |
|
click |
//div[@id='ContactDetailsAndRelationsView']/div[2]/div/ul[2]/li[3]/div[1]/div/div/div/ul/li/ul/li[2]/a |
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
waitForTextPresent |
Opportunity Search |
|
setSpeed |
0 |
|
waitForElementPresent |
OpportunitiesSearchForm_anyMixedAttributes |
|
type |
OpportunitiesSearchForm_anyMixedAttributes |
Test Opportunity Stage ${randomSuffix} |
keyUp |
OpportunitiesSearchForm_anyMixedAttributes |
\10 |
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
waitForText |
//div[@id='list-viewmodal']/div[2]/table/tbody/tr[1]/td/a |
Test Opportunity Stage ${randomSuffix} |
click |
//div[@id='list-viewmodal']/div[2]/table/tbody/tr[1]/td/a |
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
assertText |
//div[@id='ContactDetailsAndRelationsView']/div[2]/div/ul[2]/li[3]/div[2]/div/div/table/tbody/tr[1]/td[1]/div[1]/a |
Test Opportunity Stage ${randomSuffix} |
assertText |
//div[@id='ContactDetailsAndRelationsView']/div[2]/div/ul[2]/li[3]/div[2]/div/div/table/tbody/tr[1]/td[1]/div[2] |
€500.34 |
assertText |
//div[@id='ContactDetailsAndRelationsView']/div[2]/div/ul[2]/li[3]/div[2]/div/div/table/tbody/tr[1]/td[1]/div[3] |
Negotiating |
assertText |
//div[@id='ContactDetailsAndRelationsView']/div[2]/div/ul[2]/li[3]/div[2]/div/div/table/tbody/tr[1]/td[1]/div[4] |
${month}/${date}/17 |