Test Designer installed however buttons still Disabled Problem Test Designer is not working as expected Since my system updated And Record, Play, etc buttons remain disabled Reason(s) You are accessing internal private networks with settings which would be considered insecure for an external network With the many variations and versions of Java, multiple entries in your system’s PATH may exist and conflict with each other Resolution Chrome Security Update This setting is for internal private network pages which may have insecure connections within your network. This does not impact external network security or sites. Enter in Chrome address bar chrome://flags/#block-insecure-private-network-requests Update setting to disabled Verify your system is using a single Java version and path This section contains: Instructions for Windows Instructions for Mac Windows Click Start and enter System Env and select Edit system environment variables The System Properties window appears Click Environment Variables In the System variables list, select Path and click Edit Confirm only one entry exists for Java, for example: C:\Program Files\graalvm\graalvm-cd-java11-21.3.0\bin Remove any additional entries referring to Oracle or other java installs Click OK (3x) Go to C:\TestDesigner\NetworkProxy and run shutdown.cmd From the same location as above, run startds.cmd Mac Stop the Test Designer proxy Open Applications > Utilities > Terminal.app and enter the following cd $HOME/TestDesigner/NetworkProxy/ ./shutdown.sh Verify your $JAVA_HOME path Enter echo $JAVA_HOME If the $JAVA_HOME path output does not contain graalvm, then you need to determine if you have multiple Java versions on your system Enter cd /Library/Java/JavaVirtualMachines/ ls If JavaVirtualMachines does not list more than one java version (more than one sub-folder), proceed to: Configure a Single instance of Java AND Remove duplicate Java entries in bash_profile If JavaVirtualMachines does list more than one java version (more than one sub-folder), AND you do not need to retain the non-graalvm java version(s), see "Configure a Single Instance of Java" to update $JAVA_HOME AND you do need to retain the non-graalvm java version(s), then Copy the path (including the folder name containing graalvm) and paste it in a temporary text file for use later. For example: /Library/Java/JavaVirtualMachines/graalvm-ce-java11-21.3.0 AND Proceed to Modifying Test Designer’s Java Path Modifying Test Designer’s Java Path Open $HOME\TestDesigner\NetworkProxy\startds.sh in nano or a text editor open $HOME/TestDesigner/NetworkProxy/startds.sh -a TextEdit Replace the $JAVA_HOME variable in startds.sh with the AIQ required Java version and path Locate the following lines in startds.sh (~line 35) if [ -f $JAVA_HOME/bin/java ]; then JAVA_HOMES=$JAVA_HOME/bin/java else JAVA_HOMES=java fi Replace $JAVA_HOMES (in this file only) with the graalvm java path (note, the path continues past the graalvm folder name). For example: if [ -f /Library/Java/JavaVirtualMachines/graalvm-ce-java11-21.3.0/Contents/Home/bin/java ]; then JAVA_HOMES=/Library/Java/JavaVirtualMachines/graalvm-ce-java11-21.3.0/Contents/Home/bin/java else JAVA_HOMES=/Library/Java/JavaVirtualMachines/graalvm-ce-java11-21.3.0/Contents/Home/ fi Save and close the text editor Proceed to "Start the Test Designer Proxy" Configure a Single instance of Java Update your PATH environment variable to the GraalVM bin directory (where represents the graalvm version, ex: 21.3.0). For example: export PATH=/Library/Java/JavaVirtualMachines/graalvm-ce-java11-21.3.0/Contents/Home/bin:$PATH Update your JAVA_HOME environment variable to resolve to the GraalVM installation directory (where represents the graalvm version, ex: 21.3.0). For example: export JAVA_HOME=/Library/Java/JavaVirtualMachines/graalvm-ce-java11-21.3.0/Contents/Home/ Verify your install was successful java -version Sample Output openjdk version "11.0.13" 2021-10-19 OpenJDK Runtime Environment GraalVM CE 21.3.0 (build 11.0.13+7-jvmci-21.3-b05) OpenJDK 64-Bit Server VM GraalVM CE 21.3.0 (build 11.0.13+7-jvmci-21.3-b05, mixed mode, sharing) Remove duplicate Java entries in bash_profile Verify old or duplicate entires do not exist in ~/.bash_profile (nano cheatsheet) cd $HOME nano ~/.bash_profile When the nano editor appears, if you have more than one JAVA_HOME entry, remove any duplicates, retaining the graalvm entry (do not remove any non-java related entries). For example: export JAVA_HOME=/Library/Java/JavaVirtualMachines/graalvm-ce-java11-21.3.0/Contents/Home export PATH=$JAVA_HOME/bin:$PATH Save changes and exit nano (see nano cheatsheet for shortcuts) Start the Test Designer proxy Return to the Terminal, and start the Test Designer proxy cd $HOME/TestDesigner/NetworkProxy/ ./startds.sh When Test Designer starts, the graalvm java path should display in the logging that follows You may now return to AIQ in the browser and refresh the Test Designer IDE page to begin recording Test Designer scripts. Last updated: June 26, 2023 If you have any feedback on this topic, please contact us at documentation@appvance.ai