Hey everyone, I’m really hoping someone can help me out because I am at my wits’ end with Katalon Studio and Git. I’m pretty new to automation, and my team recently started using Git for version control so we could work together on our test cases. But literally every single time I pull the latest changes from the main branch, my Object Repository gets completely wrecked with merge conflicts.
Here is what I’ve been doing:
-
I create a new test case and capture some objects using the Web Recorder or Spy Web.
-
Katalon automatically saves them into the
Object Repositoryfolder. -
My teammate does the exact same thing on their machine for a different page.
-
When I try to do a
git pullor merge their branch into mine, Git throws a massive tantrum about conflicts in.rsfiles or theobject_repository.propertiesfile.
I tried opening those conflicting .rs files in a text editor to manually fix the <<<<<<< HEAD and >>>>>>> lines, but the XML/JSON inside looks like ancient hieroglyphics to me. I accidentally deleted a bracket once, and it completely corrupted the object, making Katalon crash when I opened the project! Right now, my only “fix” is to completely delete my local project, re-clone it from Git, and manually recreate all my objects from scratch. It is taking me hours and killing my productivity. What am I doing wrong? Is there a way to make Git and Katalon stop fighting?
