Test suite results

result: passed
totalTime: 238
numTestTotal: 6
numTestPasses: 6
numTestFailures: 0
numCommandPasses: 50
numCommandFailures: 0
numCommandErrors: 0
Selenium Version: 2.7
Selenium Revision: .0
Test Suite
Login as Super User
Create Edit Account
Search Account
Mass Edit Walk through
Auto Complete Owner search
Delete Account
 
cases/LoginSuperUser.html
Login as Super User
setSpeed 1000
open index.php/zurmo/default/login
waitForPageToLoad
type LoginForm_username super
type LoginForm_password super
click Login
waitForPageToLoad
waitForText //div[@id='HeaderLinksView']/div/div[2]/ul/li/a/span super
 
cases/Create.html
Create Account
setSpeed 1000
storeGlobal javascript{Math.floor(Math.random()*11000)} randomSuffix
open index.php/accounts/default/create
waitForPageToLoad
waitForTextPresent Create Account
type Account_name my account ${randomSuffix}
click Account_owner_SelectLink
waitForTextPresent User Search
type UsersSearchForm_anyMixedAttributes Sam Smith
keyUp UsersSearchForm_anyMixedAttributes \10
waitForTextPresent Sam Smith
click link=Sam Smith
waitForValue Account_owner_name Sam Smith
assertNotValue Account_owner_id
type Account_employees 5
type Account_officeFax 123555
type Account_officePhone 456777
type Account_annualRevenue 500
type Account_primaryEmail_emailAddress test@testcompany.com
type Account_secondaryEmail_emailAddress test2@testcompany.com
select Account_industry_value label=Financial Services
select Account_type_value label=Customer
type Account_billingAddress_street1 123 ABC Street
type Account_billingAddress_street2 suite 100
type Account_billingAddress_city Chicago
type Account_billingAddress_state IL
type Account_billingAddress_postalCode 60611
type Account_billingAddress_country USA
type Account_shippingAddress_street1 456 Main Street
type Account_shippingAddress_street2 Suite 200
type Account_shippingAddress_city New York
type Account_shippingAddress_state NY
type Account_shippingAddress_postalCode 12133
type Account_shippingAddress_country USA
type Account_description This is a test account
clickAndWait save
waitForTextPresent my account ${randomSuffix}
assertText link=Edit Edit
clickAndWait link=Edit
assertText save
verifyValue Account_name my account ${randomSuffix}
verifyValue Account_owner_name Sam Smith
verifySelectedLabel Account_industry_value Financial Services
verifySelectedLabel Account_type_value Customer
verifyValue Account_primaryEmail_emailAddress test@testcompany.com
verifyValue Account_billingAddress_street1 123 ABC Street
verifyValue Account_billingAddress_street2 suite 100
verifyValue Account_billingAddress_city Chicago
verifyValue Account_billingAddress_state IL
verifyValue Account_billingAddress_country USA
verifyValue Account_description This is a test account
verifyValue Account_officePhone 456777
verifyValue Account_officeFax 123555
verifyValue Account_annualRevenue 500
verifyValue Account_secondaryEmail_emailAddress test2@testcompany.com
verifyValue Account_shippingAddress_street1 456 Main Street
verifyValue Account_shippingAddress_street2 Suite 200
verifyValue Account_shippingAddress_city New York
verifyValue Account_shippingAddress_state NY
verifyValue Account_shippingAddress_postalCode 12133
verifyValue Account_shippingAddress_country USA
type Account_name Changing The Account ${randomSuffix}
clickAndWait save
waitForTextPresent Changing The Account ${randomSuffix}
 
cases/Search.html
Search
setSpeed 1000
open index.php/accounts/default
waitForPageToLoad
verifyTextPresent Create
verifyTextPresent Update
verifyTextPresent Advanced
type AccountsSearchForm_anyMixedAttributes Changing The Account ${randomSuffix}
keyUp AccountsSearchForm_anyMixedAttributes \10
waitForTextPresent Changing The Account ${randomSuffix}
verifyTextPresent Changing The Account ${randomSuffix}
verifyValue AccountsSearchForm_anyMixedAttributes Changing The Account ${randomSuffix}
click link=Clear
verifyValue AccountsSearchForm_anyMixedAttributes
 
