# modifyObjectProperty

**URL:** <https://forum.katalon.com/t/modifyobjectproperty/6309>\
**Category:** Web Testing\
**Tags:** katalon-studio\
**Created:** [May 19, 2017, 6:55pm UTC](https://forum.katalon.com/t/modifyobjectproperty/6309 "2017-05-19T18:55:21Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Carlos\_Fontana](https://avatars.discourse-cdn.com/v4/letter/c/cc9497/32.png) [@Carlos\_Fontana](https://forum.katalon.com/u/Carlos_Fontana)\
**Post date:** [May 19, 2017, 6:55pm UTC](https://forum.katalon.com/t/modifyobjectproperty/6309/1 "2017-05-19T18:55:21Z")

</div>

Hi

I want to modify a property at run time. I perform the steps that are indicated in the docs:

> _`'Modify xpath of \'Login\' button'`_
> 
> _`new_btn = WebUI.modifyObjectProperty(findTestObject(``'Page_Login/btn_Login'``), ``'xpath'``, ``'equals'``, ``'//*[@type=\"button\"]'``, false)`_
> 
> _` `_ 
> 
> _`'Click on new_btn'`_
> 
> _`WebUI.click(findTestObject(``'new_btn'``))`_

the Property changes correctly

But in the step: _`WebUI.click(findTestObject(``'new_btn'``)) `_`fail`

> _[INFO] - Finding Test object with id 'Object Repository/new\_btn'_ _[WARNING] - Test object with id 'Object Repository/new\_btn' does not exist__[INFO] - Finding Test object with id 'Object Repository/'__[WARNING] - Test object with id 'Object Repository/' does not exist__[INFO] - Checking object__[FAILED] - Unable to click on object (Root cause: java.lang.IllegalArgumentException: Object is null)_

---

<div class="post-metadata">

**Author:** ![Carlos\_Fontana](https://avatars.discourse-cdn.com/v4/letter/c/cc9497/32.png) [@Carlos\_Fontana](https://forum.katalon.com/u/Carlos_Fontana)\
**Post date:** [May 23, 2017, 8:37pm UTC](https://forum.katalon.com/t/modifyobjectproperty/6309/2 "2017-05-23T20:37:25Z")

</div>

Is not need to use findTestObject when you use your created test object as test object parameter in built-in keyword. You only need to pass in the parameter without using findTestObject.

Please modify the doc at [https://docs.katalon.com/display/KD/[WebUI]+Modify+Object+Property](https://docs.katalon.com/display/KD/%5BWebUI%5D+Modify+Object+Property)  
the example is wrong because it uses findTestObject

---

<div class="post-metadata">

**Author:** ![Carlos\_Fontana](https://avatars.discourse-cdn.com/v4/letter/c/cc9497/32.png) [@Carlos\_Fontana](https://forum.katalon.com/u/Carlos_Fontana)\
**Post date:** [May 23, 2017, 8:05pm UTC](https://forum.katalon.com/t/modifyobjectproperty/6309/3 "2017-05-23T20:05:51Z")

</div>

Thanks for the answers

If I do the following:  
_`new_btn = WebUI.modifyObjectProperty(findTestObject(``'Page_Login/btn_Login'``),``'xpath'``,` `'equals'``,` `'//*[@type=\"button\"]'``, true)`_

_`WebUI.click(findTestObject(``new_btn``)) // without quotes`_

Returns signature error, because findTestObject expects a string

If I do the following:  
_`String new_btn = WebUI.modifyObjectProperty(findTestObject(``'Page_Login/btn_Login'``),``'xpath'``,` `'equals'``,``'//*[@type=\"button\"]'``, true)`_

_`WebUI.click(findTestObject(``new_btn``))`_

return the same:

_[INFO] – Finding Test object with id ‘Object Repository/new\_btn’_  
_[WARNING] – Test object with id ‘Object Repository/new\_btn’ does not exist_  
_[INFO] – Finding Test object with id ‘Object Repository/’_  
_[WARNING] – Test object with id ‘Object Repository/’ does not exist_  
_[INFO] – Checking object_  
_[FAILED] – Unable to click on object (Root cause: java.lang.IllegalArgumentException: Object is null)_

---

<div class="post-metadata">

**Author:** ![Carlos\_Fontana](https://avatars.discourse-cdn.com/v4/letter/c/cc9497/32.png) [@Carlos\_Fontana](https://forum.katalon.com/u/Carlos_Fontana)\
**Post date:** [May 22, 2017, 7:27pm UTC](https://forum.katalon.com/t/modifyobjectproperty/6309/4 "2017-05-22T19:27:27Z")

</div>

Thanks for the answers

If I do the following:  
_`new_btn = WebUI.modifyObjectProperty(findTestObject(``'Page_Login/btn_Login'``),``'xpath'``,` `'equals'``,` `'//*[@type=\"button\"]'``, true)`_

_`WebUI.click(findTestObject(``new_btn``)) // without quotes`_

Returns signature error, because findTestObject expects a string

If I do the following:  
_`String new_btn = WebUI.modifyObjectProperty(findTestObject(``'Page_Login/btn_Login'``),``'xpath'``,` `'equals'``,` `'//*[@type=\"button\"]'``, true)`_

_`WebUI.click(findTestObject(``new_btn``))`_

return the same:

_[INFO] – Finding Test object with id ‘Object Repository/new\_btn’_  
_[WARNING] – Test object with id ‘Object Repository/new\_btn’ does not exist_  
_[INFO] – Finding Test object with id ‘Object Repository/’_  
_[WARNING] – Test object with id ‘Object Repository/’ does not exist_  
_[INFO] – Checking object_  
_[FAILED] – Unable to click on object (Root cause: java.lang.IllegalArgumentException: Object is null)_

---

<div class="post-metadata">

**Author:** ![duyluong](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/duyluong/32/1116_2.png) [@duyluong](https://forum.katalon.com/u/duyluong)\
**Post date:** [May 20, 2017, 4:40am UTC](https://forum.katalon.com/t/modifyobjectproperty/6309/5 "2017-05-20T04:40:29Z")

</div>

It should be

`WebUI.click(new_btn)`

---

<div class="post-metadata">

**Author:** ![Zarashima](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/zarashima/32/928_2.png) [@Zarashima](https://forum.katalon.com/u/Zarashima)\
**Post date:** [May 20, 2017, 2:27am UTC](https://forum.katalon.com/t/modifyobjectproperty/6309/6 "2017-05-20T02:27:53Z")

</div>

Hi there,

This line should be corrected:

> _`WebUI.click(findTestObject(``'new_btn'``))`_

To:

> _`WebUI.click(findTestObject(``new_btn``))`_

The root cause is ‘new\_btn’ will be acted as string if you put it between single quotes . You need to call variable, that’s why you shouldn’t put it between single quotes

---

<div class="post-metadata">

**Author:** ![vladimir\_vusovic](https://avatars.discourse-cdn.com/v4/letter/v/ebca7d/32.png) [@vladimir\_vusovic](https://forum.katalon.com/u/vladimir_vusovic)\
**Post date:** [January 5, 2018, 5:06pm UTC](https://forum.katalon.com/t/modifyobjectproperty/6309/7 "2018-01-05T17:06:49Z")

</div>

@“Carlos Fontana”, can confirm this.  
calling the modified object should not contain _`findTestObject`_ and object name should not be in quotation marks.

apart from this, i ran into some problems when leaving the command without timeout.

setting it up like this, worked like a charm for me:

WebUI.verifyElementPresent(new\_btn, 10)

---

<div class="post-metadata">

**Author:** ![Zarashima](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/zarashima/32/928_2.png) [@Zarashima](https://forum.katalon.com/u/Zarashima)\
**Post date:** [January 8, 2018, 6:27am UTC](https://forum.katalon.com/t/modifyobjectproperty/6309/8 "2018-01-08T06:27:34Z")

</div>

Ops very sorry guys. I’ve corrected that Javadoc :). Once again sorry for this and thanks for pointing out that error.

Regards

---

<div class="post-metadata">

**Author:** ![Jonathan\_Moore](https://avatars.discourse-cdn.com/v4/letter/j/47e85d/32.png) [@Jonathan\_Moore](https://forum.katalon.com/u/Jonathan_Moore)\
**Post date:** [January 30, 2018, 12:33am UTC](https://forum.katalon.com/t/modifyobjectproperty/6309/9 "2018-01-30T00:33:40Z")

</div>

Hi, The docs at [https://docs.katalon.com/display/KD/[WebUI]+Modify+Object+Property](https://docs.katalon.com/display/KD/%5BWebUI%5D+Modify+Object+Property)  
still say eg:

```auto
new_btn = WebUI.modifyObjectProperty(findTestObject('Page_Login/btn_Login'), 'xpath', 'equals', '//*[@type=\"button\"]', false)

```

`however it seems this first finds the object without modifying the xpath, and the comment above says "`calling the modified object should not contain _`findTestObject`_ " - so what would be the correct code?

--------------------  
on further testing, I got a working code like:

```auto
TestObject dynamicObject = new TestObject('dynamicObject').addProperty('xpath', com.kms.katalon.core.testobject.ConditionType.EQUALS, newXPath, true)
WebUI.waitForElementVisible(dynamicObject, 3)

```

creating a new object rather than getting a TestObject from the repository and modifying it.

I didn’t find this type of usage in the documentation, just guesswork and hints on the forums, so it would be good to have some clarification about which is the recommended syntax.

---

<div class="post-metadata">

**Author:** ![Michelle\_W](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/michelle_w/32/23869_2.png) [@Michelle\_W](https://forum.katalon.com/u/Michelle_W)\
**Post date:** [May 25, 2018, 1:58pm UTC](https://forum.katalon.com/t/modifyobjectproperty/6309/10 "2018-05-25T13:58:26Z")

</div>

> Jonathan Moore said:
> 
> Hi, The docs at [https://docs.katalon.com/display/KD/[WebUI]+Modify+Object+Property](https://docs.katalon.com/display/KD/%5BWebUI%5D+Modify+Object+Property)  
> still say eg:
> 
> ```auto
> new_btn = WebUI.modifyObjectProperty(findTestObject('Page_Login/btn_Login'), 'xpath', 'equals', '//*[@type=\"button\"]', false)
> 
> ```
> 
> `however it seems this first finds the object without modifying the xpath, and the comment above says "`calling the modified object should not contain _`findTestObject`_ " - so what would be the correct code?
> 
> --------------------  
> on further testing, I got a working code like:
> 
> ```auto
> TestObject dynamicObject = new TestObject('dynamicObject').addProperty('xpath', com.kms.katalon.core.testobject.ConditionType.EQUALS, newXPath, true)
> 
> ```

WebUI.waitForElementVisible(dynamicObject, 3)

> ```auto
> 
>   
> 
> creating a new object rather than getting a TestObject from the repository and modifying it.
> 
> I didn't find this type of usage in the documentation, just guesswork and hints on the forums, so it would be good to have some clarification about which is the recommended syntax.
> 
>   
> 
>   
> 
>   
> 
> ```

This solution worked better for me, so thank you for posting this. The Modify Object Property didn’t work at all even after following the example in the docs.

This is what I had when using modifyObjectProperty where orgName is actually a variable:

`newLabel = WebUI.modifyObjectProperty(findTestObject(object path),` `'text'``,` `'contains'``,` `orgName``, false)`

`WebUI.click(newLabel)`

---

<div class="post-metadata">

**Author:** ![Dominik\_Kreft](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/dominik_kreft/32/5433_2.png) [@Dominik\_Kreft](https://forum.katalon.com/u/Dominik_Kreft)\
**Post date:** [May 31, 2018, 12:56pm UTC](https://forum.katalon.com/t/modifyobjectproperty/6309/11 "2018-05-31T12:56:17Z")

</div>

> Jonathan Moore said:
> 
> Hi, The docs at [https://docs.katalon.com/display/KD/[WebUI]+Modify+Object+Property](https://docs.katalon.com/display/KD/%5BWebUI%5D+Modify+Object+Property)  
> still say eg:
> 
> ```auto
> new_btn = WebUI.modifyObjectProperty(findTestObject('Page_Login/btn_Login'), 'xpath', 'equals', '//*[@type=\"button\"]', false)
> 
> ```
> 
> `however it seems this first finds the object without modifying the xpath, and the comment above says "`calling the modified object should not contain _`findTestObject`_ " - so what would be the correct code?
> 
> --------------------  
> on further testing, I got a working code like:
> 
> ```auto
> TestObject dynamicObject = new TestObject('dynamicObject').addProperty('xpath', com.kms.katalon.core.testobject.ConditionType.EQUALS, newXPath, true)
> 
> ```

WebUI.waitForElementVisible(dynamicObject, 3)

> ```auto
> 
>   
> 
> creating a new object rather than getting a TestObject from the repository and modifying it.
> 
> I didn't find this type of usage in the documentation, just guesswork and hints on the forums, so it would be good to have some clarification about which is the recommended syntax.
> 
>   
> 
> ```

This works like a charm, thanks!!  
ModifyObjectProperty isn’t working at all, wonder if it’s buggy or what exactly the issue is.

---

<div class="post-metadata">

**Author:** ![Andrew](https://avatars.discourse-cdn.com/v4/letter/a/f19dbf/32.png) [@Andrew](https://forum.katalon.com/u/Andrew)\
**Post date:** [June 5, 2018, 2:35am UTC](https://forum.katalon.com/t/modifyobjectproperty/6309/12 "2018-06-05T02:35:21Z")

</div>

Hi

I face a very same error. I am very new to Katalon Studio.

Here is the 2 lines that error for me:

WebUI.waitForElementPresent(findTestObject(‘html\_Bronto - Editing Message’), 10)

WebUI.click(findTestObject(‘html\_Bronto - Editing Message’))

However i am not sure the object property gets modified during the run. Maybe I am mistaken?

Here are the screen shots of the error and properties.  
 ![](https://s3.amazonaws.com/katalon-forum/editor/57/ttk48wfpocil.png "Image: https://s3.amazonaws.com/katalon-forum/editor/57/ttk48wfpocil.png") ![](https://s3.amazonaws.com/katalon-forum/editor/xz/x3jw2ywyjrh9.png "Image: https://s3.amazonaws.com/katalon-forum/editor/xz/x3jw2ywyjrh9.png")

Perhaps it is a different issue? Please advise.

\*\*Note: \*\*I found that the actual click was not really an important step (or action) - so for now I have commented the 2 lines and it seems to work.  
Still would like to know based on the above screen shots if the object does gets modified.

Thank you,  
Andrew

[Error.png](https://s3.amazonaws.com/katalon-forum/editor/57/ttk48wfpocil.png)

[Object.png](https://s3.amazonaws.com/katalon-forum/editor/xz/x3jw2ywyjrh9.png)

---

<div class="post-metadata">

**Author:** ![Mate\_Mrse](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/mate_mrse/32/345_2.png) [@Mate\_Mrse](https://forum.katalon.com/u/Mate_Mrse)\
**Post date:** [June 5, 2018, 6:20am UTC](https://forum.katalon.com/t/modifyobjectproperty/6309/13 "2018-06-05T06:20:36Z")

</div>

Are you actually using an existing object you are trying to modify?

Because, your log says “The object with id 'Object Repository/” does not exist.

---

<div class="post-metadata">

**Author:** ![Andrew](https://avatars.discourse-cdn.com/v4/letter/a/f19dbf/32.png) [@Andrew](https://forum.katalon.com/u/Andrew)\
**Post date:** [June 5, 2018, 2:07pm UTC](https://forum.katalon.com/t/modifyobjectproperty/6309/14 "2018-06-05T14:07:28Z")

</div>

Hi Mate

Actually i am not trying to modify anything. It is an existing object.  
How do I know it is changing “on the fly”? And if yes - how to make sure it always recognized - by wildcarding?

Thank you very much!  
Andre

---

<div class="post-metadata">

**Author:** ![Mate\_Mrse](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/mate_mrse/32/345_2.png) [@Mate\_Mrse](https://forum.katalon.com/u/Mate_Mrse)\
**Post date:** [June 6, 2018, 6:13am UTC](https://forum.katalon.com/t/modifyobjectproperty/6309/15 "2018-06-06T06:13:43Z")

</div>

Now I noticed that the Selector Editor shows your html\_Bronto element isn’t defined properly, there are some brackets missing.

If you are changing a property, you could check the new value using [WebUI.getAttribute()](https://docs.katalon.com/display/KD/%5BWebUI%5D+Get+Attribute "Link: https://docs.katalon.com/display/KD/%5BWebUI%5D+Get+Attribute") or [WebUI.getCSSValue()](http://https://docs.katalon.com/display/KD/%5BWebUI%5D+Get+CSS+Value).

---

<div class="post-metadata">

**Author:** ![Andrew](https://avatars.discourse-cdn.com/v4/letter/a/f19dbf/32.png) [@Andrew](https://forum.katalon.com/u/Andrew)\
**Post date:** [June 6, 2018, 3:11pm UTC](https://forum.katalon.com/t/modifyobjectproperty/6309/16 "2018-06-06T15:11:01Z")

</div>

> [Mate Mrse](https://forum.katalon.com/profile/3100/Mate%20Mrse) said:
> 
> Now I noticed that the Selector Editor shows your html\_Bronto element isn’t defined properly, there are some brackets missing.
> 
> If you are changing a property, you could check the new value using [WebUI.getAttribute()](https://docs.katalon.com/display/KD/%5BWebUI%5D+Get+Attribute "Link: https://docs.katalon.com/display/KD/%5BWebUI%5D+Get+Attribute") or [WebUI.getCSSValue()](http://https://docs.katalon.com/display/KD/%5BWebUI%5D+Get+CSS+Value).

Hi Mate

Thank you! I will try to utilize this suggestion.

Is there anything else that needs to be done? I am asking since i am just learning using \*\*script \*\*function of Katalon Studio. Mostly did manual or recording.

If there is a good example - please share.

Thank you & Have a Great Day!  
Andrew

---

<div class="post-metadata">

**Author:** ![Andrew](https://avatars.discourse-cdn.com/v4/letter/a/f19dbf/32.png) [@Andrew](https://forum.katalon.com/u/Andrew)\
**Post date:** [June 13, 2018, 2:21am UTC](https://forum.katalon.com/t/modifyobjectproperty/6309/17 "2018-06-13T02:21:40Z")

</div>

> Mate Mrse said:
> 
> Now I noticed that the Selector Editor shows your html\_Bronto element isn’t defined properly, there are some brackets missing.
> 
> If you are changing a property, you could check the new value using [WebUI.getAttribute()](https://docs.katalon.com/display/KD/%5BWebUI%5D+Get+Attribute) or [WebUI.getCSSValue()](http://https://docs.katalon.com/display/KD/%5BWebUI%5D+Get+CSS+Value).

Hi Mate

Thank you again for your advice earlier. It has taken me some time, but i now have tried both options recommended above.

Sorry for the long post.

I found a good example to demonstrate. It is a “From” link in the inbox. In this specific case - the “xpath” is being changed every time user clicks on the object. However the “name” property always stays the same.

![](https://s3.amazonaws.com/katalon-forum/editor/js/m9eyikho8cl6.png "Image: https://s3.amazonaws.com/katalon-forum/editor/js/m9eyikho8cl6.png")

**Modifying test object:**

new\_email = WebUI.modifyObjectProperty(findTestObject(‘Page\_Gmail/span\_CPC410437’), ‘name’, ‘equals’, ‘CPC410437’, false)

WebUI.waitForElementVisible(new\_email, 15)

WebUI.click(new\_email)

Error:  
\_Unable to click on object ‘Object Repository/Page\_Gmail/span\_CPC410437’ (Root cause: com.kms.katalon.core.webui.exception.WebElementNotFoundException: Web element with id: ‘Object Repository/Page\_Gmail/span\_CPC410437’ located by 'By.xpath: ’ not found)  
\_  
Note: At this point the test object property does get modified.

**Adding a new test object:**

TestObject dynamicObject = new TestObject(‘Page\_Gmail/dynamicObject’).addProperty(‘name’, com.kms.katalon.core.testobject.ConditionType.EQUALS, ‘span\_CPC410437’, false)

WebUI.waitForElementVisible(dynamicObject, 5)

WebUI.click(dynamicObject)

Error:  
_Unable to click on object ‘Page\_Gmail/dynamicObject’ (Root cause: com.kms.katalon.core.webui.exception.WebElementNotFoundException: Web element with id: ‘Page\_Gmail/dynamicObject’ located by 'By.xpath: ’ not found)_

Here is the properties of this object:  
 ![](https://s3.amazonaws.com/katalon-forum/editor/et/qoku2trab624.png "Image: https://s3.amazonaws.com/katalon-forum/editor/et/qoku2trab624.png")

Thank you  
Andrew

[Inbox\_From\_Link.png](https://s3.amazonaws.com/katalon-forum/editor/js/m9eyikho8cl6.png)

[Inbox\_From\_Link\_property.png](https://s3.amazonaws.com/katalon-forum/editor/et/qoku2trab624.png)

---

<div class="post-metadata">

**Author:** ![Mate\_Mrse](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/mate_mrse/32/345_2.png) [@Mate\_Mrse](https://forum.katalon.com/u/Mate_Mrse)\
**Post date:** [June 13, 2018, 7:41am UTC](https://forum.katalon.com/t/modifyobjectproperty/6309/18 "2018-06-13T07:41:25Z")

</div>

Hi, Andrew

Set the last parameter of the ModifyObjectProperty to ‘true’.  
That should do the trick.

---

<div class="post-metadata">

**Author:** ![Andrew](https://avatars.discourse-cdn.com/v4/letter/a/f19dbf/32.png) [@Andrew](https://forum.katalon.com/u/Andrew)\
**Post date:** [June 14, 2018, 10:31am UTC](https://forum.katalon.com/t/modifyobjectproperty/6309/19 "2018-06-14T10:31:54Z")

</div>

> Mate Mrse said:
> 
> Hi, Andrew
> 
> Set the last parameter of the ModifyObjectProperty to ‘true’.  
> That should do the trick.

Hi Mate

I have tried with true for ModifyObjectProperty. I tried to modify based on the xpath and the name.  
In both cases i get an error - please see below.

**Modify TO by xpath:**

Unable to click on object ‘Object Repository/Page\_Gmail/span\_CPC410437’ (Root cause: com.kms.katalon.core.webui.exception.WebElementNotFoundException:

Web element with id: ‘Object Repository/Page\_Gmail/span\_CPC410437’ located by 'By.xpath:

id(“:48”)/span[@class=“bA4”]/span[@class=“zF”][count(. | //_[@name = ‘CPC410437’]) = count(//_[@name = ‘CPC410437’])]’ not found)

**Modify TO by name:**

Unable to wait for object ‘Object Repository/Page\_Gmail/span\_CPC410437’ to be visible (Root cause: org.openqa.selenium.StaleElementReferenceException:

stale element reference: element is not attached to the page document

Please advise if you spot what is incorrect.

Question - why we need to modify test object if the one of the parameters of the test object is constant/static: \*\*name.

\*\*

Thank you very much.  
Andrew

---

<div class="post-metadata">

**Author:** ![Mate\_Mrse](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/mate_mrse/32/345_2.png) [@Mate\_Mrse](https://forum.katalon.com/u/Mate_Mrse)\
**Post date:** [June 14, 2018, 11:17am UTC](https://forum.katalon.com/t/modifyobjectproperty/6309/20 "2018-06-14T11:17:12Z")

</div>

Is your xpath correct? Because it looks pretty fragile…

You can check if it is correct in dev tools: enter $x(‘id(“:48”)/span[[@class=“bA4”]/span[](http://forum.katalon.com/profile//class%3D%22bA4%22%5D%2Fspan%5B)[@class=“zF”][count(](http://forum.katalon.com/profile//class%3D%22zF%22%5D%5Bcount%28). | //_[[@name](http://forum.katalon.com/profile//name) = ‘CPC410437’]) = count(//_[[@name](http://forum.katalon.com/profile//name "Link: http://forum.katalon.com/profile//name") = ‘CPC410437’])]’) and see if it is there. Somehow, I doubt it.

Besides, in your screenshot above, you have ‘//\*[@name=“CPC410437”]’ in your selector editor. Just select XPath as selection method and see if it works.

> Question - why we need to modify test object if the one of the parameters of the test object is constant/static: **name.**

We don’t need to do that. But we _are_ in the \_\*\*modifyObjectProperty \*\*\_discussion. 😃

===

[Next page](https://forum.katalon.com/t/modifyobjectproperty/6309.md?page=2)
