CS agents will respond to tickets via forum instead of private helpdesk to support other users with similar issues.

How to add data test to "modifyObjectProperty

Hi there,
anyone now how to add data test too order "modifyObjectProperty".
WebUI.modifyObjectProperty(findTestObject(ObjectRepository), 'PropertyToChange',
'equals',******howToAddDataTestHere******, true)


  • edited October 6

    What data do you mean? This keyword takes String as modifyValue parameter (in this case your data). Simply add there a string with new value of a property.

  • edited October 6

    I want have there dynamic property which change after each test case execution. I want get him from row in excel data test. First execution get first row from data test, second execution get next etc.

  • I think this is not possible. You'd have to save your last data (or # of execution) into some external object (database, file, ...) and then load next one. There is background logic, but still you have to save the result into a string.

  • you can do that, just follow this link https://www.katalon.com/resources-center/tutorials/data-driven-testing/

    and change the action according to your need

Sign In or Register to comment.