I think that I found a bug on Katalon v. 6.0.5
When we record new steps on an existing test step, or when we reorder the test steps in Manual editor, some steps are losing objects references causing the test to crash. We hence have to ressign all objects to tests steps affected by the bug. Thaht’s long. And annoying.
It may be related to the bug fixed on v. 6.0: " Fixed an issue on swipe command, losing objects references"
This has been something that has occurred for a long time, since i started using katalon and that was around release of v5. Im not sure if its a bug or just how katalon is built ,i assume it is. Will be best to get one the KS devs to give you a proper awnser of whether its a bug or not.
If losing objects references but still displaying the objects names in the test case is the normal behavior… Then this is a very deceiving software
IMHO, it definitely is a bug.
Any KMS guy around to help!?
This is really annoying and is something very basic.
If I record UI interactions, save it and later try to rename any object in the Object Repository, the test loses the reference.
In my case it’s losing the first part of the path.
For example, if I have the reference Object Repository/Web Pages/Salesforce/Subscription/a_FirstItem and rename it to say a_SelectFirstItem, then the reference in the test will become Web Pages/Salesforce/Subscription/a_SelectFirstItem.
It gets even worse if I rename a folder in the Object Repository, because then any reference objects under it will have their paths affected on the tests.
It generates a lot of manual work to fix it, and really wouldn’t work on something to automate fixing it up.
@Zarashima, do you know if there’s any plan to work on this? Thanks!
We have noticed similar behaviour in Katalon Studio v. 6.2.1 (Windows 10)
Katalon does not seem to like the use of folders within the object repository:
Whenever steps are added through the web recording function, the script of the test case is overwritten in seemingly random places, removing references to folders from objects and elements and instead rerouting them to the repositories root.
This causes numerous false fails when running scripts.
During initial test case recording, objects are saved in the correct folders, but some of the references in the test script are incorrect and thus the objects aren’t found during test executions.
In this case the reference to the ‘Project A’ folder is missing, so the script attempts to find the ‘Elements’ folder in the root of the object repository, which results in a failed execution.
After manually adjusting the reference the script is executed as designed.