# How to parameterize values to TestObject in Object Repository

**URL:** <https://forum.katalon.com/t/how-to-parameterize-values-to-testobject-in-object-repository/44011>\
**Category:** Web Testing\
**Tags:** katalon-studio\
**Created:** [May 29, 2020, 2:09pm UTC](https://forum.katalon.com/t/how-to-parameterize-values-to-testobject-in-object-repository/44011 "2020-05-29T14:09:03Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![vtanguturi](https://avatars.discourse-cdn.com/v4/letter/v/ce73a5/32.png) [@vtanguturi](https://forum.katalon.com/u/vtanguturi)\
**Post date:** [May 29, 2020, 2:09pm UTC](https://forum.katalon.com/t/how-to-parameterize-values-to-testobject-in-object-repository/44011/1 "2020-05-29T14:09:03Z")

</div>

Hi,  
I am trying to you Katalon as Record and play for the first time after a long time of working on the script level. My project is very short and can’t spend more time in scripting. The application I am working on is full of forms that have Textbox, checkbox, radio buttons, and dropdown. For that, I need to set data-driven from excel sheet. So my requirement is how can I parameterize the values that I read from excel to the TestObject XPath which are added to the Object repository (not using makeToXpath)

Let say I have the XPath for Radio button  
//div[contains(@data-bind,‘isLastEmpPresentQuestion’)]/div//input/following-sibling::span[contains(text(),‘No’)]

in the script, I have to use the test object as  
WebUI.click(findTestObject(‘Page\_/radio\_btn’))

in the above XPath, I need to replace the text value No and also the data-bind value isLastEmpPresentQuestion to some other values in my variables. First is it possible to parameterize?

Thanks in advance

---

<div class="post-metadata">

**Author:** ![ThanhTo](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/thanhto/32/697_2.png) [@ThanhTo](https://forum.katalon.com/u/ThanhTo)\
**Post date:** [May 29, 2020, 2:18pm UTC](https://forum.katalon.com/t/how-to-parameterize-values-to-testobject-in-object-repository/44011/2 "2020-05-29T14:18:33Z")

</div>

@vtanguturi

> [@vtanguturi](#):
>
> First is it possible to parameterize?

Yes. It is possible.  
You should follow this tutorial:

[https://docs.katalon.com/katalon-studio/docs/run-test-case-external-data.html#create-a-new-test-suite-with-test-case-variables](https://docs.katalon.com/katalon-studio/docs/run-test-case-external-data.html#create-a-new-test-suite-with-test-case-variables)

---

<div class="post-metadata">

**Author:** ![vtanguturi](https://avatars.discourse-cdn.com/v4/letter/v/ce73a5/32.png) [@vtanguturi](https://forum.katalon.com/u/vtanguturi)\
**Post date:** [May 29, 2020, 3:14pm UTC](https://forum.katalon.com/t/how-to-parameterize-values-to-testobject-in-object-repository/44011/3 "2020-05-29T15:14:55Z")

</div>

@ThanhTo, thanks for your reply, but that didn’t help me on how to change the values for radio buttons specifically. also I am reading an external excelsheet by using poi.apache

---

<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:** [June 1, 2020, 6:39am UTC](https://forum.katalon.com/t/how-to-parameterize-values-to-testobject-in-object-repository/44011/5 "2020-06-01T06:39:45Z")

</div>

Hi @vtanguturi

Please check out the document for [parameterizing web objects](https://docs.katalon.com/katalon-studio/docs/manage-web-test-object.html#parameterize-web-test-objects) and see if it’s what you need.

Jass

---

<div class="post-metadata">

**Author:** ![vtanguturi](https://avatars.discourse-cdn.com/v4/letter/v/ce73a5/32.png) [@vtanguturi](https://forum.katalon.com/u/vtanguturi)\
**Post date:** [June 2, 2020, 4:51pm UTC](https://forum.katalon.com/t/how-to-parameterize-values-to-testobject-in-object-repository/44011/6 "2020-06-02T16:51:47Z")

</div>

Actually, I got it working in different way. Thanks though @Jass
