Test suite results

result: failed
totalTime: 64
numTestTotal: 3
numTestPasses: 2
numTestFailures: 1
numCommandPasses: 7
numCommandFailures: 0
numCommandErrors: 1
Selenium Version: 2.7
Selenium Revision: .0
Test Suite
Login as Super User
Create and Modify Group
ParentGroupTest
 
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/CreateModifyGroup.html
Create and Modify Group
setSpeed 1000
store javascript{Math.floor(Math.random()*11000)} randomSuffix
open index.php/configuration
waitForPageToLoad
assertTextPresent Users - Manage Users
clickAndWait //div[@id='ConfigureModulesMenuView']/ul/li[10]/a/span
clickAndWait //div[@id='SecuredActionBarForSearchAndListView']/div/div/a[1]
select UserPasswordForm_title_value label=Mr.
type UserPasswordForm_firstName Jhon
type UserPasswordForm_lastName Smith${randomSuffix}
type UserPasswordForm_username jhon smith${randomSuffix}
type UserPasswordForm_newPassword abc123
type UserPasswordForm_newPassword_repeat abc123
clickAndWait save
assertText link=Edit Edit
assertText //div[@id='UserDetailsView']/div/div/table/tbody/tr[1]/td[1] Actual value '' did not match 'Mr. Jhon Smith5811'
open index.php/zurmo/group
waitForPageToLoad
clickAndWait //div[@id='ActionBarForGroupsTreeListView']/div/div/a
waitForPageToLoad
type Group_name TestGroup${randomSuffix}
clickAndWait save
waitForPageToLoad
verifyTextPresent TestGroup${randomSuffix}
clickAndWait link=User Membership
waitForPageToLoad
addSelection edit-form_userNonMembershipData label=Jhon Smith${randomSuffix}
click yw1moveRight
addSelection edit-form_userNonMembershipData label=Sally Smith
click yw1moveRight
clickAndWait save
waitForPageToLoad
verifyTextPresent Groups Home / TestGroup${randomSuffix} / Edit
clickAndWait link=User Membership
waitForPageToLoad
verifyTextPresent Jhon Smith${randomSuffix}
removeSelection edit-form_userMembershipData label=Jhon Smith${randomSuffix}
addSelection edit-form_userMembershipData label=Sally Smith
verifyTextPresent Sally Smith
clickAndWait link=Cancel
waitForPageToLoad
clickAndWait link=Module Permissions
waitForPageToLoad
select ModulePermissionsForm_AccountsModule__1_value label=All
select ModulePermissionsForm_AccountsModule__2_value label=Owner Only
select ModulePermissionsForm_AccountsModule__4_value label=Owner Only
select ModulePermissionsForm_ContactsModule__1_value label=All
clickAndWait save
waitForPageToLoad
verifyTextPresent Groups Home / TestGroup${randomSuffix} / Edit
clickAndWait link=Module Permissions
waitForPageToLoad
assertSelectedLabel ModulePermissionsForm_AccountsModule__1_value All
assertSelectedLabel ModulePermissionsForm_AccountsModule__2_value Owner Only
assertSelectedLabel ModulePermissionsForm_AccountsModule__4_value Owner Only
assertSelectedLabel ModulePermissionsForm_ContactsModule__1_value All
assertSelectedLabel ModulePermissionsForm_ContactsModule__2_value Not Set - Ad-hoc / Owner
assertSelectedLabel ModulePermissionsForm_ContactsModule__4_value Not Set - Ad-hoc / Owner
clickAndWait link=Cancel
waitForPageToLoad
clickAndWait link=Rights
waitForPageToLoad
assertSelectedLabel RightsForm_AccountsModule__RIGHT_CREATE_ACCOUNTS_value Inherited - Allow
assertSelectedLabel RightsForm_LeadsModule__RIGHT_CREATE_LEADS_value Inherited - Allow
assertSelectedLabel RightsForm_UsersModule__RIGHT_LOGIN_VIA_WEB_value Inherited - Allow
select RightsForm_AccountsModule__RIGHT_CREATE_ACCOUNTS_value label=Allow
select RightsForm_LeadsModule__RIGHT_CREATE_LEADS_value label=Allow
select RightsForm_UsersModule__RIGHT_LOGIN_VIA_WEB_value label=Allow
clickAndWait save
waitForPageToLoad
verifyTextPresent Groups Home / TestGroup${randomSuffix} / Edit
clickAndWait link=Rights
waitForPageToLoad
assertSelectedLabel RightsForm_AccountsModule__RIGHT_CREATE_ACCOUNTS_value Allow
assertSelectedLabel RightsForm_LeadsModule__RIGHT_CREATE_LEADS_value Allow
assertSelectedLabel RightsForm_ContactsModule__RIGHT_CREATE_CONTACTS_value Inherited - Allow
assertSelectedLabel RightsForm_UsersModule__RIGHT_LOGIN_VIA_WEB_value Allow
clickAndWait link=Cancel
waitForPageToLoad
clickAndWait link=Policies
waitForPageToLoad
assertSelectedLabel PoliciesForm_UsersModule__POLICY_ENFORCE_STRONG_PASSWORDS_value Not Set
assertSelectedLabel PoliciesForm_UsersModule__POLICY_MINIMUM_PASSWORD_LENGTH__helper Not Set
assertSelectedLabel PoliciesForm_UsersModule__POLICY_MINIMUM_USERNAME_LENGTH__helper Not Set
assertSelectedLabel PoliciesForm_UsersModule__POLICY_PASSWORD_EXPIRES_value Not Set
select PoliciesForm_UsersModule__POLICY_ENFORCE_STRONG_PASSWORDS_value label=Yes
select PoliciesForm_UsersModule__POLICY_MINIMUM_PASSWORD_LENGTH__helper label=Yes
select PoliciesForm_UsersModule__POLICY_MINIMUM_USERNAME_LENGTH__helper label=Yes
select PoliciesForm_UsersModule__POLICY_PASSWORD_EXPIRES_value label=Yes
type PoliciesForm_UsersModule__POLICY_MINIMUM_PASSWORD_LENGTH 5
type PoliciesForm_UsersModule__POLICY_MINIMUM_USERNAME_LENGTH 5
type PoliciesForm_UsersModule__POLICY_PASSWORD_EXPIRES 30
clickAndWait save
waitForPageToLoad
verifyTextPresent Groups Home / TestGroup${randomSuffix} / Edit
waitForPageToLoad
clickAndWait link=Policies
waitForPageToLoad
assertSelectedLabel PoliciesForm_UsersModule__POLICY_ENFORCE_STRONG_PASSWORDS_value Yes
assertSelectedLabel PoliciesForm_UsersModule__POLICY_MINIMUM_PASSWORD_LENGTH__helper Yes
assertSelectedLabel PoliciesForm_UsersModule__POLICY_MINIMUM_USERNAME_LENGTH__helper Yes
assertSelectedLabel PoliciesForm_UsersModule__POLICY_PASSWORD_EXPIRES_value Yes
assertValue PoliciesForm_UsersModule__POLICY_PASSWORD_EXPIRES 30
assertValue PoliciesForm_UsersModule__POLICY_MINIMUM_USERNAME_LENGTH 5
assertValue PoliciesForm_UsersModule__POLICY_MINIMUM_PASSWORD_LENGTH 5
open index.php/users/default
waitForPageToLoad
verifyTextPresent Users Home
verifyTextPresent Advanced
type UsersSearchForm_anyMixedAttributes jhon smith${randomSuffix}
waitForTextPresent Jhon Smith${randomSuffix}
assertText link=Jhon Smith${randomSuffix} Jhon Smith${randomSuffix}
clickAndWait link=Jhon Smith${randomSuffix}
waitForPageToLoad
clickAndWait link=Security
waitForPageToLoad
verifyTextPresent Groups
verifyTextPresent Group Rights
verifyTextPresent Group Policies
verifyTextPresent Group Module Permissions
assertTextPresent Jhon Smith${randomSuffix}
assertText //div[@id='RightsEditAndDetailsView']/div/div[1]/table/tbody/tr[1]/td Allow
assertText //div[@id='RightsEditAndDetailsView']/div/div[1]/table/tbody/tr[2]/td Allow
assertText //div[@id='RightsEditAndDetailsView']/div/div[2]/table/tbody/tr[1]/td Allow
assertText //div[@id='RightsEditAndDetailsView']/div/div[2]/table/tbody/tr[2]/td Allow
assertText //div[@id='RightsEditAndDetailsView']/div/div[3]/table/tbody/tr[1]/td Deny
assertText //div[@id='RightsEditAndDetailsView']/div/div[9]/table/tbody/tr[2]/td Allow
assertText //div[@id='PoliciesEditAndDetailsView']/div/div/table/tbody/tr[1]/td Yes
assertText //div[@id='PoliciesEditAndDetailsView']/div/div/table/tbody/tr[2]/td 5
assertText //div[@id='PoliciesEditAndDetailsView']/div/div/table/tbody/tr[3]/td 5
assertText //div[@id='PoliciesEditAndDetailsView']/div/div/table/tbody/tr[4]/td Yes, every 30 day(s)
assertText //div[@id='ModulePermissionsEditAndDetailsView']/div/table/tbody/tr[2]/td[1] All
assertText //div[@id='ModulePermissionsEditAndDetailsView']/div/table/tbody/tr[3]/td[1] All
assertText //div[@id='ModulePermissionsEditAndDetailsView']/div/table/tbody/tr[4]/td[1] Ad-hoc / Owner
assertText //div[@id='ModulePermissionsEditAndDetailsView']/div/table/tbody/tr[2]/td[2] Owner Only
assertText //div[@id='ModulePermissionsEditAndDetailsView']/div/table/tbody/tr[3]/td[2] Ad-hoc / Owner
assertText //div[@id='ModulePermissionsEditAndDetailsView']/div/table/tbody/tr[2]/td[3] Owner Only
assertText //div[@id='ModulePermissionsEditAndDetailsView']/div/table/tbody/tr[3]/td[3] Ad-hoc / Owner
open index.php/zurmo/group
waitForPageToLoad
clickAndWait link=TestGroup${randomSuffix}
waitForPageToLoad
click link=Delete Group
assertConfirmation Are you sure you want to remove this group?
waitForPageToLoad
open index.php/users/default
waitForPageToLoad
verifyTextPresent Advanced
type UsersSearchForm_anyMixedAttributes jhon smith${randomSuffix}
keyUp UsersSearchForm_anyMixedAttributes \10
waitForTextPresent Jhon Smith${randomSuffix}
assertText link=Jhon Smith${randomSuffix} Jhon Smith${randomSuffix}
clickAndWait link=Jhon Smith${randomSuffix}
waitForPageToLoad
clickAndWait link=Security
waitForPageToLoad
assertTextNotPresent TestGroup${randomSuffix}
assertTextPresent Everyone
assertText //div[@id='PoliciesEditAndDetailsView']/div/div/table/tbody/tr[1]/td No
assertText //div[@id='PoliciesEditAndDetailsView']/div/div/table/tbody/tr[4]/td No
assertText //div[@id='ModulePermissionsEditAndDetailsView']/div/table/tbody/tr[2]/td[1] Ad-hoc / Owner
assertText //div[@id='ModulePermissionsEditAndDetailsView']/div/table/tbody/tr[3]/td[1] Ad-hoc / Owner
assertText //div[@id='ModulePermissionsEditAndDetailsView']/div/table/tbody/tr[4]/td[1] Ad-hoc / Owner
assertText //div[@id='ModulePermissionsEditAndDetailsView']/div/table/tbody/tr[2]/td[2] Ad-hoc / Owner
assertText //div[@id='ModulePermissionsEditAndDetailsView']/div/table/tbody/tr[3]/td[2] Ad-hoc / Owner
assertText //div[@id='ModulePermissionsEditAndDetailsView']/div/table/tbody/tr[4]/td[2] Ad-hoc / Owner
assertText //div[@id='ModulePermissionsEditAndDetailsView']/div/table/tbody/tr[2]/td[3] Ad-hoc / Owner
assertText //div[@id='ModulePermissionsEditAndDetailsView']/div/table/tbody/tr[3]/td[3] Ad-hoc / Owner
assertText //div[@id='RightsEditAndDetailsView']/div/div[1]/table/tbody/tr[1]/td Allow
assertText //div[@id='RightsEditAndDetailsView']/div/div[1]/table/tbody/tr[2]/td Allow
assertText //div[@id='RightsEditAndDetailsView']/div/div[2]/table/tbody/tr[1]/td Allow
assertText //div[@id='RightsEditAndDetailsView']/div/div[2]/table/tbody/tr[2]/td Allow
assertText //div[@id='RightsEditAndDetailsView']/div/div[3]/table/tbody/tr[1]/td Deny
assertText //div[@id='RightsEditAndDetailsView']/div/div[9]/table/tbody/tr[2]/td Allow
 
