Need help in Automation of Java Swing Desktop Application

Hi All,

I have managed to resolve the above issue.
But I am now stuck with another issue while I run my robot file.

My Test Case | FAIL |
org.netbeans.jemmy.TimeoutExpiredException: Wait for “click” subcomponent to be displayed

Inorder to resolve this I have added a line in my code Set Jemmy Timeout TimeoutExpiredException 10

But I am still getting the same error.

So I am suspicious if my code is not navigating to ’ click component ’ where I am getting TimeoutExpiredException .

============================================
I wanted to know which all Spy tools can we use to locate the swing components. I am not able to download the swing explorer launcher.
Although I have added the swag.jar and swexpl.jar in my class path.

I am currently using Access Bridge Explorer.

Also I wanted to know how to identify the components which does not have Name property. Can we use other identifiers other than name such as “Role” to identify the component ?

How can we locate the unique components when name or other property are same in most of the components

Thanks for support in advance.

Best Regards,
Nidhi