How can I fix the ObjectNotFound error in the cmd line for setting up TestCloud Tunnel?

I’m following the steps listed on this page, Local testing with TestCloud in Katalon Studio | Katalon Docs. I’m on step 4 under “Configure TestCloud Tunnel.” I’ve downloaded the zip file, extracted in my Downloads folder, and opened the command line in the folder. For me with a Windows 64 bit machine, the folder is called “kt-win-x64-v1.3.4”. I copy and paste the command from the Tunnel Setup Helper from step 2 into the command line console. The console returns the error,
“kt : The term ‘kt’ is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the
name, or if a path was included, verify that the path is correct and try again.”

“+ CategoryInfo : ObjectNotFound: (kt:String) , CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException”.

Am I missing a step from the “Local testing with TestCloud in Katalon Studio”?

1 Like

The “ObjectNotFound: kt” error typically occurs when the command-line tool (kt.exe) isn’t accessible from your current working directory, or its path isn’t properly configured. Here’s how to resolve this:

Step-by-Step Fix:

  1. Verify the Executable Path
    Ensure you’re running the command from the extracted kt-win-x64-v1.3.4 folder (or wherever you unzipped TestCloud Tunnel).
  • Open File Explorer, navigate to Downloads > kt-win-x64-v1.3.4, and check if kt.exe exists in that folder.
  1. Run the Command Correctly
  • Option 1: Use the full path to kt.exe:
.\kt.exe tunnel [arguments from Step 2]

3.(The .\ explicitly tells the terminal to run the executable in the current directory.)*

  • Option 2: Navigate to the folder in Command Prompt/PowerShell first:
cd C:\Users$YourUsername]\Downloads\kt-win-x64-v1.3.4
.\kt.exe tunnel [arguments from Step 2]
  • Option 3: Add the folder to your system’s PATH variable temporarily:
$env:PATH += ";C:\Users$YourUsername]\Downloads\kt-win-x64-v1.3.4"
kt tunnel [arguments from Step 2]

Common Mistakes to Avoid:

  • :cross_mark: Using kt instead of kt.exe or .\kt.exe:
    Windows requires the .exe extension or .\ prefix to recognize local executables in PowerShell or modern terminals.
  • :cross_mark: Not running the terminal in the correct folder:
    Right-click inside the kt-win-x64-v1.3.4 folder while holding Shift, then select “Open PowerShell window here” to ensure you’re in the right directory.
  • :cross_mark: File blocked by Windows:
    Right-click kt.exe > Properties > Check “Unblock” at the bottom (if visible) to allow execution.

Still Not Working?

  • Re-download the TestCloud Tunnel ZIP file: The original download might be corrupted.
  • Check for typos: Ensure the command matches the one in the Katalon Tunnel Setup Helper (e.g., API key, project ID).
  • Run as Administrator: Right-click Command Prompt/PowerShell > Run as Administrator.
  • Update Katalon Studio: Ensure you’re using the latest version of Katalon Studio and TestCloud Tunnel.
1 Like