| || |
Pass/Fail criteria in result log
I want to have a customized report.
In QTP i can do this by the command
Reporter.Reportevent micPass ,"stepname" ,"Description"
Now this will be Marked in red and shown in report message.
In simmilar way is there any command in TP.
i tried to use 'TestPartner.TestLog.Comment '
This is just passing the comment. but it was not able to differantiate between pass and fail statements.
Re: Pass/Fail criteria in result log
You need to use a UserCheck. You can use it with an if else statement to pass and fail things as needed.