I am trying to create a object using
TestObject RowToBeClicked = new TestObject().addProperty(“xpath”, ConditionType.EQUALS, “//tr[${RowTobe}]/td[1]”)
RowToBe is a variable but I am getting an error for conditionType as below
Reason:
groovy.lang.MissingPropertyException: No such property: ConditionType for class: Script1605804838566