Micro Focus QTP (UFT) Forums
how to no which object fail - 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: how to no which object fail (/Thread-how-to-no-which-object-fail)



how to no which object fail - ashuniks - 12-18-2008

hi ankur and all
i m using recovery scenario in my Test case ,due to which i m able to bypass any error that might came in my test case, but how could i find out where the actually occur,i mean which object fail, do we have any method in QTP to solve this problem


RE: how to no which object fail - Ankur - 12-18-2008

You can report those errors using Reporter.ReporterEvent object... is that what you are looking for?


RE: how to no which object fail - ashuniks - 12-23-2008

thanks ankur
but the problem is that i dont know on which position my test fail, how can i use Reporter.reportEvent object
shall i use it every where?????????