We are going to test different users logon for a Oracle application.
- User 1 can access Function A only
- User 2 can access both Function A & B
- User 3 can access Function B & C
- User 4 can access all Function A, B, C & D
We have over 10 different users logon.
Does anyone know better testing approach?
Besides the tradition way write test case 1 by 1 for each user?
Are you automationg it ?
If you are you can separate the functionality (steps) from the data and make it datadriven.
Do users belong to groups or is authorization for functions managed for each user?
Are the functions grouped or is authorization managed for each function?
How many different functions are there?
Tim Van Tongeren
Why not try multi-user testing.
As per me, you have to follow traditional method which we used to have in manual testing. You have just automate this portion. Without login into the application with a user, availability of rights to him cannot be verified.
A highly advanced bug is indistinguishable from a feature.
You may have more that just individual user access to worry about if any of these users with higher rights can assign rights to lower users.
You would then have to ensure the assigned rights are effective.
The first time 'round will be very time consuing but then automating as much as you can will be a great benefit.
There's little success whers there's little laughter Andrew Carnegie.
If it's going to be Manual Testing no other go U have to do at least
One positive(user has access to that screen) & One negative (user doesn't have access to that screen)
If it's going to be Automated Testing :
U can create a function with parameters as Login name,Password,Hyperlink(navigate to specific screen)
U can have it like this
function <function name>(login name,password,Hyperlink)
enter login name
rc= click on the hyperlink
if the rc=0 the functionality passed and failed other wise (for positive condition) visversa for negative condition
as U have said u have to test for number of logins ...maintain an Xl sheet which has username ,Password ,hyperlink (both positive and negative ..and data driven the test
now u will have only max of 10 line code to test all the Roles & Responsibilities
You might want to check the actual contents of the page returned too! [img]images/icons/grin.gif[/img]