Q. Can QARun test GUI objects in Microsoft Access, such as forms and reports?
A. No. Access (and other Microsoft Office applications) does not use standard Windows controls. In fact, Access renders (paints) the controls onto the screen. Further, Microsoft does not publish an API to allow third party programs to query the objects on Access forms. An MSDN article that describes the problem is located at: mk:@ivt
dui/good/msaa/msaasdk_5upe.htm. The text is shown here:
Standard Dialog Manager (SDM) is an internal Microsoft code library that provides applications with a degree of independence from the differences between the Macintosh and Windows operating systems. SDM is primarily used for dialog boxes in the Microsoft Excel and Microsoft Word applications.
SDM presents problems for accessibility aids because it uses nonstandard implementations of dialog boxes. For example, SDM dialog box buttons do not use window handles in the usual sense. You cannot send messages to buttons and buttons aren't contained in the window list. The application using SDM communicates with it through a private interface.
The following illustration shows a sample dialog box from Microsoft Word. While it looks like a standard Windows dialog box that uses the pagetab control, it s really an SDM dialog box.