Office Win32 Extension Connector (for MS Access)
(Available from version 7.0 onwards.)
Automation Studio is designed to provide powerful and reliable screen element capturing from Microsoft Access, using the Office Win32 Extension Connector.
Connector Features
The built-in Office Win32 Extension Connector provides the following features:
-
Capture of Win32 Office objects
-
Support for 32-bit and 64-bit architecture
Configure the Connector
No configuration is required for the Office Win32 Extension Connector. This connector is enabled by default.
Capture a Screen Element
The procedure for capturing a screen element from an Office application is the same as for all screen elements. See Capture a Screen Element.
The following guidelines are specific to capturing elements from an Office application:
-
Any field in a Microsoft Access form can be captured.
-
Screen elements can only be captured from *.mdb files. Screen elements cannot be captured from *.accdb files.
Edit a Screen Element
The Edit Screen Element window opens after capturing a screen element. This screen allows you to customize how the screen element is treated and identified. See Edit a Screen Element.
Information specific to Microsoft Access screen elements is provided below.
Element Hierarchy
The element hierarchy for a captured Microsoft Access element is as follows:
-
Root branch, named MSACCESS
-
Win32 Form, which is the parent for the series of Win32 screen elements in the hierarchy, by default named with a prefix OMAIN - ACCESS
-
Win32 Office Access Form, which is the form that contains the captured element, by default named with a prefix Access Form
-
Captured screen element, by default named with a prefix ACCESS <Element Type>, for example, Access TexBox
-
-
-
See View the Element Hierarchy.
Screen Element Types Supported
The screen element type values available differ between levels in the hierarchy.
Type |
Screen Element Types |
---|---|
Screen Element |
|
Win32 Office Access Form |
|
Win32 Form |
|
MSACCESS |
|
Recognition Properties Supported
The recognition properties available differ between levels in the hierarchy.
Property |
Description |
---|---|
My Access Control Name | The name of the captured Access control. |
My Access Control Type | The type of the captured Access control, for example, TextBox. |
My Access Control Path | The path to the captured access control, for example Table2/device_1. |
Property |
Description |
---|---|
My Access Form Name | The name of the form that contains the captured element, for example, Table2 |
PROPERTY |
DESCRIPTION |
---|---|
My Window Class Name is | The name of the class to which the specified physical object belongs. |
My Window Children Count is |
The number of child objects. |
My Window Visibility is |
Identifies a window based on its visibility. When the window is visible, the physical object is recognized. When the window is hidden, the physical object is destroyed until the window becomes visible again. |
My Window Relative Location is |
Identifies a window based on the location of its parent window. The format for this property's value is YYYYXXXX, where YYYY indicates the Y offset and XXXX indicates the X offset (including a leading zero) from the parent window. For example, the 00640078 value (see the screenshot above) indicates that the window location has an offset of (0064,0078) from its parent window. |
My Window Width is | Window width in pixels. |
My Window Height is | Window height in pixels. |
My Window Child Id is | The window ID. |
My Window Z Order is |
The window position in a stack of overlapping windows. A window stack is oriented along an imaginary axis, the z-axis, extending outward from the screen. The window at the top of the z-order overlaps all other windows. The window at the bottom of the z-order is overlapped by all other windows. When an application creates a window, the system puts it at the top of the z-order for windows of the same type. You can change the z-order by activating a different window. The system positions the active window at the top of the z-order for windows of the same type. When a window comes to the top of z-order, so do its child windows. |
My Window Class Z Order is | The class of the window’s position in a stack of overlapping windows. |
My Window Name is | A window name where Win32 physical object is hosted. |
My Window Accessible Name is |
Provides accessibility support. Accessibility support enables you to identify a given screen element and to activate its default action. For example, for a button, the default action is to click the button. This feature is ideal when you have a Win32 application that has a control whose functions you cannot invoke using standard Win32 functions (for example, GUI libraries in which vendors have implemented extensions to Win32 functionality by creating additional buttons). Custom buttons created in this manner may not support a Win32 click function, thus limiting Real-Time Designer's ability to recognize them as buttons. In such cases, you can use accessibility options to generate a click event, whereas otherwise you could not. |
My Child Window Class Name is | Gets the name of the class, to which the child object belongs. |
My Child Window Name is | Indicates having a child with specified name. |
My Child Window Accessible Name is | Indicates having a child with specified accessible name. |
My Child Window Child Id is | Indicates having a child with this ID. |
My Child Window Children Count is | Indicates having a child with defined children count. |
Property |
Description |
---|---|
My Process Name is | Process name of the process in the process tree. |
My Parent Process Name is | Parent process name (if exists). |
My Parent Process Name is not | Self property provides the name of the process, which can’t be a parent process (the process one level higher). |
My Process Level is | Process level in the process tree. Useful in a scenario where the application has more than one process on different levels. |
Main Relation Type
The element's main relation type is displayed in the Edit Screen Element window, but cannot be changed.
This section is not displayed for the MSACCESS process.
See Identify an Element's Main Relation Type.
Multi Instance Support
The Office Win32 Extension Connector provides support for multiple instances of an Office application.
You can specify which instance of the application to relate to if multiple instance of the same application are open.
Multi instance support differs between levels in the hierarchy.
Type |
Multi Instance Support |
---|---|
Win32 Office Access Screen Element |
Optional, inactive by default. |
Win32 Office Access Forms | Optional, inactive by default. |
Win32 Forms |
Optional, inactive by default. |
MSACCESS Process |
Active by default, cannot be deactivated. |
See Set Multi Instance Behavior
Screen Element Assets
Each screen elements has its own properties, functions, and events. These are visible in the Assets Panel.
For information on screen element assets, see here.
Monitor Screen Elements in Debug Mode
When in debug mode, you can view and modify the values of a screen element's properties.
For example, the text entered in the device_1 field (i.e. processor) in Table2 is displayed in the text box's Text field.