Forum Discussion

kandharkar_kapi's avatar
kandharkar_kapi
Occasional Contributor
10 years ago
Solved

Unable to Recognize Child Objects of JAVA Swing Application

When Object Spy on Window which has JTextFields and JButtons, what i get is 

Fullname as

Sys.Process("javaw").Window("SunAwtFrame", <window title> , <index>)



Which shows childcount as '0'.



I have reinstalled the TestComplete completely new, so settings related to Java Objects have gone,

What should be the changes required at TestComplete so that I can get 

Sys.Process("javaw").SwingObject(

and also could recognise thechild Objects.



I had gone through help topics as 'Testing Java Applications'but could not solve the probelm

Please Help, also let me know do I need Admin Rights to Object Spy
  • I run 64bit Java on a 64 bit Win8.1 machine and I too have been having issues testing Java Applications after I upgraded from Java 51 --> Java 55.



    Everything was working until I upgraded Java.



    We finally got it to work today when we made a change to the Project Suite Properties



    Double click on the Project name and in the Workspace select the Project. Open the Properties tab and select Open Applications>UI Automation and check (or add)  the "List of accepted windows" checkBox



11 Replies