The following table briefly explains the replay-only methods for testing the control. Detailed information about the methods is provided below the table.
Clicks on the specified item at the specified location.
ClickSubItem Method
Description
The ClickSubItem method replays the click user action performed on a specified item at a specifed location.
Details
This is a common method for most of the supported controls that have sub-items. By default, this is a replay-only method, but it can be recorded in sub-items.
Parameters
The following table explains the method’s parameters along with some sample code.
Method Parameter
Description
Sub Item Type
(required)
The sub-item type parameter can take one of the following options that define an area in the control:
• OutlookBarGroup = 0,
• SelectedGroupHeader = 1,
• SelectedGroupContent = 2,
• OverflowArea = 3,
• NavArea = 4
The method can accept either the string interpretation or the index as a parameter.
Sub-item
(required)
The sub-item is the targeted element that will be clicked.
Region (Optional)
The Region parameter can take one of the following options:
igTopLeft,
igTopCenter,
igTopRight,
igMidLeft,
igMidCenter,
igMidRight,
igBottomLeft,
igBottomCenter,
igBottomRight,
igAt,
igPercent
Modifier 1
(Optional)
Modifier 2
( Optional)
The exact location is defined by the region parameter or by the combination of region and modifiers. Through the modifiers, you specify an offset in the region.
Example
Click on the xamOutlookBar’s group with header “Calendar” in its center:
This topic provides reference information about the proxy class that supports the testing of the xamOutlookBar control in Micro Focus Unified Functional Testing software.
This page has encountered an error. We've attempted to send the information to the server.