Quantcast
Channel: New board topics in SmartBear Community
Viewing all articles
Browse latest Browse all 21061

Losing recognition of Java Swing objects during test run; top-level window becomes SunAwtFrame

$
0
0

I've tried running our automated tests in TestComplete 11 for the first time, and the test run gets a few tests in and then fails all the remaining tests.

 

After watching it a few times, I've realized that TestComplete is losing the ability to recognize the Java objects (SwingObject type) in our application after opening a particularly large file in the application.

 

When the application starts, TestComplete correctly recognizes all the Swing objects.  A few tests on smaller files are completed successfully.  Then, a larger file is opened and at that point, TestComplete fails to recognize the application objects.  I've attached a screenshot.  Basically, the top-level Swing window recognition goes away and the window is only recognized as type Window("SunAwtFrame").

 

Any suggestions would be appreciated.


Viewing all articles
Browse latest Browse all 21061

Trending Articles