# Double Parameterized test object call

**URL:** <https://forum.katalon.com/t/double-parameterized-test-object-call/60302>\
**Category:** Web Testing\
**Tags:** katalon-studio\
**Created:** [November 23, 2021, 11:25pm UTC](https://forum.katalon.com/t/double-parameterized-test-object-call/60302 "2021-11-23T23:25:16Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![farooqi.uzair1990](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/farooqi.uzair1990/32/16104_2.png) [@farooqi.uzair1990](https://forum.katalon.com/u/farooqi.uzair1990)\
**Post date:** [November 23, 2021, 11:25pm UTC](https://forum.katalon.com/t/double-parameterized-test-object-call/60302/1 "2021-11-23T23:25:16Z")

</div>

```
def static hoverOnColor(final String colorId) {
	WebUI.waitForElementPresent(findTestObject('ProductLandingPage/ColorSwatch', [('siteID'): 'coveobe9eb65f', [('buttonID'):colorId]]), 2)
}

```

I have the above mentioned method that tries to find the test object based on two dynamic parameters.

I followed the syntax from [https://docs.katalon.com/katalon-studio/docs/parameterize-web-objects.html#example](https://docs.katalon.com/katalon-studio/docs/parameterize-web-objects.html#example) but still I am getting squiggly line on the second parameter. Is there something wrong with this syntax?

---

<div class="post-metadata">

**Author:** ![kazurayam](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/kazurayam/32/333_2.png) [@kazurayam](https://forum.katalon.com/u/kazurayam)\
**Post date:** [November 23, 2021, 11:34pm UTC](https://forum.katalon.com/t/double-parameterized-test-object-call/60302/2 "2021-11-23T23:34:02Z")

</div>

You have this:

```auto
[('siteID'): 'coveobe9eb65f', [('buttonID'):colorId]]

```

Try changing it to:

```auto
[('siteID'): 'coveobe9eb65f', ('buttonID'):colorId]

```
