Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
PASS/FAIL in QTP
#1
Not Solved
Let me explain the problem using an example. Lets say I have to validate a login functionality in a web page. Login is success for "login" and "passwd123" user credentials and for rest throws error message.
In the script using Data Driven I try to login using various users. For a valid user, on login success I check the text and if exists I report a message with PASS else FAIL.

Now my question is when I manually execute this test case, when the valid user is allowed to login and for the rest it throws a message. I PASS this test case.

when I run this data driven script with same logic, the QTP summarized result shows FAILED though the script completed successfully.

what is the correct approach. How to go about handling PASS/FAIL in QTP script.
Reply


Messages In This Thread
PASS/FAIL in QTP - by badri - 11-29-2014, 09:40 AM
RE: PASS/FAIL in QTP - by supputuri - 12-01-2014, 06:15 PM
RE: PASS/FAIL in QTP - by badri - 12-02-2014, 09:55 AM
RE: PASS/FAIL in QTP - by kiranpol - 12-05-2014, 03:26 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  To send Fail Results to mail Naresh 1 2,535 04-23-2015, 08:30 PM
Last Post: babu123
  Fail when running multiple actions in QC crissbbbm 0 2,608 08-29-2013, 07:52 PM
Last Post: crissbbbm
  how to pass the data frm datatable silpavinod 3 3,956 10-18-2012, 01:54 PM
Last Post: silpavinod
  how to pass a numeric value into webedit silpavinod 3 3,863 10-15-2012, 01:57 PM
Last Post: silpavinod
  Pass specific design steps in QC through QTP TurtleRock 0 1,740 09-06-2012, 01:23 PM
Last Post: TurtleRock

Forum Jump:


Users browsing this thread: 1 Guest(s)