tiffany_ip
12 years agoOccasional Contributor
Java (javaw) processes not recognized by TestComplete
Hello,
I have a problem related to the javaw.exe processes on TestComplete. I would open two Java programs and the first one will always be recognized whilst the second one will never be. The order can change so indexing is not advisable.
I went through this thread, it is very similar: http://smartbear.com/forums/f74/fp47/t51744/Any-way-to-get-around-multiple-processes-for-on
I followed the solution and made sure that both programs do not contain the same mapping criteria and yet the problem still persists. So the only factor would be the mapping criteria of the Java process itself.
Program 1: Sys.Process("javaw").SwingObject("name", etc, index)
Program 2: Sys.Process("javaw", 2).SwingObject("name", etc, index)
I mapped the names of the programs like this - again they dont have same properties for mapping criteria:
Sys.Java.xEdit
Sys.Java.Navigator
This is the Java's mapping criteria:
ProcessName: javaw
Path: C:\Program Files(x86)\Java\jre6\bin\javaw.exe
It will NEVER recognize the index 2(secondary) java program despite having NO mapping criteria to the indexes.
Can someone help me?
Thanks!
I have a problem related to the javaw.exe processes on TestComplete. I would open two Java programs and the first one will always be recognized whilst the second one will never be. The order can change so indexing is not advisable.
I went through this thread, it is very similar: http://smartbear.com/forums/f74/fp47/t51744/Any-way-to-get-around-multiple-processes-for-on
I followed the solution and made sure that both programs do not contain the same mapping criteria and yet the problem still persists. So the only factor would be the mapping criteria of the Java process itself.
Program 1: Sys.Process("javaw").SwingObject("name", etc, index)
Program 2: Sys.Process("javaw", 2).SwingObject("name", etc, index)
I mapped the names of the programs like this - again they dont have same properties for mapping criteria:
Sys.Java.xEdit
Sys.Java.Navigator
This is the Java's mapping criteria:
ProcessName: javaw
Path: C:\Program Files(x86)\Java\jre6\bin\javaw.exe
It will NEVER recognize the index 2(secondary) java program despite having NO mapping criteria to the indexes.
Can someone help me?
Thanks!