cases/ParentGroupTest.html
ParentGroupTest
setSpeed 1000
store javascript{Math.floor(Math.random()*11000)} parentrandomSuffix
store javascript{Math.floor(Math.random()*11000)} childrandomSuffix
open index.php/zurmo/group
waitForPageToLoad
clickAndWait //div[@id='ActionBarForGroupsTreeListView']/div/div/a
waitForPageToLoad
type Group_name TestGroup${parentrandomSuffix}
clickAndWait save
waitForPageToLoad
assertText //div[@id='GroupBreadCrumbView']/div/a[2] TestGroup${parentrandomSuffix}
open index.php/zurmo/group
waitForPageToLoad
clickAndWait //div[@id='ActionBarForGroupsTreeListView']/div/div/a
waitForPageToLoad
type Group_name TestGroup${childrandomSuffix}
click Group_group_SelectLink
waitForTextPresent Select a Parent Group
click link=TestGroup${parentrandomSuffix}
waitForValue Group_group_name TestGroup${parentrandomSuffix}
clickAndWait save
waitForPageToLoad
assertTextPresent TestGroup${childrandomSuffix}
verifyValue Group_group_name TestGroup${parentrandomSuffix}
clickAndWait //div[@id='MenuView']/ul/li[4]/ul/li[2]/a/span[2]
waitForPageToLoad
clickAndWait link=TestGroup${childrandomSuffix}
waitForPageToLoad
assertTextPresent TestGroup${childrandomSuffix}
verifyValue Group_group_name TestGroup${parentrandomSuffix}
 
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/CreateModifyGroup.html
info: Executing: |setSpeed | 1000 |  |
info: Executing: |store | javascript{Math.floor(Math.random()*11000)} | randomSuffix |
info: Executing: |open | index.php/configuration |  |
info: Executing: |waitForPageToLoad |  |  |
info: Executing: |assertTextPresent | Users - Manage Users |  |
info: Executing: |clickAndWait | //div[@id='ConfigureModulesMenuView']/ul/li[10]/a/span |  |
info: Executing: |clickAndWait | //div[@id='SecuredActionBarForSearchAndListView']/div/div/a[1] |  |
info: Executing: |select | UserPasswordForm_title_value | label=Mr. |
info: Executing: |type | UserPasswordForm_firstName | Jhon |
info: Executing: |type | UserPasswordForm_lastName | Smith${randomSuffix} |
info: Executing: |type | UserPasswordForm_username | jhon smith${randomSuffix} |
info: Executing: |type | UserPasswordForm_newPassword | abc123 |
info: Executing: |type | UserPasswordForm_newPassword_repeat | abc123 |
info: Executing: |clickAndWait | save |  |
info: Executing: |assertText | link=Edit | Edit |
info: Executing: |assertText | //div[@id='UserDetailsView']/div/div/table/tbody/tr[1]/td[1] | Mr. Jhon Smith${randomSuffix} |
error: Actual value '' did not match 'Mr. Jhon Smith5811'
warn: currentTest.recordFailure: Actual value '' did not match 'Mr. Jhon Smith5811'
info: Starting test /selenium-server/tests/cases/ParentGroupTest.html
info: Executing: |setSpeed | 1000 |  |
info: Executing: |store | javascript{Math.floor(Math.random()*11000)} | parentrandomSuffix |
info: Executing: |store | javascript{Math.floor(Math.random()*11000)} | childrandomSuffix |
info: Executing: |open | index.php/zurmo/group |  |
info: Executing: |waitForPageToLoad |  |  |
info: Executing: |clickAndWait | //div[@id='ActionBarForGroupsTreeListView']/div/div/a |  |
info: Executing: |waitForPageToLoad |  |  |
info: Executing: |type | Group_name | TestGroup${parentrandomSuffix} |
info: Executing: |clickAndWait | save |  |
info: Executing: |waitForPageToLoad |  |  |
info: Executing: |assertText | //div[@id='GroupBreadCrumbView']/div/a[2] | TestGroup${parentrandomSuffix} |
info: Executing: |open | index.php/zurmo/group |  |
info: Executing: |waitForPageToLoad |  |  |
info: Executing: |clickAndWait | //div[@id='ActionBarForGroupsTreeListView']/div/div/a |  |
info: Executing: |waitForPageToLoad |  |  |
info: Executing: |type | Group_name | TestGroup${childrandomSuffix} |
info: Executing: |click | Group_group_SelectLink |  |
info: Executing: |waitForTextPresent | Select a Parent Group |  |
info: Executing: |click | link=TestGroup${parentrandomSuffix} |  |
info: Executing: |waitForValue | Group_group_name | TestGroup${parentrandomSuffix} |
info: Executing: |clickAndWait | save |  |
info: Executing: |waitForPageToLoad |  |  |
info: Executing: |assertTextPresent | TestGroup${childrandomSuffix} |  |
info: Executing: |verifyValue | Group_group_name | TestGroup${parentrandomSuffix} |
info: Executing: |clickAndWait | //div[@id='MenuView']/ul/li[4]/ul/li[2]/a/span[2] |  |
info: Executing: |waitForPageToLoad |  |  |
info: Executing: |clickAndWait | link=TestGroup${childrandomSuffix} |  |
info: Executing: |waitForPageToLoad |  |  |
info: Executing: |assertTextPresent | TestGroup${childrandomSuffix} |  |
info: Executing: |verifyValue | Group_group_name | TestGroup${parentrandomSuffix} |