It is important to recognize certain issues with Popup menus, especially as we need to differentiate between Java popups and Win32 popups.
Win32 popup menus are generally found as the topmost active popup window. Because of this, we generally can just look for the topmost active popup window and we don't need any type of recognition information to locate it.
Java popup menus are generally NOT implemented as normal Win32 popup menus and we generally DO need to have window and component recognition information for Java popup menus.
For RC and Win32 popups: Unless otherwise indicated, the Window and Component references are not used and can be anything. They just cannot be blank.
For Java popups: Unless otherwise indicated, valid recognition information for the Java window and "child" popup menu must be provided.
Also refer to JavaMenuFunctions for support specific to Java menus and popup menus.
SelectPopupMenuID |
|
Select a menuItem via its menuID in the currently active popup menu. | |||
SelectPopupMenuItem |
|
Select a menuItem via its text in the currently active popup menu. | |||
SelectUnverifiedPopupMenuItem |
|
Select a menuItem via its text in the currently active popup menu without verification. | |||
VerifyPopupMenu |
|
Verify the complete status of the current popup menu with a benchmark file. | |||
VerifyPopupMenuID |
|
Verify the state of a menuItem via its menuID in the currently active popup menu. | |||
VerifyPopupMenuItem |
|
Verify the state of a menuItem found via its text in the currently active popup menu. | |||
VerifyPopupMenuPartialMatch |
|
Verify if a menuItem contains a substring |
RC |
The routine first verifies that the specified menuitem exists and exits with error if it does not. If it does exist then the selection proceeds.
For RC and Win32 popups: The Window and Component references are not used and can be anything. They just cannot be blank.
For RC and Win32 popups: The Window and Component references are not used and can be anything. They just cannot be blank.
RC | RJ | TC |
Ampersands preceding underlined characters are optional. The routine first verifies that the specified menuitem exists and exits with error if it does not. If it does exist then the selection proceeds using the MenuID retrieved from the found menuitem.
For RC and Win32 popups: The Window and Component references are not used and can be anything. They just cannot be blank.
For Java popups: Valid recognition information for the Java window and "child" popup menu must be provided.
Also refer to JavaMenuFunctions for support specific to Java menus and popup menus.
TC Note:Component can be the object who contains 'popup menu', or it can be the 'context menu' object.
RC | RJ | TC |
The menuitem should be specified in the form "Menu->Menu->MenuItem CTRL+V" with the full text, spaces(if any), and keyboard shortcut text (if any).
Ampersands preceding underlined characters are optional.
For RC and Win32 popups: The Window and Component references are not used and can be anything. They just cannot be blank.
TC Note:Component can be the object who contains 'popup menu', or it can be the 'context menu' object.
For RC and Win32 popups: The Window and Component references are not used and can be anything. They just cannot be blank.
For RC and Win32 popups: The Window and Component references are not used and can be anything. They just cannot be blank.
RC | RJ |
Due to the nature of the verification using a DOS file comparison, the popup menu will no longer be present after the verification and must be reactivated if additional popup menu activity is to occur.
The Window and Component references are not used and can be anything. They just cannot be blank.
The Window and Component references are not used and can be anything. They just cannot be blank.
RC |
The routine first verifies that the specified menuitem exists and exits with error if it does not.
For RC and Win32 popups: The Window and Component references are not used and can be anything. They just cannot be blank.
"Enabled" "Grayed" "BarBreak" "Bitmap" "Disabled" "Ungrayed" "Separator" "Break" "Checked" "Hilited" "Default" "Menu With N MenuItems" "Unchecked" "Unhilited" "Normal" (not default)
The Window and Component references are not used and can be anything. They just cannot be blank.
RC | RJ |
Ampersands preceding underlined characters are optional. The routine first verifies that the specified menuitem exists and exits with error if it does not.
For RC and Win32 popups: The Window and Component references are not used and can be anything. They just cannot be blank.
For Java popups: Valid recognition information for the Java window and "child" popup menu must be provided.
Also refer to JavaMenuFunctions for support specific to Java menus and popup menus.
For RC and Win32 popups: The Window and Component references are not used and can be anything. They just cannot be blank.
For Java popups: Valid recognition information for the Java window and "child" popup menu must be provided.
Also refer to JavaMenuFunctions for support specific to Java menus and popup menus.
Note: this parameter is partial supported for RJ.
Expected status string (or part thereof) to verify. Ex: "Enabled Checked" OR "Disabled Grayed" etc. Each item separated by a space will be evaluated separately so the order of the status items does not matter. These status items (listed below) currently ARE case-sensitive.
"Enabled" "Grayed" "BarBreak" "Bitmap" "Disabled" "Ungrayed" "Separator" "Break" "Checked" "Hilited" "Default" "Menu With N MenuItems" "Unchecked" "Unhilited" "Normal" (not default)
"Enabled" "Grayed" "Bitmap" "Disabled" "Ungrayed" "Separator" "Checked" "Unchecked" "Menu With N MenuItems" are supported by RJ.
Note: the STATEINFO parameter is partial supported for RJ.
Verify the File popup menuItem is a "Menu With 7 MenuItems" and is "Enabled" .For RC and Win32 popups: The Window and Component references are not used and can be anything. They just cannot be blank.
For Java popups: Valid recognition information for the Java window and "child" popup menu must be provided.
Also refer to JavaMenuFunctions for support specific to Java menus and popup menus.
The Window and Component references are not used and can be anything. They just cannot be blank.
RJ |
For Java popups: Valid recognition information for the Java window and "child" popup menu must be provided.
Also refer to JavaMenuFunctions for support specific to Java menus and popup menus.
For Java popups: Valid recognition information for the Java window and "child" popup menu must be provided.
Also refer to JavaMenuFunctions for support specific to Java menus and popup menus.