Micro Focus QTP (UFT) Forums
QTP failed because of processEvent function on JDialog - 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: QTP failed because of processEvent function on JDialog (/Thread-QTP-failed-because-of-processEvent-function-on-JDialog)



QTP failed because of processEvent function on JDialog - Yashvi - 07-27-2009

Earlier QTP failed to recognise a Java dialog Pop up.
I figured out the issue, it was with the code.
I don't understand the actual reason though.
On JDialog form, processEvent() function was defined.That function was placed only to make sure user donot close pop up form by clicking on cross sign(close button on top right corner)
When I commented that function , QTP works fine with this pop up form.

Pleas post a reply if you know the actual cause for this.
Thanks