Can I add a reporter event to a checkpoint - 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: Can I add a reporter event to a checkpoint (/Thread-Can-I-add-a-reporter-event-to-a-checkpoint) |
Can I add a reporter event to a checkpoint - laura - 08-03-2009 How can I add a report. reporter event to a checkpoint?? RE: Can I add a reporter event to a checkpoint - Saket - 08-04-2009 CheckPoint in QTP itself has the Reporter.Reportevent that goes to the test result as Pass or Fail. You will not be able to alter this. Let us know exactly what do you want to do, may be some more detail will help. RE: Can I add a reporter event to a checkpoint - basanth27 - 08-05-2009 Laura - Yes you can add. I hope this is what you are looking at, Code: Chkstat = Browser("Google").Page("Google").Check (CheckPoint("Google")) -basanth RE: Can I add a reporter event to a checkpoint - laura - 08-05-2009 Yes. Thanks RE: Can I add a reporter event to a checkpoint - Saket - 08-05-2009 Is it - Laura? I thought you want to use reporter.reportevent with checkpoint as mentioned in your question. RE: Can I add a reporter event to a checkpoint - manabh - 08-05-2009 Hi, CheckPoint statement in QTP returns a boolean value. You can verify the return value & put reporter.reportevent statement accordingly eg. Code: If Browser("Google").Page("Google").Check (CheckPoint("Google")) then ...continue... When you will see the result you will find the same case has been reported twice. First by the "CheckPoint" statement & other by "Reporter.ReportEvent" statement RE: Can I add a reporter event to a checkpoint - laura - 08-05-2009 Done. thanks for your help |