TestObject dynamicObject = new TestObject().addProperty(“xpath”, ConditionType.EQUALS, xpath)
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)
Can you please help me to get it resolved ? Is above approach/Syntax is correct ?