无法继续回放。
说明
映射测试对象将作为参数跳至 com.rational.test.ft.object.interfaces.TestObject 类的等同方法。映射测试对象不能作为参数跳至此类的等同方法。
用户响应
确保映射测试对象未作为参数跳至 com.rational.test.ft.object.interfaces.TestObject 类的等同方法。例如,如果您调用了映射测试对象上的 GetChildren() 方法以返回此对象的所有子代,那么这些返回的子代为未映射的测试对象。
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"));