Improving Object Recognition with Microsoft Accessibility

You can use Microsoft Accessibility (Accessibility) to ease the recognition of objects at the class level. There are several objects in Internet Explorer and in Microsoft applications that Silk4J can better recognize if you enable Accessibility. For example, without enabling Accessibility Silk4J records only basic information about the menu bar in Microsoft Word and the tabs that appear. However, with Accessibility enabled, Silk4J fully recognizes those objects.

Example

Without using Accessibility, Silk4J cannot fully recognize a DirectUIHwnd control, because there is no public information about this control. Internet Explorer uses two DirectUIHwnd controls, one of which is a popup at the bottom of the browser window. This popup usually shows the following:
  • The dialog box asking if you want to make Internet Explorer your default browser.
  • The download options Open, Save, and Cancel.

When you start a project in Silk4J and record locators against the DirectUIHwnd popup, with accessibility disabled, you will see only a single control. If you enable Accessibility you will get full recognition of the DirectUIHwnd control.