Forum Discussion

sam_sho's avatar
sam_sho
New Contributor
23 days ago

Testcomplete issue with Java17 ( Javax Swing applications)

My desktop Javax Swing applications were recently upgraded from Java 8 to Java 17, and since then I’ve been experiencing an intermittent issue where the main parent object is not recognized, causing repeated failures.

Has anyone else encountered this when using TestComplete with Java 17?I am using TestComplete version is 15.76.5.7 (x64).

2 Replies

  • rraghvani's avatar
    rraghvani
    Icon for Champion Level 3 rankChampion Level 3

    Has the parent object changed in anyway? Do the properties still remain the same between Java 8 and Java 17? 

    TC v15.79 does support Java 7, 8, 11 and 17 applications that use the AWT, SWT or Swing library. Both 32-bit and 64-bit Java versions are supported.

    • sam_sho's avatar
      sam_sho
      New Contributor

      I believe a javax.swing.JFrame was added to the parent object. All the others are the same.

      Sys.Process("App").SwingObject("NbMainWindow")

      AWTComponentName=NbMainWindow