![]() |
Successful test not being marked as Pass - 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: Successful test not being marked as Pass (/Thread-Successful-test-not-being-marked-as-Pass) |
Successful test not being marked as Pass - pufftmd - 02-08-2011 All, Having problems with a test I have created, the code is opening up a website, navigation though a number of items (text box, buttons) and waits for a report to load. Once loaded I would like to get the results to pass. Problem Presently the test is running though completed looking at the test results but for some reason is not getting a successful "Pass". Any advice? RE: Successful test not being marked as Pass - manishbhalshankar - 02-08-2011 Hi Pufftmd, You wont get Pass in the results unless you have a checkpoint or reporter event in your script. Check for the existance of your Report and fire Reporter.ReportEvent to get Pass/Fail entry in the results. RE: Successful test not being marked as Pass - pufftmd - 02-08-2011 Thank you for your prompt reply, i've taken on this with not much experience with this. We've used previous reports and amended these with no issue and pass/warning/failure have been logged with no issue without this Reporter.ReportEvent which has confused me a little lol. Is this something new to QTP 10.00? RE: Successful test not being marked as Pass - pufftmd - 02-08-2011 Just a quick update, I've amended the script using: Code: Reporter.ReportEvent micPass, "StepName", "Details" Thank you for your assistance on this. |