setTimeout |
45000 |
|
open |
index.php/accounts/default |
|
waitForPageToLoad |
|
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
assertTextPresent |
Create |
|
assertTextPresent |
Update |
|
assertTextPresent |
Export |
|
assertTextPresent |
Delete |
|
type |
id=AccountsSearchForm_anyMixedAttributes |
Test Account ${randomSuffix} |
keyUp |
id=AccountsSearchForm_anyMixedAttributes |
\10 |
waitForText |
//div[@id='list-view']/div[2]/table/tbody/tr[1]/td[3]/a |
Test Account ${randomSuffix} |
verifyTextPresent |
Test Account ${randomSuffix} |
|
verifyValue |
AccountsSearchForm_anyMixedAttributes |
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 |
assertTextPresent |
Test Account ${randomSuffix} |
|
waitForElementPresent |
//div[@class='juiportlet-columns']/ul[2]/li[3]/div[1]/div/div/div/a/span |
|
clickAndWait |
//div[@class='juiportlet-columns']/ul[2]/li[3]/div[1]/div/div/div/a/span |
|
waitForPageToLoad |
|
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
waitForElementPresent |
id=Contact_firstName |
|
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 |
assertTextPresent |
Test Contact ${randomSuffix} |
|
waitForElementPresent |
//div[@class='juiportlet-columns']/ul[2]/li[3]/div[1]/div/div/div/a/span |
|
clickAndWait |
//div[@class='juiportlet-columns']/ul[2]/li[3]/div[1]/div/div/div/a/span |
|
waitForPageToLoad |
|
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
type |
id=Contact_firstName |
Test |
clickAndWait |
name=save |
|
waitForPageToLoad |
|
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
waitForTextPresent |
Last Name cannot be blank. |
|
type |
id=Contact_lastName |
Zurmo ${randomSuffix} |
clickAndWait |
name=save |
|
waitForPageToLoad |
|
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
waitForTextPresent |
Test Zurmo ${randomSuffix} |
|
assertText |
link=Unlink |
Unlink |
click |
link=Unlink |
|
waitForConfirmation |
Are you sure you want to unlink this contact? |
|
chooseCancelOnNextConfirmation |
|
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
waitForTextPresent |
Test Zurmo ${randomSuffix} |
|
assertText |
link=Unlink |
Unlink |
click |
link=Unlink |
|
waitForConfirmation |
Are you sure you want to unlink this contact? |
|
chooseOkOnNextConfirmation |
|
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
assertText |
//div[@id='AccountDetailsAndRelationsView']/div[2]/div/ul[2]/li[3]/div[2]/div/div/table/tbody/tr[1]/td[1]/div/a
|
Test Zurmo ${randomSuffix} |
waitForElementNotPresent |
//div[@id='AccountDetailsAndRelationsView']/div[2]/div/ul[2]/li[3]/div[2]/div/div/table/tbody/tr[2] |
|
waitForElementPresent |
//div[@class='juiportlet-columns']/ul[2]/li[3]/div[1]/div/div/div/a/span |
|
clickAndWait |
//div[@class='juiportlet-columns']/ul[2]/li[3]/div[1]/div/div/div/a/span |
|
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 |
waitForTextPresent |
There is 1 possible match. |
|
click |
//div[@id='FlashMessageBar']/div/div/div/span |
|
clickAndWait |
name=save |
|
waitForPageToLoad |
|
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
waitForTextPresent |
Test Contact ${randomSuffix} |
|
open |
index.php/accounts/default?clearingSearch=1 |
|
waitForPageToLoad |
|
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |