Test suite results

result: failed
totalTime: 34
numTestTotal: 7
numTestPasses: 0
numTestFailures: 7
numCommandPasses: 15
numCommandFailures: 8
numCommandErrors: 7
Selenium Version: 2.0
Selenium Revision: a1
Test Suite
Create New User
First Time Login
Try New Password
Edit User Info
Confirm Edited Info
Delete New User
Bookmark Without Logging In
 
CreateNewUser.html
Create New User
open . XHR ERROR: URL = http://localhost:8080/vivo/. Response_Code = 500 Error_Message = Internal Server Error
assertTitle VIVO
comment Login as defaultAdmin
clickAndWait link=Log in
assertTitle VIVO Site Administration Actual value '' did not match 'VIVO Site Administration'
type username defaultAdmin
type password Password
clickAndWait loginSubmitMode
assertTitle VIVO Site Administration
comment Create a new user
clickAndWait link=User accounts
assertTitle User Accounts
clickAndWait //input[@value='Add new user account']
assertTitle User Account Editing Form
type Username User Mgmt
type FirstName User
type LastName Mgmt
type Md5password UserMgmt
comment Enter a mis-matched confirmation password
type passwordConfirmation somethingElse
click primaryAction
assertAlert The passwords do not match.
comment Now enter a correct password
type passwordConfirmation UserMgmt
clickAndWait primaryAction
assertTitle User Account Control Panel
comment Confirm values for new user
verifyText //tr[1]/td[2] User Mgmt
verifyText //tr[2]/td[2] User
verifyText //tr[3]/td[2] Mgmt
verifyText //tr[4]/td[2] 0
verifyTextPresent unprivileged
comment Log out
clickAndWait link=Log out
assertTitle VIVO
 
FirstTimeLogin.html
First Time Login
open . XHR ERROR: URL = http://localhost:8080/vivo/. Response_Code = 500 Error_Message = Internal Server Error
assertTitle VIVO
comment Login for the first time
clickAndWait link=Log in
assertTitle VIVO Site Administration
comment Try the wrong password
type username Element username not found
type password incorrect
clickAndWait loginSubmitMode
assertTitle VIVO Site Administration
verifyTextPresent (1st login; initial password entered incorrectly)
verifyTextPresent Please try entering provided password again
comment Now the correct password
type password UserMgmt
clickAndWait loginSubmitMode
assertTitle VIVO Site Administration
verifyTextPresent (1st login; changing to new private password)
verifyTextPresent Please now choose a private password
comment Try changing to an invalid password
type password junk
click loginSubmitMode
assertAlert Please enter a password between 6 and 12 characters long
comment Now try a valid one
type password newPassword
clickAndWait loginSubmitMode
assertTitle VIVO Site Administration
verifyTextPresent (changing to new password)
verifyTextPresent Please re-enter new private password
comment Re-enter it incorrectly
type password garbage
clickAndWait loginSubmitMode
assertTitle VIVO Site Administration
verifyTextPresent (password incorrect)
verifyTextPresent Incorrect password: try again
comment Now re-enter it correctly
type password newPassword
clickAndWait loginSubmitMode
assertTitle VIVO Site Administration
comment Are we logged in?
verifyTextPresent Logged in as
verifyTextPresent User Mgmt
comment Log out
clickAndWait loginSubmitMode
assertTitle VIVO
 
TryNewPassword.html
Try New Password
open .
assertTitle VIVO
comment Log in with new password
clickAndWait link=Log in
type username User Mgmt
type password newPassword
clickAndWait loginSubmitMode
assertTitle VIVO Site Administration Actual value 'Apache Tomcat/6.0.24 - Error report' did not match 'VIVO Site Administration'
comment Confirm that it worked
verifyTextPresent Logged in as
verifyTextPresent User Mgmt
comment Log out
clickAndWait loginSubmitMode
assertTitle VIVO
 
EditUserInfo.html
Edit User Info
open .
assertTitle VIVO
comment Login as default admin
clickAndWait link=Log in
assertTitle VIVO Site Administration
type username defaultAdmin
type password Password
clickAndWait loginSubmitMode
assertTitle VIVO Site Administration
comment Go to user management for our new user account
clickAndWait link=User accounts Element link=User accounts not found
assertTitle User Accounts
clickAndWait link=User Mgmt
assertTitle User Account Control Panel
comment Open the editing form
clickAndWait //input[@value='Edit User Account']
assertTitle User Account Editing Form
comment Change the User Name and the Last Name
type Username User Management
type LastName Management
clickAndWait primaryAction
assertTitle User Account Control Panel
comment Open the "Reset Password" form
clickAndWait //input[@value='Reset Password']
assertTitle User Account Editing Form
comment Try two passwords that don't match
type Md5password otherPassword
type passwordConfirmation somethingElse
click primaryAction
assertAlert The passwords do not match.
comment Try passwords that match, but are too long
type passwordConfirmation otherPassword
click primaryAction
assertAlert Please enter a password between 6 and 12 characters long.
comment Try a good password, with a good match.
type Md5password resetPasswd
type passwordConfirmation resetPasswd
clickAndWait primaryAction
assertTitle User Account Control Panel
comment Log out
clickAndWait link=Log out
assertTitle VIVO
 
ConfirmEditedInfo.html
Confirm Edited Info
open .
assertTitle VIVO
comment Try to log in with original username
clickAndWait link=Log in
assertTitle VIVO Site Administration
type username User Mgmt
type password resetPasswd
clickAndWait loginSubmitMode
assertTitle VIVO Site Administration
verifyTextPresent (unknown username)
verifyTextPresent Unknown username
comment Now log in with new username (and new password)
type username User Management
type password resetPasswd
clickAndWait loginSubmitMode
assertTitle VIVO Site Administration
verifyTextPresent Logged in as false
verifyTextPresent User Management false
comment Log out
clickAndWait loginSubmitMode Timed out after 30000ms
assertTitle VIVO Actual value 'VIVO Site Administration' did not match 'VIVO'
 
DeleteNewUser.html
Delete New User
open . XHR ERROR: URL = http://localhost:8080/vivo/. Response_Code = 500 Error_Message = Internal Server Error
assertTitle VIVO
comment Log in as default admin
clickAndWait link=Log in
assertTitle VIVO Site Administration Actual value '' did not match 'VIVO Site Administration'
type username defaultAdmin
type password Password
clickAndWait loginSubmitMode
assertTitle VIVO Site Administration
comment Go to User Accounts
clickAndWait link=User accounts
assertTitle User Accounts
verifyElementPresent link=User Management
comment View the new user account, and edit it.
clickAndWait link=User Management
assertTitle User Account Control Panel
clickAndWait //input[@value='Edit User Account']
assertTitle User Account Editing Form
comment Delete the account
click _delete
assertConfirmation Are you SURE you want to delete this user? If in doubt, CANCEL.
waitForPageToLoad 5000
assertTitle User Accounts
verifyElementNotPresent link=User Management
comment Log out
clickAndWait link=Log out
assertTitle VIVO
 
BookmarkWithoutLoggingIn.html
Bookmark Without Logging In
comment Try to view Data Property Hierarchy page without logging in
open ./showDataPropertyHierarchy?home=1
comment It takes us to login page instead
assertTitle VIVO Site Administration
type username defaultAdmin
type password Password
clickAndWait loginSubmitMode
comment After logging in, we go to the Data Property Hierarchy page, as intended.
verifyTitle Data Property Hierarchy Actual value 'Apache Tomcat/6.0.24 - Error report' did not match 'Data Property Hierarchy'
verifyTextPresent Data Property Hierarchy false
comment Log out
click link=Log out Element link=Log out not found
assertTitle VIVO
 
info: Starting test /selenium-server/tests/CreateNewUser.html
info: Executing: |open | . |  |
info: onXhrStateChange(): xhr.readyState = 1 method = HEAD time = 1267826435545
info: onXhrStateChange(): xhr.readyState = 1 method = HEAD time = 1267826435545
info: onXhrStateChange(): xhr.readyState = 2 method = HEAD time = 1267826435679
info: onXhrStateChange(): xhr.readyState = 4 method = HEAD time = 1267826435679
error: XHR failed with message Internal Server Error
warn: currentTest.recordFailure: XHR ERROR: URL = http://localhost:8080/vivo/. Response_Code = 500 Error_Message = Internal Server Error
info: Executing: |assertTitle | VIVO |  |
info: Executing: |comment | Login as defaultAdmin |  |
info: Executing: |clickAndWait | link=Log in |  |
info: Executing: |assertTitle | VIVO Site Administration |  |
error: Actual value '' did not match 'VIVO Site Administration'
warn: currentTest.recordFailure: Actual value '' did not match 'VIVO Site Administration'
info: Starting test /selenium-server/tests/FirstTimeLogin.html
info: Executing: |open | . |  |
info: onXhrStateChange(): xhr.readyState = 1 method = HEAD time = 1267826436087
info: onXhrStateChange(): xhr.readyState = 1 method = HEAD time = 1267826436087
info: onXhrStateChange(): xhr.readyState = 2 method = HEAD time = 1267826436219
info: onXhrStateChange(): xhr.readyState = 4 method = HEAD time = 1267826436219
error: XHR failed with message Internal Server Error
warn: currentTest.recordFailure: XHR ERROR: URL = http://localhost:8080/vivo/. Response_Code = 500 Error_Message = Internal Server Error
info: Executing: |assertTitle | VIVO |  |
info: Executing: |comment | Login for the first time |  |
info: Executing: |clickAndWait | link=Log in |  |
info: Executing: |assertTitle | VIVO Site Administration |  |
info: Executing: |comment | Try the wrong password |  |
info: Executing: |type | username | User Mgmt |
error: Element username not found
warn: currentTest.recordFailure: Element username not found
info: Starting test /selenium-server/tests/TryNewPassword.html
info: Executing: |open | . |  |
info: onXhrStateChange(): xhr.readyState = 1 method = HEAD time = 1267826436567
info: onXhrStateChange(): xhr.readyState = 1 method = HEAD time = 1267826436567
info: onXhrStateChange(): xhr.readyState = 2 method = HEAD time = 1267826436587
info: onXhrStateChange(): xhr.readyState = 4 method = HEAD time = 1267826436587
info: Executing: |assertTitle | VIVO |  |
info: Executing: |comment | Log in with new password |  |
info: Executing: |clickAndWait | link=Log in |  |
info: Executing: |type | username | User Mgmt |
info: Executing: |type | password | newPassword |
info: Executing: |clickAndWait | loginSubmitMode |  |
info: Executing: |assertTitle | VIVO Site Administration |  |
error: Actual value 'Apache Tomcat/6.0.24 - Error report' did not match 'VIVO Site Administration'
warn: currentTest.recordFailure: Actual value 'Apache Tomcat/6.0.24 - Error report' did not match 'VIVO Site Administration'
info: Starting test /selenium-server/tests/EditUserInfo.html
info: Executing: |open | . |  |
info: onXhrStateChange(): xhr.readyState = 1 method = HEAD time = 1267826437055
info: onXhrStateChange(): xhr.readyState = 1 method = HEAD time = 1267826437056
info: onXhrStateChange(): xhr.readyState = 2 method = HEAD time = 1267826437077
info: onXhrStateChange(): xhr.readyState = 4 method = HEAD time = 1267826437077
info: Executing: |assertTitle | VIVO |  |
info: Executing: |comment | Login as default admin |  |
info: Executing: |clickAndWait | link=Log in |  |
info: Executing: |assertTitle | VIVO Site Administration |  |
info: Executing: |type | username | defaultAdmin |
info: Executing: |type | password | Password |
info: Executing: |clickAndWait | loginSubmitMode |  |
info: Executing: |assertTitle | VIVO Site Administration |  |
info: Executing: |comment | Go to user management for our new user account |  |
info: Executing: |clickAndWait | link=User accounts |  |
error: Element link=User accounts not found
warn: currentTest.recordFailure: Element link=User accounts not found
info: Starting test /selenium-server/tests/ConfirmEditedInfo.html
info: Executing: |open | . |  |
info: onXhrStateChange(): xhr.readyState = 1 method = HEAD time = 1267826437789
info: onXhrStateChange(): xhr.readyState = 1 method = HEAD time = 1267826437789
info: onXhrStateChange(): xhr.readyState = 2 method = HEAD time = 1267826437810
info: onXhrStateChange(): xhr.readyState = 4 method = HEAD time = 1267826437810
info: Executing: |assertTitle | VIVO |  |
info: Executing: |comment | Try to log in with original username |  |
info: Executing: |clickAndWait | link=Log in |  |
info: Executing: |assertTitle | VIVO Site Administration |  |
info: Executing: |type | username | User Mgmt |
info: Executing: |type | password | resetPasswd |
info: Executing: |clickAndWait | loginSubmitMode |  |
info: Executing: |assertTitle | VIVO Site Administration |  |
info: Executing: |verifyTextPresent | (unknown username) |  |
info: Executing: |verifyTextPresent | Unknown username |  |
info: Executing: |comment | Now log in with new username (and new password) |  |
info: Executing: |type | username | User Management |
info: Executing: |type | password | resetPasswd |
info: Executing: |clickAndWait | loginSubmitMode |  |
info: Executing: |assertTitle | VIVO Site Administration |  |
info: Executing: |verifyTextPresent | Logged in as |  |
warn: currentTest.recordFailure: false
info: Executing: |verifyTextPresent | User Management |  |
warn: currentTest.recordFailure: false
info: Executing: |comment | Log out |  |
info: Executing: |clickAndWait | loginSubmitMode |  |
warn: currentTest.recordFailure: Timed out after 30000ms
info: Executing: |assertTitle | VIVO |  |
error: Actual value 'VIVO Site Administration' did not match 'VIVO'
warn: currentTest.recordFailure: Actual value 'VIVO Site Administration' did not match 'VIVO'
info: Starting test /selenium-server/tests/DeleteNewUser.html
info: Executing: |open | . |  |
info: onXhrStateChange(): xhr.readyState = 1 method = HEAD time = 1267826468862
info: onXhrStateChange(): xhr.readyState = 1 method = HEAD time = 1267826468862
info: onXhrStateChange(): xhr.readyState = 2 method = HEAD time = 1267826468998
info: onXhrStateChange(): xhr.readyState = 4 method = HEAD time = 1267826468998
error: XHR failed with message Internal Server Error
warn: currentTest.recordFailure: XHR ERROR: URL = http://localhost:8080/vivo/. Response_Code = 500 Error_Message = Internal Server Error
info: Executing: |assertTitle | VIVO |  |
info: Executing: |comment | Log in as default admin |  |
info: Executing: |clickAndWait | link=Log in |  |
info: Executing: |assertTitle | VIVO Site Administration |  |
error: Actual value '' did not match 'VIVO Site Administration'
warn: currentTest.recordFailure: Actual value '' did not match 'VIVO Site Administration'
info: Starting test /selenium-server/tests/BookmarkWithoutLoggingIn.html
info: Executing: |comment | Try to view Data Property Hierarchy page without logging in |  |
info: Executing: |open | ./showDataPropertyHierarchy?home=1 |  |
info: onXhrStateChange(): xhr.readyState = 1 method = HEAD time = 1267826469407
info: onXhrStateChange(): xhr.readyState = 1 method = HEAD time = 1267826469408
info: onXhrStateChange(): xhr.readyState = 2 method = HEAD time = 1267826469478
info: onXhrStateChange(): xhr.readyState = 3 method = HEAD time = 1267826469478
info: onXhrStateChange(): xhr.readyState = 4 method = HEAD time = 1267826469549
info: Executing: |comment | It takes us to login page instead |  |
info: Executing: |assertTitle | VIVO Site Administration |  |
info: Executing: |type | username | defaultAdmin |
info: Executing: |type | password | Password |
info: Executing: |clickAndWait | loginSubmitMode |  |
info: Executing: |comment | After logging in, we go to the Data Property Hierarchy page, as intended. |  |
info: Executing: |verifyTitle | Data Property Hierarchy |  |
warn: currentTest.recordFailure: Actual value 'Apache Tomcat/6.0.24 - Error report' did not match 'Data Property Hierarchy'
info: Executing: |verifyTextPresent | Data Property Hierarchy |  |
warn: currentTest.recordFailure: false
info: Executing: |comment | Log out |  |
info: Executing: |click | link=Log out |  |
error: Element link=Log out not found
warn: currentTest.recordFailure: Element link=Log out not found