As you are already aware that Worksoft Certify can automate Java applications flawlessly. When you install Worksoft Certify for the first time there are some configurations you must make before you begin automating your Java application. Missing out these configurations can cause issues and Certify may not work with your Java applications that you intend to automate.
Problem: It hurts when I can’t learn you
When you try to learn your Java application through Certify Java Learn, it doesn’t show the Java Window during the scan even though the application is open and active.
In this case, it doesn’t learn the sample “Account Manager” Java application provided by Worksoft
Solution: It is good to see help coming
Worksoft Certify has an inbuilt diagnostic feature that you can use to check if the Java environment is configured correctly or if you are missing any configurations.
Follow the below path to navigate to Worksoft Certify’s Diagnostic feature from Certify’s main UI window
Help à Diagnostics à Java
Note: In our case we wanted a diagnostic report for Java interface hence we have selected the “Java” diagnostic option.
Please wait as It takes a while to show you the below Diagnostic report window
Note: The above screen may vary depending on the JRE and JDK version you have installed
For Worksoft Certify to work with your Java applications you must install JRE(Java Runtime Environment). It is good to install both 32 and 64 bit versions of JRE and configure them once in for all.
In my case I have installed both 32 and 64 bit versions of JDK and JRE hence you see the below screen with 4 lines of issues.
When you select any of the installed JRE/JDK version you should the below screen with 2 issues. Usually these issues are the same for every version of JRE/JDK installed. If you have more than one version make sure you follow the below steps to fix all the installed JRE/JDK to get a successful diagnostic report.
Error 1 fix: Missing bridge JAR file
You must copy the file “Certify Bridge-x_x.jar” (based on your Java version installed) from your Worksoft installation folder path as shown below
In this case,
C:Program Files (x86)WorksoftCertifyInterface ClientWorksoftwsTestJavaInstallerFiles
Paste the copied bridge file into your Java installation folder path as shown below
Path in this case
C:Program Files (x86)Javajre1.8.0_144libext
Important Note:Do the above procedure for all the versions of the Java installed in your computer as shown in your diagnostic report
Error 2 fix: Missing ‘assistive_technologies=com.worksoft.java.CertifyInterfaceServer’ entry
Edit the file “accessibility.properties” from the Java installation folder path below
Path in this case
C:Program Files (x86)Javajre1.8.0_144lib
Add the below line to the end of the file and Save
assistive_technologies=com.worksoft.java.CertifyInterfaceServer
Important Note: Do the above procedure for all the versions of the Java installed in your computer as shown in your diagnostic report
When you open the Java diagnostics again you should see the errors are fixed like the below screen
Voila! you can see the Java window is now identified by Certify Java Learn