Micro Focus QTP (UFT) Forums
QTP Errors - 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 Errors (/Thread-QTP-Errors)

Pages: 1 2 3


RE: QTP Errors - Sowmya V - 01-12-2011

Hi, I have some query which i wanted to get immediate reply. Please let me know where should I post my below query

QUERY -
Hi All,

I am facing a problem in Automating a Java developed Application. Please help me out with this problem.
I wanted to click a JAVA hyperlink using my test script But every time when I record I found that it is not recognizing the link instead it is giving me only the co-ordinates of the mouse click.
Please let me know the solution or workaround.

When I do the recording using QTP, I find the below script line and snapshot of the link in Application

Code:
JavaWindow("Window_new").JavaObject("Hyperlink").Click "58","6"


QTP is not recognizing the java Link and its properties.


I am using the following environment:
OS – Windows XP
QTP version -10.0


Regards,
Sowmya


RE: QTP Errors - amitspandey - 01-12-2011

Hi,
Well u may be getting this error because qtp is not able to identify this new object. well well try to learn the object by useing OR(object repository) and again run the same code ,this will work.

Regards,
Amit