How to tell the QTP that when a particular statement is "false"

by RentTesters on June 22, 2011

How to tell the QTP that when a particular statement is “false”,it should flag it as, test failed and show in in the test report.
In short how to tell the qtp that a test is false from the script so that it shows it in the report
For Eg:-
if(true)

test passed // how to instruct qtp
else
test failed // how to instruct qtp

#SQASolutionShare on FacebookShare on Google+Share on LinkedInTweet about this on TwitterEmail this to someone

Previous post:

Next post: