Micro Focus QTP (UFT) Forums
QTP 9.2 Issue : QTP is not showing run error pop up messages - 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 Others (https://www.learnqtp.com/forums/Forum-UFT-QTP-Others)
+--- Thread: QTP 9.2 Issue : QTP is not showing run error pop up messages (/Thread-QTP-9-2-Issue-QTP-is-not-showing-run-error-pop-up-messages)



QTP 9.2 Issue : QTP is not showing run error pop up messages - chnareshkumar - 09-23-2010

Hi ,

QTP is not showing run error pop up messages.

I am facing this issue. When I checked the File -> Settings , those settings are fine.

When Error occurs.. It should show some pop-up message. But I am not able to see that and it is exiting from the script.

Please let me know those setup,s.

Please do the needful as it is very urgent.

Thanks & Regards,
Naresh


RE: QTP 9.2 Issue : QTP is not showing run error pop up messages - supputuri - 09-23-2010

HI Naresh,

1) Make sure that you have selected "Popup Message Box" under the "File --> Settings -->Run
2) Make sure that you don't have had "ExitTest()" line in the error loop in your script, which will exit the script.

Let me your inference.


RE: QTP 9.2 Issue : QTP is not showing run error pop up messages - chnareshkumar - 09-23-2010

Hi Supputuri,

Thanks for your reply.

Already that setting has been done and no exit_test() function is there in the script.

While executing the script, If an object is not able to identify, then it will popup a window with the buttons.. Skip,Retry,Stop Run, Debug etc.,

Here I am not getting the window. When I checked with my friend (Actually we are working on the same server) , he is able to get the window. From my login, I am not able to get that.

Thanks for your help,
Naresh


RE: QTP 9.2 Issue : QTP is not showing run error pop up messages - supputuri - 09-23-2010

Hmmm,

Are you executing the same script in both the machines or different scripts.

If different make sure that you don't have "OnErrorResumeNext" line of code in your script.
exit_test() function : We have QTP internal Exit test function Called as "ExitTest()".