Version

xamContextMenu - Testable User Actions and Elements

Topic Overview

Purpose

This topic provides information about the user actions of the xamContextMenu™ control which you can test and the elements you can inspect.

xamContextMenu Testable User Actions

Testable user actions chart

The table below lists the testable user actions of the control and maps them to recordable methods that emulate them.

User action Method

Checking the menu item checkbox

Collapsing the submenu

Expanding the submenu

Selecting a menu item

Unchecking the menu item checkbox

xamContextMenu Testable Elements

Testable elements summary chart

The following table lists the elements in the control that you can test, the information you can retrieve about them, and the properties and methods that manage the retrieve operations.

Legend:

spy.png – Identification property (Visible in object spy)

checkpoint.png – Checkpoint property (Visible with checkpoints)

script.png – Accessible in script

Tested element Test deliverable Member type Test object member Accessibility

Sub-menu items

A list of headers of the sub-menu items of the selected menu item

property

childmenuitems

spy.png checkpoint.png

method

GetChildrenOfMenuItem

script.png

The number of visible sub-menu items of the selected menu item

property

childmenuitemscount

spy.png checkpoint.png

method

GetChildrenCountOfMenuItem

script.png

The table below lists other topics you may find useful.

Topic Purpose

This topic provides reference information about the recordable user methods for testing the xamContextMenu™ control.

This topic provides reference information about the replay-only user methods for testing the xamContextMenu™ control.

This topic provides reference information about the inspectable test object properties of the xamContextMenu™ control.

This topic provides reference information about the proxy class that supports the testing of the xamContextMenu™ control in Micro Focus Unified Functional Testing software.