Playback cannot continue.
A mapped test object was passed as an argument to
the equals method of the com.rational.test.ft.object.interfaces.TestObject
class. Mapped test objects cannot be passed as the argument to the
equals method for this class.
Make sure that a mapped test object is not passed
as an argument to the equals method of the com.rational.test.ft.object.interfaces.TestObject
class. For example, if you call the GetChildren() method on a mapped
test object to return all the children of that object, the returned
children are unmapped test objects. applicationmenuBar().click(atPath("File"));
TestObject to[] = applicationmenuBar().getChildren();
for(int i=0;i<to.length;i++){
System.out.println(applicationmenuBar().equals(to[i]));
// Exception is not thrown here to[i] is an unmappedtestobject
System.out.println(applicationmenuBar().equals(applicationmenuBar()));
// Exception occurs here since applicationmenuBar() is a mappedtestObject
}
applicationmenuBar().click(atPath("View"));