Forum Discussion

rrubio's avatar
rrubio
Contributor
13 years ago

.FindAllChildren method hangs with Java 1.6.0.38


Scenario

-----------

- TestComplete 9.20 Enterprise with all java extensions (among others)

Exactly the same settings that worked with previous Java version (1.6.0.27)

- Java version: 1.6.0_38 build 5





FindAllChildren method not working and application hangs under Java 1.6.0.38.

Previously it worked fine with older Java updates (1.6.0.27)





After upgrading to Java 1.6.0.38, automated testing does not work because FindAllchildren method hangs because of Java processes.



 



Tests performed:

-------------------

- after login into web application under test, it loads the Java applets it need.

- in computer "Task manager" displays "java" and "jp2launcher" processes.





Calling the .FindAllChildren method,





1) if depth is 1, it works



2) if you want to look for the whole application tree, and specify a very big depth the FindAllchildren method hangs forever

(after killing the java processes from "Task Manager", previous step works fine).





3) The bigger the depth is the more likely the method hangs



 



More info:

---------------

when stopping TestComplete execution, the message "Stopping..." displays forever until the browser process is killed from the "Task manager"





Thanks for your answers.



It is very important to solve this issue as soon as possible.



Regards,



Raul

 


1 Reply


  • Hi Raul,


     


    First of all, I want to mention that the execution time is expected to be bigger if the depth of search for an object by TestComplete is big.


    Please answer the following questions to help us investigate the issue:


    1. Were there many changes in the structure of your app in the version built with Java 1.6.0.38?


    2. Did TestComplete 9.20 work OK with the app built with 1.6.0.27?