cases/MassEdit.html
Mass Edit
setSpeed 3000
open index.php/accounts/default
waitForPageToLoad
verifyTextPresent Advanced
verifyValue list-view-rowSelector_0 off
click list-view-rowSelector_0
verifyValue list-view-rowSelector_0 on
open index.php/accounts/default
assertEditable list-view-rowSelector_0
assertEditable list-view-rowSelector_1
click list-view-rowSelector_all
verifyValue list-view-rowSelector_0 on
verifyValue list-view-rowSelector_1 on
open index.php/accounts/default
click list-view-rowSelector_0
click list-view-rowSelector_1
clickAndWait //li[@id='list-view-massActionSelected']/a/span[2]
waitForTextPresent 2 records selected for updating
click MassEdit_owner
clickAndWait save
waitForTextPresent Owner cannot be blank.
click MassEdit_owner
click MassEdit_industry
select Account_industry_value label=Financial Services
clickAndWait save
waitForPageToLoad
waitForTextPresent Successfully updated 2 records
clickAndWait //div[@id='list-view']/table/tbody/tr[1]/td[2]/a
waitForPageToLoad
verifyTextPresent Financial Services
open index.php/accounts/default
clickAndWait //div[@id='MenuView']/ul/li[2]/ul/li[2]/a/span[2]
waitForPageToLoad
click //li[@id='list-view-massActionSelected']/a/span[2]
assertAlert You must select at least one record
 
cases/OwnerTypeAhead.html
Test User Type Ahead
setSpeed 1000
open index.php/accounts/default/create
waitForPageToLoad
assertValue Account_owner_id 1
assertValue Account_owner_name Super User
focus Account_owner_name
typeAndTypeKeys Account_owner_name sam
waitForElementPresent //div[@id='owner-box']/ul/li/a[. = "Sam Smith (sam)"]
mouseOver //div[@id='owner-box']/ul/li/a[. = "Sam Smith (sam)"]
click //div[@id='owner-box']/ul/li/a[. = "Sam Smith (sam)"]
assertValue Account_owner_name Sam Smith
assertNotValue Account_owner_id
 
cases/Delete.html
Search
setSpeed 1000
open index.php/accounts/default
waitForPageToLoad
verifyTextPresent Create
verifyTextPresent Update
verifyTextPresent Advanced
type AccountsSearchForm_anyMixedAttributes Changing The Account ${randomSuffix}
verifyTextPresent Changing The Account ${randomSuffix}
clickAndWait link=Changing The Account ${randomSuffix}
waitForPageToLoad
waitForTextPresent Changing The Account ${randomSuffix}
click link=Delete
waitForConfirmation Are you sure you want to remove this account?
waitForPageToLoad
verifyTextPresent Create
verifyTextPresent Update
verifyTextPresent Advanced
type AccountsSearchForm_anyMixedAttributes Changing The Account ${randomSuffix}
keyUp AccountsSearchForm_anyMixedAttributes \10
waitForTextPresent No results found.
 
