Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Writing checkpoint to output file - need help
#1
Not Solved
I am capturing some text in a checkpoint and I want to write it to an output file. I am at the stage where I can write my own text to the file but not the captured checkpoint text.

This is what I have:

QTPout2.WriteLine "Policy Number is: ", Value (Check Checkpoint("Premium Details"))

I have captured the "Premium Details" checkpoint and that displays in the run results report. "Policy Number is: " gets written to the output file, but I cannot get the value of the checkpoint to write to the output file. The code above gives a Type Mismatch error.

Does anyone have the proper syntax or method for this?

Thanks.
DublinSox
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  How to export the output value of a webedit object to a new excel file. mounika6677 1 1,346 04-14-2019, 05:18 PM
Last Post: mounika6677
  Writing to Run time data table Neetha 5 11,699 08-27-2015, 10:18 AM
Last Post: supputuri
  Writing values to DataTable chewbecca 2 2,993 04-09-2015, 05:48 PM
Last Post: chinnikrishna
  Output Values error Tasleem 3 3,745 10-27-2014, 02:13 PM
Last Post: Tasleem786
  Reading and writing is the same text file poulomi21b 2 5,869 07-08-2014, 12:39 PM
Last Post: poulomi21b

Forum Jump:


Users browsing this thread: 1 Guest(s)