}
XExtendedToolkit tk = (XExtendedToolkit) UnoRuntime.queryInterface(
XExtendedToolkit.class, oObj);
AccessibilityTools at = new AccessibilityTools();
util.utils.shortWait(2000);
XWindow xWindow = (XWindow) UnoRuntime.queryInterface(XWindow.class,
tk.getActiveTopWindow());
XAccessible xRoot = at.getAccessibleObject(xWindow);
XAccessibleContext iconChoiceCtrl = at.getAccessibleObjectForRole(
xRoot, AccessibleRole.TREE,
"IconChoiceControl");
XAccessibleSelection sel = (XAccessibleSelection) UnoRuntime.queryInterface(
XAccessibleSelection.class,
iconChoiceCtrl);
try {
sel.selectAccessibleChild(0);
} catch (com.sun.star.lang.IndexOutOfBoundsException e) {
log.println("Unexpected exception");
e.printStackTrace(log);
}
at.printAccessibleTree(log,xRoot, tParam.getBool(util.PropertyName.DEBUG_IS_ACTIVE));
oObj = at.getAccessibleObjectForRole(xRoot,
AccessibleRole.RADIO_BUTTON,
"Web");
XAccessibleContext anotherButton = at.getAccessibleObjectForRole(xRoot,
AccessibleRole.RADIO_BUTTON,
"FTP");
XAccessibleContext closeButton = at.getAccessibleObjectForRole(xRoot,
AccessibleRole.PUSH_BUTTON,
"Close");
accCloseButton = (XAccessibleAction) UnoRuntime.queryInterface(