# How to define new and reuse existing TestObjects in custom keywords

**URL:** <https://forum.katalon.com/t/how-to-define-new-and-reuse-existing-testobjects-in-custom-keywords/9554>\
**Category:** Miscellaneous\
**Created:** [February 28, 2018, 11:54am UTC](https://forum.katalon.com/t/how-to-define-new-and-reuse-existing-testobjects-in-custom-keywords/9554 "2018-02-28T11:54:23Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Artem\_Yakovlev](https://avatars.discourse-cdn.com/v4/letter/a/fbc32d/32.png) [@Artem\_Yakovlev](https://forum.katalon.com/u/Artem_Yakovlev)\
**Post date:** [February 28, 2018, 11:54am UTC](https://forum.katalon.com/t/how-to-define-new-and-reuse-existing-testobjects-in-custom-keywords/9554/1 "2018-02-28T11:54:23Z")

</div>

There is a section [https://docs.katalon.com/display/KD/Manage+Test+Object#ManageTestObject-TestObjectsinScriptingView](https://docs.katalon.com/display/KD/Manage+Test+Object#ManageTestObject-TestObjectsinScriptingView "Link: https://docs.katalon.com/display/KD/Manage+Test+Object#ManageTestObject-TestObjectsinScriptingView") about defining new TestObject in Scripting view, but it looks incomplete.  
I’d like to have an ability to add newly created TestObject in Keywords to the ObjectRepository and then reuse it in other keywords. How to achieve it? ![](https://s3.amazonaws.com/katalon-forum/editor/t1/svt4azyp77c4.png)

[Keywords.png](https://s3.amazonaws.com/katalon-forum/editor/t1/svt4azyp77c4.png)

---

<div class="post-metadata">

**Author:** ![albert.vu](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/albert.vu/32/20595_2.png) [@albert.vu](https://forum.katalon.com/u/albert.vu)\
**Post date:** [August 8, 2022, 7:08am UTC](https://forum.katalon.com/t/how-to-define-new-and-reuse-existing-testobjects-in-custom-keywords/9554/2 "2022-08-08T07:08:12Z")

</div>


