Micro Focus QTP (UFT) Forums
QTP Not identifying the Java Dialog box - 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: VB Scripting/Descriptive Programming (https://www.learnqtp.com/forums/Forum-VB-Scripting-Descriptive-Programming)
+--- Thread: QTP Not identifying the Java Dialog box (/Thread-QTP-Not-identifying-the-Java-Dialog-box)



QTP Not identifying the Java Dialog box - Automation_QA - 08-31-2010

Hi All

I am working on a swing based application and using Java Add-in. In the application a dialog box appears and when i add that Java Dialog in OR , it gets added under the Java Window. But on highlighting the java dialog..it shows object not found...

i used descriptive programing to count the Java Dialog under the java window, but the count was 0.

Can any1 please help me out in resolving this issue.

Thanks in Advance


RE: QTP Not identifying the Java Dialog box - Punam K - 08-31-2010

Try out this (without any class description)

Code:
JavaDialog("tagname:=abc")).JavaButton("label:=Close").Click

where abc is tagname for the dialog.


RE: QTP Not identifying the Java Dialog box - Prafulla - 08-31-2010

if DP is not solutions
with the help of Low level recording you can consider that object as standard window and then do the operations