# Cleanup Object Repository?

**URL:** <https://forum.katalon.com/t/cleanup-object-repository/51600>\
**Category:** Web Testing\
**Tags:** katalon-studio\
**Created:** [January 28, 2021, 3:22pm UTC](https://forum.katalon.com/t/cleanup-object-repository/51600 "2021-01-28T15:22:15Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![saminkit](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/saminkit/32/16104_2.png) [@saminkit](https://forum.katalon.com/u/saminkit)\
**Post date:** [January 28, 2021, 3:22pm UTC](https://forum.katalon.com/t/cleanup-object-repository/51600/1 "2021-01-28T15:22:15Z")

</div>

Will there be any issue if i rename Object folders under main Object repository folder.

1.I would like to cleanup and consolidate Object folders and Object name.Will there be any problem?  
2.What is the best approach while Recording web captures existing objects  
Replace or Merge?

 ![Screen Shot 2021-01-28 at 10.19.17 AM](https://europe1.discourse-cdn.com/katalon/original/3X/a/5/a53c7a6e3fc9c6807d2827618f0ff37f43b54637.png)

---

<div class="post-metadata">

**Author:** ![saminkit](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/saminkit/32/16104_2.png) [@saminkit](https://forum.katalon.com/u/saminkit)\
**Post date:** [January 29, 2021, 3:24pm UTC](https://forum.katalon.com/t/cleanup-object-repository/51600/2 "2021-01-29T15:24:25Z")

</div>

Requesting your kind suggestions.

---

<div class="post-metadata">

**Author:** ![james\_bay](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/james_bay/32/14860_2.png) [@james\_bay](https://forum.katalon.com/u/james_bay)\
**Post date:** [January 30, 2021, 2:38pm UTC](https://forum.katalon.com/t/cleanup-object-repository/51600/3 "2021-01-30T14:38:56Z")

</div>

Main answer: I don’t know (for your situation).

That said, I’ve noticed some “helpful” behavior in Katalon in that, if when a test object is created, I click on the new test object and rename it, I am prompted to “save” my “changed” script, which then updates to use the new name I assigned the test object.

Thats cool.

I always create a new subfolder when I do a subsequent recorder run. I’ve noticed that the script generated will use the folder name as part of the test object reference, so the script will say, e.g.:

```
findTestObject(my second test run/button(1))

```

Instead of simply “button(1)”.

My concern is that if you move objects around, you might have to update your scripts if they have embeddded references to the old test object path name.

You might try to make sure you have the script open that uses the test object you are making changes to - perhaps it will “notice” and do the updates for you. I’d say if you have multiple scripts using the same objects, all bets are off.

Caveat: I am doing Windows testing, not web testing, so YMMV.

Jim
