I try to get all elements with recognition properties Html.LI and click in every testobjects.
RootTestObject rto = getRootTestObject();
TestObject[] objects = rto.find(atDescendant(".class", "Html.LI"));
for (int i = 0; i < objects.length; i++) {
GuiTestObject gui1 = new GuiTestObject ();
gui1 = (GuiTestObject) objects[i];
gui1.hasFocus();
gui1.click();
}
}
When I get objects[0] and click on it, page reloads. When I try to click to objects[1], error message CRFCP0050E: No screen point found for object.]
Do you have any idea how to work around?