}
XExtendedToolkit tk = (XExtendedToolkit) UnoRuntime.queryInterface(
XExtendedToolkit.class, oObj);
AccessibilityTools at = new AccessibilityTools();
shortWait();
XWindow xWindow = (XWindow) UnoRuntime.queryInterface(XWindow.class,
tk.getActiveTopWindow());
XAccessible xRoot = at.getAccessibleObject(xWindow);
XAccessibleContext closeButton = at.getAccessibleObjectForRole(xRoot,
AccessibleRole.PUSH_BUTTON,
"Close");
accCloseButton = (XAccessibleAction) UnoRuntime.queryInterface(
XAccessibleAction.class, closeButton);
oObj = at.getAccessibleObjectForRole(xRoot, AccessibleRole.PAGE_TAB);
log.println("ImplementationName: " + util.utils.getImplName(oObj));
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",