Hello everyone,
I’m running Debian (Linux 12) on a google cloud VM. When I record a web scenario using the web recorder and save the script, I’m unable to open the test case associated with it. This happens to any new project I create.
The error is “Cannot open the test case”
Please help.
Thank you.
Hi there, and thanks for posting in the Katalon community!
To help you faster, please review our guide on Record Web Utility here: Record Web utility in Katalon Studio | Katalon Docs . Double-checking the steps and configurations might resolve the issue.
If the doc doesn’t help, feel free to provide more details, and a community member will assist you soon.
Thanks for being a part of our community!
Best,
Elly Tran
Hi @thisura , which KS version are you using? Did this happen when you open the old ones?
Step 1: Verify Tool & Environment Setup
Assuming you’re using Katalon Studio, Postman, or similar tools:
Check Java Version
Ensure you’re using a compatible Java version (OpenJDK 8 or higher).
bash
java -version # Should return 1.8, 1.11, etc.
Fix: Install required Java if missing:
bash
sudo apt update && sudo apt install default-jdk # For Debian
File Permissions
Test cases might be saved to a directory with insufficient permissions.
Use ls -l to check ownership/permissions of the test case file.
If permissions are restrictive:
bash
sudo chown $USER:$USER /path/to/test/case sudo chmod +w /path/to/test/case
Step 2: Reinstall/Reconfigure the Tool
Reinstall the Tool
Uninstall the tool (e.g., Katalon Studio) manually or via package manager, then reinstall.
bash
sudo apt purge [PackageName] sudo apt install [PackageName]
Reset Tool Cache
Delete configuration files to reset settings:
bash
rm -rf ~/.config/[ToolName] # Example: ~/.katalon630
Step 3: Project-Specific Fixes
Create a New Project
Test with a basic scenario to isolate the issue:
Recreate the project in the tool.
Record a small test and save it. If it works, the original project may be corrupted.
Step 4: Advanced Checks
Network/VM Configuration
Ensure Google Cloud firewall rules allow required connections.
Check if the tool relies on external services (e.g., browsers, APIs).
Working Directory Path
Ensure the test case path matches the tool’s expected directory structure.
Example (Katalon Studio):
text
/Project/Scripts/com.users.testcase
@thisura
Can you share the error log file?
Hello,
I can open the log by going to Help > Error log.
This opens up in the application “Vim”
Please guide me on how to save the log and share here.
Thanks.
Hi @Elly_Tran ,
This happens with every project I create. Please see the version details below
You can find the file at <KS folder>/config/.metadata/.log
Please note that it is a hidden file. This may help if you are unfamiliar with Debian: How to see hidden files and folders in the Debian – VITUX
.log (493.2 KB)
The log file is attached herewith.
@thisura
You might need to install libwebkit2gtk-4.0-37. Please refer to this post
Found some time to dig a bit more on this issue.
I can confirm it is related to libwebkit2gtk-4 at least on Linux, but not limited.
Steps I did:
Installed Ubuntu 22.04 LTS in a VM (the standard edition with Gnome desktop)
Installed KS-8.6.0
In this combination, Katalon run just fine.
For the second experiment, I used:
Kubuntu 22.04 LTS in another VM (the KDE Plasma flavour of Ubuntu)
Same KS
In addition to the Quickstart page being blank, some more features are broken.
The same I noticed…
Installing libwebkit2gtk-4.0-37 worked!!
Thank you @duyluong .
I did create a web test case. Do you have any tip on how to automatically run it (Schedule) for every 3 hours?
I think you need to create another separate thread to ask for help from the comunity