Writing checkpoint to output file - need help - Printable Version +- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums) +-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP) +--- Forum: UFT / QTP Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners) +--- Thread: Writing checkpoint to output file - need help (/Thread-Writing-checkpoint-to-output-file-need-help) |
Writing checkpoint to output file - need help - dublinsox - 08-15-2012 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 |