How to free a project from annoying and time-consuming ballast


#1

It may happen that a project cannot be opened until minutes of waiting have elapsed. In such cases it may help to use the function “File/ Clean up …” or to delete the contents of the /bin and /Libs folders. These files will be recreated the next time the project is opened.

But the problem could also be that you used the /Data Files folder, which is monitored by Katalon Studio itself, to store all your data needed for or created during your test execution. Please note that this may be an obvious idea, but not a very good one, as Katalon Studio searches this folder for usable data definitions when opening the project, which can be displayed in the Tests Explorer. This can take a lot of time (possibly several minutes to hours!). So it’s better to think of your own folder name for such purposes, which is not (yet) used by Katalon Studio, for example “Materials” (like kazurayam in his Materials library) or “Resources” or just “Results”.

Even an extensive content of the Reports folder can slow down the opening of the project. So if necessary, this folder should also be cleaned up occasionally.


Project suddenly takes over half an hour to open! - How to cleanup?
#2

Great tip, Drunda. Thanks for posting.


#3

Hi ,

  1. Does ‘File/ Clean updeletes /bin and /Libs folder? If not what does ‘Clean up’ do …?

  2. Is there an smart/easy way of deleting these files … /bin and /Libs folder … without opening Katalon.


#4

Just delete them on disk.


#5

I have around 6 Katalon project. Is there any other better approach?

Thanks.


#6

Better approach to what? Instead of manual deletion? How about writing a batch script?


#7

After deleting the files manually or batch file … can we run the test execution from command prompt ?

OR should we need to open the project manually in Katalon.

Thanks.


#8

Can someone reply ?


#9

You’re getting into the realms of serious devops planning and infrastructure. All well beyond the scope of what we do here (but what do I know, maybe someone has some pearls to cast…)