Hi everyone.
I occur this problem so often. I dont know why.
My latest test suite conditions are
- I put a bit code in test suite (setup and teardown)
- I put a lot test cases (prob. 30 tcs), but i just run one by one.
I have solution which is copy paste the error file script (.tc and .groovy) into new test suite with notepad. Kinda annoying.
Thank you.
2 Likes
There is no error logs. Its just i cant open my customized Test Suites.
There might be some coding mistakes; so that you get “Unable to open the test suite”.
You should fix the mistakes.
The code is running properly.
For now, i made new test suite with the same code as error test suite. It works properly.
I just wondering why cant i open my test suite, while making new one with same script running properly.
No error. Just a warning in another file.
I found a way to reproduce this.
So
- I have error test suite
- I make new test suite
- I copy every value in new test suite (.tc and .groovy) from error test suite to new test suite
- New test suite works perfectly
- When i close new test suite, new test suite will become error test suite.
- stop Katalon Studio.
- In Windows Explorer or any other means, open the folder of your Katalon project
- open the
Test Suites
folder. In the Test Suites
folder, you will find several files (*.rs, *groovy).
- Open them using any text editor (except Katalon Studio). Look into them. Try to find anything curious.
I suspect some file is broken somehow.
Im sorry but i dont find anything weird or makes me curious. I compare it with the new test suite.
I have no more idea. If I were you, I would erase what’s not working and forget it.
oh its fixed now. I dont even know why.
Thanks, sir. Appreciate it. I think re-login is the answer.
In such a case where Katalon Studio behaves mad, you should try
- close the project
- using Windows Explorer or any other means (I would use Visual Studio Code), remove the
bin
folder under the project folder
- remove the
Libs
folder under the project folder
- remove the
.cache
folder under the project folder
- reopen the project
Lib
folder contains various Groovy source code automatically generated Katalon Studio.
bin
folder contains the binary class files compiled out fo the various Groovy sources (Test Case scripts, Test Suite scripts, Test Listener scripts, Global Variable class source, Execution Profiles source).
.cache
folder conbtains the binary class files compiled out of your Custom Keywords.
Katalon Studio sometimes fails to keep the contents of those folders for the artifacts in sync with the sources that were manually coded. I find Katalon Studio GUI is fragile. It easily breaks.
In an exceptional situation, Katalon Studio GUI behaves mad. You can not predict what will happen. Anything curious could happen.
The only remedy I know is to remove those folders and give Katalon Studio GUI a chance to initialize the project cleanly.
1 Like
noted sir. Thanks for the detailed information.
1 Like