# Test Objects Refactoring

**URL:** <https://forum.katalon.com/t/test-objects-refactoring/34230>\
**Category:** Miscellaneous\
**Tags:** new-doc-request\
**Created:** [October 7, 2019, 4:36am UTC](https://forum.katalon.com/t/test-objects-refactoring/34230 "2019-10-07T04:36:18Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://europe1.discourse-cdn.com/katalon/original/3X/d/5/d55596ab02785a255798e87ede769734747b30c4.svg) [@system](https://forum.katalon.com/u/system)\
**Post date:** [October 7, 2019, 4:36am UTC](https://forum.katalon.com/t/test-objects-refactoring/34230/1 "2019-10-07T04:36:18Z")

</div>

* * *
This is a companion discussion topic for the original entry at [https://docs.katalon.com/katalon-studio/docs/test-objects-refactoring.html](https://docs.katalon.com/katalon-studio/docs/test-objects-refactoring.html)

---

<div class="post-metadata">

**Author:** ![discover.selenium](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/discover.selenium/32/522_2.png) [@discover.selenium](https://forum.katalon.com/u/discover.selenium)\
**Post date:** [October 7, 2019, 9:51am UTC](https://forum.katalon.com/t/test-objects-refactoring/34230/2 "2019-10-07T09:51:17Z")

</div>

@katalon.team team , This is a very handy feature.

Also there should be a way to find **duplicate** object repo - based on Key/ Value across the project.

---

<div class="post-metadata">

**Author:** ![discover.selenium](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/discover.selenium/32/522_2.png) [@discover.selenium](https://forum.katalon.com/u/discover.selenium)\
**Post date:** [October 7, 2019, 2:54pm UTC](https://forum.katalon.com/t/test-objects-refactoring/34230/3 "2019-10-07T14:54:13Z")

</div>

The documentation reads as below:

> Remove all unused objects: Click **Delete all** and confirm your action. Be cautious since there is no chance to restore the removed objects in Katalon Studio. You can back up those unused objects by exporting to a `CSV` file in case you would like to have them back.

@katalon.team team I have doubt here. What do you mean by **back up**?

> _ **back up** those unused objects by exporting to a `CSV`_

---

<div class="post-metadata">

**Author:** ![wei\_yang](https://avatars.discourse-cdn.com/v4/letter/w/87869e/32.png) [@wei\_yang](https://forum.katalon.com/u/wei_yang)\
**Post date:** [October 9, 2019, 8:42am UTC](https://forum.katalon.com/t/test-objects-refactoring/34230/4 "2019-10-09T08:42:03Z")

</div>

I think it’s mean exporting objects info as csv for back up.If you want to recover these objects you can do so through this CSV

---

<div class="post-metadata">

**Author:** ![discover.selenium](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/discover.selenium/32/522_2.png) [@discover.selenium](https://forum.katalon.com/u/discover.selenium)\
**Post date:** [October 9, 2019, 9:06am UTC](https://forum.katalon.com/t/test-objects-refactoring/34230/5 "2019-10-09T09:06:03Z")

</div>

@wei_yang I don’t see recover or restore option. Do you mind sharing the screenshot of recover option in Katalon.

**Note:** The CSV file has only two columns. I guess it’s not possible to recover with these columns alone. I might be wrong.

 ![CSV](https://europe1.discourse-cdn.com/katalon/original/2X/5/527e60b1e36b9d6ced54736eaeeb544c6ac870e2.png)

---

<div class="post-metadata">

**Author:** ![manpreet.mukkar](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/manpreet.mukkar/32/16103_2.png) [@manpreet.mukkar](https://forum.katalon.com/u/manpreet.mukkar)\
**Post date:** [October 9, 2019, 10:45pm UTC](https://forum.katalon.com/t/test-objects-refactoring/34230/6 "2019-10-09T22:45:19Z")

</div>

We are working on rebuilding our website UI before Black Friday and I was hoping to use the existing project built for existing site to make it work with the new one. This feature is surely going to help me in keeping OR clean. Awesome work Katalon team.

---

<div class="post-metadata">

**Author:** ![Jass](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/jass/32/9588_2.png) [@Jass](https://forum.katalon.com/u/Jass)\
**Post date:** [October 11, 2019, 3:04am UTC](https://forum.katalon.com/t/test-objects-refactoring/34230/7 "2019-10-11T03:04:49Z")

</div>

Hi @discover.selenium and @wei_yang

Thank you for your feedback! I will modify this document asap. I suggest that you back up unused objects by using [Katashare](https://docs.katalon.com/katalon-studio/docs/import-export-test-artifact.html#import-test-cases-and-test-objects) which allows you to export those unused test objects and import them just in case you want to reuse those ones while exporting to `CSV` files is helpful for you to review those unused objects.

Thanks for using Katalon Studio.

Cheers

Jass

---

<div class="post-metadata">

**Author:** ![discover.selenium](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/discover.selenium/32/522_2.png) [@discover.selenium](https://forum.katalon.com/u/discover.selenium)\
**Post date:** [October 11, 2019, 5:04am UTC](https://forum.katalon.com/t/test-objects-refactoring/34230/8 "2019-10-11T05:04:04Z")

</div>

Thanks @Jass

---

<div class="post-metadata">

**Author:** ![kowsalya](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/kowsalya/32/23870_2.png) [@kowsalya](https://forum.katalon.com/u/kowsalya)\
**Post date:** [October 11, 2019, 9:38am UTC](https://forum.katalon.com/t/test-objects-refactoring/34230/9 "2019-10-11T09:38:43Z")

</div>

This page is not accessible. Anyone encountered this issue? I get 404 error When accessing from menu Katalon Studio \> Test case \> Test Maintenance \> Test Object refactoring

---

<div class="post-metadata">

**Author:** ![Jass](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/jass/32/9588_2.png) [@Jass](https://forum.katalon.com/u/Jass)\
**Post date:** [October 11, 2019, 10:24am UTC](https://forum.katalon.com/t/test-objects-refactoring/34230/10 "2019-10-11T10:24:35Z")

</div>

Hello @kowsalya

Could you please give some more information regarding the following concerns:

1. Which page is not accessible?
2. Where did you get this path " Katalon Studio \> Test case \> Test Maintenance \> Test Object refactoring’?

Thank you

Jass

---

<div class="post-metadata">

**Author:** ![kowsalya](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/kowsalya/32/23870_2.png) [@kowsalya](https://forum.katalon.com/u/kowsalya)\
**Post date:** [October 11, 2019, 10:37am UTC](https://forum.katalon.com/t/test-objects-refactoring/34230/11 "2019-10-11T10:37:11Z")

</div>

[https://docs.katalon.com/katalon-studio/docs/katalon-studio/docs/test-objects-refactoring.html](https://docs.katalon.com/katalon-studio/docs/katalon-studio/docs/test-objects-refactoring.html)  
this page is not accessible when I acces from the docs menu “Katalon Studio \> Test case \> Test Maintenance \> Test Object refactoring”

---

<div class="post-metadata">

**Author:** ![discover.selenium](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/discover.selenium/32/522_2.png) [@discover.selenium](https://forum.katalon.com/u/discover.selenium)\
**Post date:** [October 13, 2019, 8:37pm UTC](https://forum.katalon.com/t/test-objects-refactoring/34230/12 "2019-10-13T20:37:31Z")

</div>

> [@Jass](#):
>
> Which page is not accessible?

 ![error](https://europe1.discourse-cdn.com/katalon/original/2X/3/39f3571fecab2073d7729482a914d5050450e812.png)

---

<div class="post-metadata">

**Author:** ![Jass](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/jass/32/9588_2.png) [@Jass](https://forum.katalon.com/u/Jass)\
**Post date:** [October 14, 2019, 2:48am UTC](https://forum.katalon.com/t/test-objects-refactoring/34230/13 "2019-10-14T02:48:48Z")

</div>

Hi everyone,

Please try this link [https://docs.katalon.com/katalon-studio/docs/test-objects-refactoring.html](https://docs.katalon.com/katalon-studio/docs/test-objects-refactoring.html). I will fix the other one asap.

Thank you

Jass

---

<div class="post-metadata">

**Author:** ![eyildiz](https://avatars.discourse-cdn.com/v4/letter/e/5e9695/32.png) [@eyildiz](https://forum.katalon.com/u/eyildiz)\
**Post date:** [January 30, 2020, 1:06pm UTC](https://forum.katalon.com/t/test-objects-refactoring/34230/14 "2020-01-30T13:06:53Z")

</div>

This doesnt work for StepDefinitions it seems?

---

<div class="post-metadata">

**Author:** ![staniere](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/staniere/32/17333_2.png) [@staniere](https://forum.katalon.com/u/staniere)\
**Post date:** [August 26, 2020, 8:17am UTC](https://forum.katalon.com/t/test-objects-refactoring/34230/15 "2020-08-26T08:17:08Z")

</div>

Hello,  
there is no option in right click menu to delete selected lines ?

it is quite hard to use when we have a lot of lines to delete and we want to delete several lines but not all of them :

 ![image](https://europe1.discourse-cdn.com/katalon/original/2X/c/c30430dd6bfb57f562e2fc28976a4d42666d75df.png)

---

<div class="post-metadata">

**Author:** ![mathieu](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/mathieu/32/20464_2.png) [@mathieu](https://forum.katalon.com/u/mathieu)\
**Post date:** [December 24, 2020, 4:15pm UTC](https://forum.katalon.com/t/test-objects-refactoring/34230/16 "2020-12-24T16:15:42Z")

</div>

Is there a way to “merge” test objects ?
