| || |
Customise Log File
I am new to TP. But has worked on QTP and Wr.
My problem is I want to customize log file by sending some messages to it. like "Step 1: Pass" or "Step 2: Fail" etc with condition in the script. like if check passes then print "Step 1: Pass" in Log.
Can you please guide me how to do the above action.
Thanks in advance
Re: Customise Log File
See UserCheck in help:
usercheck "checkname", TRUE, "This is the pass comment"
usercheck "checkname", FALSE, "This is the fail comment"