I have deleted all Objects from Object Repo and I am passing x-paths of objects through an excel sheet and I am able to automate scenarios.
I have used below code for this:
TestObject dynamicObject = new TestObject(‘dynamicObject’).addProperty(‘xpath’, ConditionType.EQUALS, xpath)
WebUI.setText(dynamicObject, inputValue)