Test Cases Administration Roles
1.0 Test Create a New Role with Customized Permissions
Step ID | Description | Precondition | Expected Results | Actual Results | Pass/Fail | Notes |
#1 | Connect to the OSCAR main page | 1. OSCAR McMaster Test Version 12.1, system and DB up and running. 2. OSCAR user is registered and have the correct credentials to login | OSCAR login page is opened | |||
#2 | Log In | Oscar welcome page prompts user to Enter credentials (User Name / Password) | By entering right credentials user is getting system verification acceptance. Once logged in, user is redirected to the Appointment screen with various OSCAR options | |||
#3 | Access Admin screen from Appointment screen | Click on Administration Tab on the top navigation bar | Admin page appears in a new window | |||
#4 | Access Add a Role page | Select System Management → Add a Role | Add/Edit Role page appears in a new window | |||
#5 | Search role name | Enter a potential new role name and search the database to check to see if this role already exists. If it does not than message displays “It is a new role. You can add it” | If role does not exists in the database than message displays “It is a new rile. You can add it” | |||
#6 | Add Role | Click on Save button | Role is added in the list | |||
#7 | Access Add a Role page Assign Role/ Rights to Object | Select System management → Assign Role/ Rights to Object | Assign Role/ Rights to object | |||
#8 | Customize permissions to the role | Select the new OSCAR role in the top drop down menu and assign Role rights to Object | Access rights are assigned to Role | |||
#9 | Role access rights will apply to all members of that role | Verify that changes applied to a role with apply to all members of the role | Changes applied to a role will apply to all members of that role |
1.1 Test Assign Multiple Roles to User
Step ID | Description | Precondition | Expected Results | Actual Results | Pass/Fail | Notes |
#0 | Pre-condition: Role is assigned to user | |||||
#1 | Connect to the OSCAR main page | 1. OSCAR McMaster Test Version 12.1, system and DB up and running. 2. OSCAR user is registered and have the correct credentials to login | OSCAR login page is opened | |||
#2 | Log In | Oscar welcome page prompts user to Enter credentials (User Name / Password) | By entering right credentials user is getting system verification acceptance. Once logged in, user is redirected to the Appointment screen with various OSCAR options | |||
#3 | Access Admin screen from Appointment screen | Click on Administration Tab on the top navigation bar | Admin page appears in a new window | |||
#4 | Access Assign Role to provider page | Select User Management → Assign Role to Provider | Provider page appears in a new window | |||
#5 | Add multiple roles to the user | Click on Add button in action column | Multiple role is assigned to the user |
1.2 Test Access Controls to Functions/Data Based on Roles
Step ID | Description | Precondition | Expected Results | Actual Results | Pass/Fail | Notes |
#0 | Pre-condition: Role is added | |||||
#1 | Connect to the OSCAR main page | 1. OSCAR McMaster Test Version 12.1, system and DB up and running. 2. OSCAR user is registered and have the correct credentials to login | OSCAR login page is opened | |||
#2 | Log In | Oscar welcome page prompts user to Enter credentials (User Name / Password) | By entering right credentials user is getting system verification acceptance. Once logged in, user is redirected to the Appointment screen with various OSCAR options | |||
#3 | Access Admin screen from Appointment screen | Click on Administration Tab on the top navigation bar | Admin page appears in a new window | |||
#4 | Access Assign Role/Rights to Oblect page | Select User Management → Assign Role/Rights to Object | Role/ Privilege List page appears in a new window | |||
#5 | Select Role/ Privilege Role | Choose from the drop down menus for role to modify, then click the check boxes of the objects and privileges to assign to them | Roles/ Privileges are selected | |||
#6 | Add Role/ Privilege Role | Click on Add button | Role/ Privilege Role is added | |||
#7 | Access controls to functions/data can be based on roles | Verify that access controls to functions/data can be based on roles | Access controls to functions/data can be based on roles |
1.3 Test Access Controls to Functions/ Data Based on Individual Users
Step ID | Description | Precondition | Expected Results | Actual Results | Pass/Fail | Notes |
#0 | Pre-condition: Role is added | |||||
#1 | Connect to the OSCAR main page | 1. OSCAR McMaster Test Version 12.1, system and DB up and running. 2. OSCAR user is registered and have the correct credentials to login | OSCAR login page is opened | |||
#2 | Log In | Oscar welcome page prompts user to Enter credentials (User Name / Password) | By entering right credentials user is getting system verification acceptance. Once logged in, user is redirected to the Appointment screen with various OSCAR options | |||
#3 | Access Admin screen from Appointment screen | Click on Administration Tab on the top navigation bar | Admin page appears in a new window | |||
#4 | Access Assign Role/Rights to Oblect page | Select User Management → Assign Role/Rights to Object | Role/ Privilege List page appears in a new window | |||
#5 | Select Role/ Privilege Role | Choose from the drop down menus for provider to modify, then click the check boxes of the objects and privileges to assign to them | Roles/ Privileges are selected | |||
#6 | Add Role/ Privilege Role | Click on Add button | Role/ Privilege Role is added | |||
#7 | Access controls to functions/data can be based on individual users | Verify that Access controls to functions/data can be based on individual users | Access controls to functions/data can be based on individual users |