TestEnvironment tEnv = new TestEnvironment(oObj);
tEnv.addObjRelation("EditOnly", "toolkit.AccessibleTabPage");
tEnv.addObjRelation("LimitedBounds", "toolkit.AccessibleTabPage");
XAccessibleComponent accComp = (XAccessibleComponent) UnoRuntime.queryInterface(
XAccessibleComponent.class,
oObj);
final Point point = accComp.getLocationOnScreen();
shortWait();
XInterface xEventInt = at.getAccessibleObjectForRole(xRoot, AccessibleRole.PAGE_TAB, "Variables");
final XAccessibleComponent eventAccComp = (XAccessibleComponent) UnoRuntime.queryInterface(
XAccessibleComponent.class,
xEventInt);
tEnv.addObjRelation("EventProducer",
new ifc.accessibility._XAccessibleEventBroadcaster.EventProducer() {
public void fireEvent() {
eventAccComp.grabFocus();
}
});
return tEnv;
}