Micro Focus QTP (UFT) Forums
Not able to click on a JavaButton in a JavaWindow - 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: Not able to click on a JavaButton in a JavaWindow (/Thread-Not-able-to-click-on-a-JavaButton-in-a-JavaWindow)



Not able to click on a JavaButton in a JavaWindow - PrabhatN - 08-03-2010

Hi All,

I have recorded login operation of a java application. Following are the steps needed to lunch the application.

> Need to open the url in a browser
> Several links come on the browser
> Need to click on any link
> In another browser an image named "Launch" comes
> After clicking on the image, a window named as "security - warning" pops up for digital signature/certificate verification having 2 buttons as "Run" and "Cancel"
> After clicking on the "Run" button, the login window (JavaWindow) comes


My problem is while recording it identified the "Run" button but when I tried to run the script it could not identify the "Run" button.

Each time I am trying to spy on "Run" button, my computer hangs for 10-15 minutes and still it is not able to spy on this.

Anybody could help on this ?