TestObject dynamicObject = new TestObject().addProperty(“xpath”, ConditionType.EQUALS, xpath)
WebUI.setText(dynamicObject, inputValue)
I was able to set text in text fields using above lines of code but I am not able to click on Objects using:
TestObject dynamicObject = new TestObject(‘dynamicObject’).addProperty(‘xpath’, ConditionType.EQUALS, xpath)
WebUI.click(dynamicObject, xpath)
Can you please help me to get it resolved ? Is above approach/Syntax is correct ?