We are considering upgrading to JDK 11 for our desktop application.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
We are considering upgrading to JDK 11 for our desktop application.
Greetings,
I am looking to see if there is a way to successfully test our desktop application with TestComplete if we upgrade to JDK 11. Right now, I am unable to specify the JDK jvm as a replacement for the JRE.
Any input would be much appreciated.
Thank you,
Scott
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Right now, TestComplete only builds a JavaBridge based upon the JRE. The JDK includes the JRE so all you need to do is indicate the directory where the JVM files are.
Note that the JRE option in TestComplete is ONLY necessary if you want to utilize Java classes as part of your test cases (such as I do with the PDFBox application). If your application is built in Java, there's no need to specify the JRE.
HOWEVER... that said, currently TestComplete only supports testing Desktop applications built with certain Java technologies (https://support.smartbear.com/testcomplete/docs/app-testing/desktop/java/about.html#supported-java-t... If your application is built with a different technology, it doesn't necessarily mean you can't use TestComplete, just that some of the Open application feature set is not supported.
If you need JRE/JDK 11 support, I'd suggest you contact your Customer Success Manager at SmartBear and inquire as to when support will be made available in TestComplete.
Robert Martin
[Hall of Fame]
Please consider giving a Kudo if I write good stuff
----
Why automate? I do automated testing because there's only so much a human being can do and remain healthy. Sleep is a requirement. So, while people sleep, automation that I create does what I've described above in order to make sure that nothing gets past the final defense of the testing group.
I love good food, good books, good friends, and good fun.
Mysterious Gremlin Master
Vegas Thrill Rider
Extensions available
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Keep in mind, that setting is stored per machine per user. So, if you are running something using a different user or on a different machine, you need to make that setting change there as well.
That is the ONLY place to indicate the JVM to use by TestComplete for JavaBridge work.
Robert Martin
[Hall of Fame]
Please consider giving a Kudo if I write good stuff
----
Why automate? I do automated testing because there's only so much a human being can do and remain healthy. Sleep is a requirement. So, while people sleep, automation that I create does what I've described above in order to make sure that nothing gets past the final defense of the testing group.
I love good food, good books, good friends, and good fun.
Mysterious Gremlin Master
Vegas Thrill Rider
Extensions available
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
OF course.. because you're selecting the JavaW.exe from the 1.8 folder. You need to change the actual tested application to point to the new JavaW.exe for the JDK 11. JavaBridge has nothing to do with that..
REad up on JavaBridge (https://support.smartbear.com/testcomplete/docs/testing-with/advanced/using-external-functions/calli... The JavaBridge is for calling Java classes within your script code.
Again, I reference to something I mentioned above. TestComplete 12.60 only supports Java applications up through version 10. So, the possible problem you're dealing with is that it's not recognizing the JVM for the JDK 11.
Robert Martin
[Hall of Fame]
Please consider giving a Kudo if I write good stuff
----
Why automate? I do automated testing because there's only so much a human being can do and remain healthy. Sleep is a requirement. So, while people sleep, automation that I create does what I've described above in order to make sure that nothing gets past the final defense of the testing group.
I love good food, good books, good friends, and good fun.
Mysterious Gremlin Master
Vegas Thrill Rider
Extensions available
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you for your responses. I created a support ticket regarding this issue and I've been informed that there currently is no support for JDK 11 at this time, but they will be looking into it in January.
RE: Case Number: 00325973
"Java 11 is not supported in TestComplete 12.60 - but you can test your Java application with Java 10:
We're going to add the support for Java 11 in one of the future versions but, currently, we don't have any ETA for this."
Thank you again.
-Scott