info: Starting test /selenium-server/tests/cases/LoginSuperUser.html
info: Executing: |setSpeed | 1000 |  |
info: Executing: |open | index.php/zurmo/default/login |  |
info: Executing: |waitForPageToLoad |  |  |
info: Executing: |type | LoginForm_username | super |
info: Executing: |type | LoginForm_password | super |
info: Executing: |click | Login |  |
info: Executing: |waitForPageToLoad |  |  |
info: Executing: |waitForText | //div[@id='HeaderLinksView']/div/div[2]/ul/li/a/span | super |
info: Starting test /selenium-server/tests/cases/Create.html
info: Executing: |setSpeed | 1000 |  |
info: Executing: |storeGlobal | javascript{Math.floor(Math.random()*11000)} | randomSuffix |
info: Executing: |open | index.php/accounts/default/create |  |
info: Executing: |waitForPageToLoad |  |  |
info: Executing: |waitForTextPresent | Create Account |  |
info: Executing: |type | Account_name | my account ${randomSuffix} |
info: Executing: |click | Account_owner_SelectLink |  |
info: Executing: |waitForTextPresent | User Search |  |
info: Executing: |type | UsersSearchForm_anyMixedAttributes | Sam Smith |
info: Executing: |keyUp | UsersSearchForm_anyMixedAttributes | \10 |
info: Executing: |waitForTextPresent | Sam Smith |  |
info: Executing: |click | link=Sam Smith |  |
info: Executing: |waitForValue | Account_owner_name | Sam Smith |
info: Executing: |assertNotValue | Account_owner_id |  |
info: Executing: |type | Account_employees | 5 |
info: Executing: |type | Account_officeFax | 123555 |
info: Executing: |type | Account_officePhone | 456777 |
info: Executing: |type | Account_annualRevenue | 500 |
info: Executing: |type | Account_primaryEmail_emailAddress | test@testcompany.com |
info: Executing: |type | Account_secondaryEmail_emailAddress | test2@testcompany.com |
info: Executing: |select | Account_industry_value | label=Financial Services |
info: Executing: |select | Account_type_value | label=Customer |
info: Executing: |type | Account_billingAddress_street1 | 123 ABC Street |
info: Executing: |type | Account_billingAddress_street2 | suite 100 |
info: Executing: |type | Account_billingAddress_city | Chicago |
info: Executing: |type | Account_billingAddress_state | IL |
info: Executing: |type | Account_billingAddress_postalCode | 60611 |
info: Executing: |type | Account_billingAddress_country | USA |
info: Executing: |type | Account_shippingAddress_street1 | 456 Main Street |
info: Executing: |type | Account_shippingAddress_street2 | Suite 200 |
info: Executing: |type | Account_shippingAddress_city | New York |
info: Executing: |type | Account_shippingAddress_state | NY |
info: Executing: |type | Account_shippingAddress_postalCode | 12133 |
info: Executing: |type | Account_shippingAddress_country | USA |
info: Executing: |type | Account_description | This is a test account |
info: Executing: |clickAndWait | save |  |
info: Executing: |waitForTextPresent | my account ${randomSuffix} |  |
info: Executing: |assertText | link=Edit | Edit |
info: Executing: |clickAndWait | link=Edit |  |
info: Executing: |assertText | save |  |
info: Executing: |verifyValue | Account_name | my account ${randomSuffix} |
info: Executing: |verifyValue | Account_owner_name | Sam Smith |
info: Executing: |verifySelectedLabel | Account_industry_value | Financial Services |
info: Executing: |verifySelectedLabel | Account_type_value | Customer |
info: Executing: |verifyValue | Account_primaryEmail_emailAddress | test@testcompany.com |
info: Executing: |verifyValue | Account_billingAddress_street1 | 123 ABC Street |
info: Executing: |verifyValue | Account_billingAddress_street2 | suite 100 |
info: Executing: |verifyValue | Account_billingAddress_city | Chicago |
info: Executing: |verifyValue | Account_billingAddress_state | IL |
info: Executing: |verifyValue | Account_billingAddress_country | USA |
info: Executing: |verifyValue | Account_description | This is a test account |
info: Executing: |verifyValue | Account_officePhone | 456777 |
info: Executing: |verifyValue | Account_officeFax | 123555 |
info: Executing: |verifyValue | Account_annualRevenue | 500 |
info: Executing: |verifyValue | Account_secondaryEmail_emailAddress | test2@testcompany.com |
info: Executing: |verifyValue | Account_shippingAddress_street1 | 456 Main Street |
info: Executing: |verifyValue | Account_shippingAddress_street2 | Suite 200 |
info: Executing: |verifyValue | Account_shippingAddress_city | New York |
info: Executing: |verifyValue | Account_shippingAddress_state | NY |
info: Executing: |verifyValue | Account_shippingAddress_postalCode | 12133 |
info: Executing: |verifyValue | Account_shippingAddress_country | USA |
info: Executing: |type | Account_name | Changing The Account ${randomSuffix} |
info: Executing: |clickAndWait | save |  |
info: Executing: |waitForTextPresent | Changing The Account ${randomSuffix} |  |
info: Starting test /selenium-server/tests/cases/Search.html
info: Executing: |setSpeed | 1000 |  |
info: Executing: |open | index.php/accounts/default |  |
info: Executing: |waitForPageToLoad |  |  |
info: Executing: |verifyTextPresent | Create |  |
info: Executing: |verifyTextPresent | Update |  |
info: Executing: |verifyTextPresent | Advanced |  |
info: Executing: |type | AccountsSearchForm_anyMixedAttributes | Changing The Account ${randomSuffix} |
info: Executing: |keyUp | AccountsSearchForm_anyMixedAttributes | \10 |
info: Executing: |waitForTextPresent | Changing The Account ${randomSuffix} |  |
info: Executing: |verifyTextPresent | Changing The Account ${randomSuffix} |  |
info: Executing: |verifyValue | AccountsSearchForm_anyMixedAttributes | Changing The Account ${randomSuffix} |
info: Executing: |click | link=Clear |  |
info: Executing: |verifyValue | AccountsSearchForm_anyMixedAttributes |  |
info: Starting test /selenium-server/tests/cases/MassEdit.html
info: Executing: |setSpeed | 3000 |  |
info: Executing: |open | index.php/accounts/default |  |
info: Executing: |waitForPageToLoad |  |  |
info: Executing: |verifyTextPresent | Advanced |  |
info: Executing: |verifyValue | list-view-rowSelector_0 | off |
info: Executing: |click | list-view-rowSelector_0 |  |
info: Executing: |verifyValue | list-view-rowSelector_0 | on |
info: Executing: |open | index.php/accounts/default |  |
info: Executing: |assertEditable | list-view-rowSelector_0 |  |
info: Executing: |assertEditable | list-view-rowSelector_1 |  |
info: Executing: |click | list-view-rowSelector_all |  |
info: Executing: |verifyValue | list-view-rowSelector_0 | on |
info: Executing: |verifyValue | list-view-rowSelector_1 | on |
info: Executing: |open | index.php/accounts/default |  |
info: Executing: |click | list-view-rowSelector_0 |  |
info: Executing: |click | list-view-rowSelector_1 |  |
info: Executing: |clickAndWait | //li[@id='list-view-massActionSelected']/a/span[2] |  |
info: Executing: |waitForTextPresent | 2 records selected for updating |  |
info: Executing: |click | MassEdit_owner |  |
info: Executing: |clickAndWait | save |  |
info: Executing: |waitForTextPresent | Owner cannot be blank. |  |
info: Executing: |click | MassEdit_owner |  |
info: Executing: |click | MassEdit_industry |  |
info: Executing: |select | Account_industry_value | label=Financial Services |
info: Executing: |clickAndWait | save |  |
info: Executing: |waitForPageToLoad |  |  |
info: Executing: |waitForTextPresent | Successfully updated 2 records |  |
info: Executing: |clickAndWait | //div[@id='list-view']/table/tbody/tr[1]/td[2]/a |  |
info: Executing: |waitForPageToLoad |  |  |
info: Executing: |verifyTextPresent | Financial Services |  |
info: Executing: |open | index.php/accounts/default |  |
info: Executing: |clickAndWait | //div[@id='MenuView']/ul/li[2]/ul/li[2]/a/span[2] |  |
info: Executing: |waitForPageToLoad |  |  |
info: Executing: |click | //li[@id='list-view-massActionSelected']/a/span[2] |  |
info: Executing: |assertAlert | You must select at least one record |  |
info: Starting test /selenium-server/tests/cases/OwnerTypeAhead.html
info: Executing: |setSpeed | 1000 |  |
info: Executing: |open | index.php/accounts/default/create |  |
info: Executing: |waitForPageToLoad |  |  |
info: Executing: |assertValue | Account_owner_id | 1 |
info: Executing: |assertValue | Account_owner_name | Super User |
info: Executing: |focus | Account_owner_name |  |
info: Executing: |typeAndTypeKeys | Account_owner_name | sam |
info: Executing: |waitForElementPresent | //div[@id='owner-box']/ul/li/a[. = "Sam Smith (sam)"] |  |
info: Executing: |mouseOver | //div[@id='owner-box']/ul/li/a[. = "Sam Smith (sam)"] |  |
info: Executing: |click | //div[@id='owner-box']/ul/li/a[. = "Sam Smith (sam)"] |  |
info: Executing: |assertValue | Account_owner_name | Sam Smith |
info: Executing: |assertNotValue | Account_owner_id |  |
info: Starting test /selenium-server/tests/cases/Delete.html
info: Executing: |setSpeed | 1000 |  |
info: Executing: |open | index.php/accounts/default |  |
info: Executing: |waitForPageToLoad |  |  |
info: Executing: |verifyTextPresent | Create |  |
info: Executing: |verifyTextPresent | Update |  |
info: Executing: |verifyTextPresent | Advanced |  |
info: Executing: |type | AccountsSearchForm_anyMixedAttributes | Changing The Account ${randomSuffix} |
info: Executing: |verifyTextPresent | Changing The Account ${randomSuffix} |  |
info: Executing: |clickAndWait | link=Changing The Account ${randomSuffix} |  |
info: Executing: |waitForPageToLoad |  |  |
info: Executing: |waitForTextPresent | Changing The Account ${randomSuffix} |  |
info: Executing: |click | link=Delete |  |
info: Executing: |waitForConfirmation | Are you sure you want to remove this account? |  |
info: Executing: |waitForPageToLoad |  |  |
info: Executing: |verifyTextPresent | Create |  |
info: Executing: |verifyTextPresent | Update |  |
info: Executing: |verifyTextPresent | Advanced |  |
info: Executing: |type | AccountsSearchForm_anyMixedAttributes | Changing The Account ${randomSuffix} |
info: Executing: |keyUp | AccountsSearchForm_anyMixedAttributes | \10 |
info: Executing: |waitForTextPresent | No results found. |  |