| || |
JavaStatic Text vs JavaObject
I am new member here....
I am facing an issue related to JavaStatic Text and JavaObject - Please find below issue in detail -
I am automating a Java Application using QTP 10.0 and I have a valid Java Addin. I have to identify a text in the Java dialog box using QTP, but the issue is, QTP identifies the text as JavaObject on one machine and the same text is identified as JavaStatic Text on another machine.
In the machine, where QTP is identifying the desired text as JavaObject, I am unable to retrieve the text using the JavaObject properties. Can anyone please let me know, why the same text is identified differently by QTP on different machines? Also, Can you please gimme a solution for this?
Please find attached the image which shows the Java dialog box with the desired text to capture.
Both the machines are having the same configuration.
Machine Configuration Information - Microsoft Windows XP Professional Version 2002 Service Pack 3.
Re: JavaStatic Text vs JavaObject
Do they have same Java version as well? Also in Java control panel make sure that the Enable 3rd generation Add-in is unchecked (Advanced Tabs)