08-09-2011, 08:03 PM
Hi ,
can any one give me an idea how to proceed with the script for this particulat test case.
i have certain links to be checked in a particular web page. but the links differ with different user login. how can i check if correct links are shown for correct user.
my scenario goes like this..
i login with administration rights and give User1 certain permissions so that he can access Link 1, Link 2 and Link 3. check all the links are working fine and log out.
Again i login with Administartion rights and for same user, i remove previous permisions and give new permissions , where he can access Link 2, Link4, Link5 and so on...
I have 20 permissions and 30-35 links to be checked.
how can i loop them so that it saves my time in writing lenghty script.
I planned to write an action for each permission and check if link exists for that particular permission. so i will have 20 actions and all called to a main action. with this script viewing results are quiet confusing and time taking when something fails. if this is a feasible method then i need a solution to view my resutls organized.
please provide me your ideas.
can any one give me an idea how to proceed with the script for this particulat test case.
i have certain links to be checked in a particular web page. but the links differ with different user login. how can i check if correct links are shown for correct user.
my scenario goes like this..
i login with administration rights and give User1 certain permissions so that he can access Link 1, Link 2 and Link 3. check all the links are working fine and log out.
Again i login with Administartion rights and for same user, i remove previous permisions and give new permissions , where he can access Link 2, Link4, Link5 and so on...
I have 20 permissions and 30-35 links to be checked.
how can i loop them so that it saves my time in writing lenghty script.
I planned to write an action for each permission and check if link exists for that particular permission. so i will have 20 actions and all called to a main action. with this script viewing results are quiet confusing and time taking when something fails. if this is a feasible method then i need a solution to view my resutls organized.
please provide me your ideas.