Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Negative Tests - Checking for links which should NOT be present.
#1
Solved: 10 Years, 9 Months, 2 Weeks ago
I am total newbie and I am playing with QTP and I would like some help. I am running some tests on a website. The website has a logon with different classes of user. An "Admin" user has access to a host of links which enable the administration of the site, a "ReadOnly" user has a limited number of links available. Once logged in as a "ReadOnly" user how do I check that the links which are available to an "Admin" user are NOT available to a "ReadOnly" user ?

I have set up some standard checkpoints on the additional links when logged in as "Admin" but when I use these same checkpoint when logged in as "ReadOnly" it complains the object is not available.

What is the best way to test this scenario ?

Any help would be appreciated.
Reply


Messages In This Thread
Negative Tests - Checking for links which should NOT be present. - by Kartal - 12-09-2010, 03:17 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Adding negative amount in webedit Rose 1 2,011 06-30-2016, 09:34 PM
Last Post: babu123
  [UFT] Fixed web tests with dynamic parts jdd 3 2,447 04-05-2016, 02:56 PM
Last Post: vinod123
  How to check expected cookies are present or not priyanka.agarwal 0 1,877 07-02-2015, 12:43 PM
Last Post: priyanka.agarwal
  This code does not give total no of links present on page plz help it returns 0 excellentpawan 8 5,299 01-17-2015, 07:49 PM
Last Post: yogi4tech
  how to get a link present under mouseover action priyadarisini 1 2,177 12-03-2013, 08:59 PM
Last Post: Parke

Forum Jump:


Users browsing this thread: 1 Guest(s)