setTimeout |
45000 |
|
open |
index.php/mashableInbox/default/list |
|
waitForPageToLoad |
|
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
open |
index.php/conversations/default/create |
|
waitForPageToLoad |
|
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
verifyTextPresent |
Create Conversation |
|
verifyElementPresent |
id=Conversation_subject |
|
type |
id=Conversation_subject |
Test Subject ${randomSuffix} |
verifyElementPresent |
id=Conversation_description |
|
type |
id=Conversation_description |
Test Conversation Description |
assertElementPresent |
link=More Details |
|
click |
link=More Details |
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
assertTextPresent |
Account |
|
click |
//a[@id='ConversationItemForm_Account_SelectLink']/span[2] |
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
waitForElementPresent |
id=AccountsSearchForm_anyMixedAttributes |
|
type |
id=AccountsSearchForm_anyMixedAttributes |
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 |
Test account ${randomSuffix} |
click |
//div[@id='list-viewmodal']/div[2]/table/tbody/tr[1]/td/a |
|
waitForValue |
ConversationItemForm_Account_name |
Test account ${randomSuffix} |
click |
//a[@id='ConversationItemForm_Opportunity_SelectLink']/span[2] |
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
waitForElementPresent |
id=OpportunitiesSearchForm_anyMixedAttributes |
|
type |
id=OpportunitiesSearchForm_anyMixedAttributes |
Test Opportunity ${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[1]/a |
Test Opportunity ${randomSuffix} |
click |
//div[@id='list-viewmodal']/div[2]/table/tbody/tr[1]/td[1]/a |
|
waitForValue |
ConversationItemForm_Opportunity_name |
Test Opportunity ${randomSuffix} |
assertElementPresent |
link=Save |
|
clickAndWait |
link=Save |
|
waitForPageToLoad |
|
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
assertTextPresent |
Test Opportunity ${randomSuffix} |
|
assertTextPresent |
Test Subject ${randomSuffix} |
|
assertTextPresent |
Add Comment |
|
verifyElementPresent |
id=Comment_description |
|
type |
id=Comment_description |
Test Comment |
click |
css=span.z-label |
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
waitForTextPresent |
Test Comment |
|
assertTextPresent |
Delete |
|