Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to capture QTPs results for each step
#2
Not Solved
Couldn't you just say...
Code:
If ..("Window"). ..("Screen"). ..("Field"). = "desired result" Then
DataTable("Results1", dtGlobalSheet) = "Pass"
Else
DataTable("Results1", dtGlobalSheet) = "Fail"
End If
..("Window"). ..("Screen"). ..("Field"). Output CheckPoint("Details1", dtGlobalSheet)

I've used this simple 'if' statement to do something similar to what you want.

The other way I can think of is to use QC to run the test from. QC will store the results and the details it used to pass/fail that test for each step.

I hope this helped.
Reply


Messages In This Thread
RE: How to capture QTPs results for each step - by Osbornebckk - 07-24-2009, 07:44 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  QTP does not record the first step of open filight reservation application. Blossoms 9 17,383 07-20-2015, 05:50 PM
Last Post: AJAJ
  step by step report shipu 0 2,066 08-06-2014, 02:21 AM
Last Post: shipu
  which is the final step of automation in QTP? Ramadas 6 3,529 10-29-2013, 04:31 PM
Last Post: Sathiya
  QTP is not recording the first step of opening Flight reservation app srinanduri 2 2,986 08-06-2013, 09:59 PM
Last Post: srinanduri
  How to continue test after it fails a step sqadri 4 4,369 01-20-2012, 10:02 PM
Last Post: sqadri

Forum Jump:


Users browsing this thread: 1 Guest(s)