oObj = at.getAccessibleObjectForRole(xRoot, AccessibleRole.TREE);
XAccessibleSelection xAccSel = (XAccessibleSelection) UnoRuntime.queryInterface(
XAccessibleSelection.class,
oObj);
xAccSel.selectAccessibleChild(3);
shortWait();
} catch (com.sun.star.lang.IndexOutOfBoundsException e) {
throw new StatusException("Can't switch to required tab", e);
}