Micro Focus QTP (UFT) Forums

Full Version: QTP Not identifying the Java Dialog box
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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
Try out this (without any class description)

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

where abc is tagname for the dialog.
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