I use following code to get dynamic objects
TestObject flexibleTestObject = new TestObject();
flexibleTestObject.addProperty("xpath", ConditionType.EQUALS, xpath);
But problem is sometime i want to see if flexibleTestObject is able to hold that html object or not.
What i want to do is, get a dynamic TestObect, if its in html and found do this, if not then try to find other dynamic object.
Currently what happens is that i get error that unable to click "null". So i want to see when a TestObject has a value of null or not.