public class DotNetMenu extends JavaMenu
Modifier | Constructor and Description |
---|---|
protected |
DotNetMenu(java.lang.String compname) |
|
DotNetMenu(java.lang.String winname,
java.lang.String compname)
Constructor
Create an instance of pseudo-component representing
a specific component in a specific window.
|
|
DotNetMenu(Window window,
java.lang.String compname)
Constructor
Create an instance of pseudo-component representing
a specific component in a specific window.
|
Modifier and Type | Method and Description |
---|---|
void |
selectMenuItem(StepTestTable table,
java.lang.String textValue)
Action to select a menuItem according to its text value.
|
ComponentFunction |
selectMenuItem(java.lang.String textValue)
Action to select a menuItem according to its text value.
|
void |
selectMenuItemContains(StepTestTable table,
java.lang.String textValue)
Action to select a menuItem according to a partial match of its text value.
|
ComponentFunction |
selectMenuItemContains(java.lang.String textValue)
Action to select a menuItem according to a partial match of its text value.
|
void |
verifyMenuItem(StepTestTable table,
java.lang.String[] parameters)
Attempts to verify the a particular menuitem exists in a menu.
|
void |
verifyMenuItem(StepTestTable table,
java.lang.String menuItemText,
java.lang.String expectedStatus)
Attempts to verify the a particular menuitem exists in a menu.
|
ComponentFunction |
verifyMenuItem(java.lang.String[] parameters)
Attempts to verify the a particular menuitem exists in a menu.
|
ComponentFunction |
verifyMenuItem(java.lang.String menuItemText,
java.lang.String expectedStatus)
Attempts to verify the a particular menuitem exists in a menu.
|
void |
verifyMenuItemContains(StepTestTable table,
java.lang.String[] parameters)
Attempts to verify the existence of a menuitem found by partial text match.
|
void |
verifyMenuItemContains(StepTestTable table,
java.lang.String menuItemText,
java.lang.String expectedStatus)
Attempts to verify the existence of a menuitem found by partial text match.
|
ComponentFunction |
verifyMenuItemContains(java.lang.String[] parameters)
Attempts to verify the existence of a menuitem found by partial text match.
|
ComponentFunction |
verifyMenuItemContains(java.lang.String menuItemText,
java.lang.String expectedStatus)
Attempts to verify the existence of a menuitem found by partial text match.
|
resetMenuCache, resetMenuCache, selectMenuItem, selectMenuItem, selectMenuItem, selectMenuItem, selectMenuItemContains, selectMenuItemContains, selectMenuItemContains, selectMenuItemContains, selectUnverifiedMenuItem, selectUnverifiedMenuItem, selectUnverifiedMenuItem, selectUnverifiedMenuItem, verifyMenuItem, verifyMenuItem, verifyMenuItemContains, verifyMenuItemContains
altLeftDrag, altLeftDrag, click, click, click, click, clickScreenImage, clickScreenImage, clickScreenLocation, clickScreenLocation, clickScreenPoint, clickScreenPoint, compareStoredData, compareStoredData, compareStoredData, compareStoredData, compareStoredProperties, compareStoredProperties, compareStoredProperties, compareStoredProperties, ctrlAltLeftDrag, ctrlAltLeftDrag, ctrlClick, ctrlClick, ctrlClick, ctrlClick, ctrlClickScreenImage, ctrlClickScreenImage, ctrlLeftDrag, ctrlLeftDrag, ctrlRightClick, ctrlRightClick, ctrlRightClick, ctrlRightClick, ctrlRightClickScreenImage, ctrlRightClickScreenImage, ctrlShiftLeftDrag, ctrlShiftLeftDrag, doubleClick, doubleClick, doubleClick, doubleClick, doubleClickScreenImage, doubleClickScreenImage, doubleClickScreenLocation, doubleClickScreenLocation, doubleClickScreenPoint, doubleClickScreenPoint, doubleTap, doubleTap, dragTo, dragTo, dragTo, dragTo, flick, flick, flick, flick, flickDown, flickDown, flickLeft, flickLeft, flickRight, flickRight, flickUp, flickUp, hScrollTo, hScrollTo, javaMenuSelect, javaMenuSelect, leftDrag, leftDrag, mouseClick, mouseClick, multiClick, multiClick, multiClick, multiClick, multiClickScreenImage, multiClickScreenImage, multiClickScreenImage, multiClickScreenImage, press, press, rightClick, rightClick, rightClick, rightClick, rightClickScreenImage, rightClickScreenImage, rightClickScreenLocation, rightClickScreenLocation, rightClickScreenPoint, rightClickScreenPoint, rightDrag, rightDrag, shiftClick, shiftClick, shiftClick, shiftClick, shiftClickScreenImage, shiftClickScreenImage, shiftLeftDrag, shiftLeftDrag, tap, tap, twoFingerTap, twoFingerTap, verifyImage, verifyImage, vScrollTo, vScrollTo
assignPropertyVariable, assignPropertyVariable, assignPropertyVariable, assignPropertyVariable, captureObjectDataToFile, captureObjectDataToFile, captureObjectDataToFile, captureObjectDataToFile, capturePropertiesToFile, capturePropertiesToFile, capturePropertiesToFile, capturePropertiesToFile, capturePropertyToFile, capturePropertyToFile, capturePropertyToFile, capturePropertyToFile, clearAppMapCache, clearAppMapCache, clearCache, clearCache, executeScript, executeScript, executeScript, executeScript, getComputedStyle, getComputedStyle, getGUIImage, getGUIImage, getGUIImage, getGUIImage, getTextFromGUI, getTextFromGUI, getTextFromGUI, getTextFromGUI, gUIDoesExist, gUIDoesExist, gUIDoesNotExist, gUIDoesNotExist, hoverMouse, hoverMouse, hoverMouse, hoverMouse, hoverScreenLocation, hoverScreenLocation, hoverScreenLocation, hoverScreenLocation, inputCharacters, inputCharacters, inputKeys, inputKeys, isPropertyExist, isPropertyExist, isPropertyExist, isPropertyExist, locateScreenImage, locateScreenImage, locateScreenImage, locateScreenImage, saveTextFromGUI, saveTextFromGUI, saveTextFromGUI, saveTextFromGUI, sendEvent, sendEvent, sendEvent, sendEvent, setPropertyValue, setPropertyValue, setPropertyValue, setPropertyValue, showOnPage, showOnPage, typeChars, typeChars, typeEncryption, typeEncryption, typeEncryption, typeEncryption, typeKeys, typeKeys, verifyArrayPropertyToFile, verifyArrayPropertyToFile, verifyArrayPropertyToFile, verifyArrayPropertyToFile, verifyBinaryFileToFile, verifyBinaryFileToFile, verifyBinaryFileToFile, verifyBinaryFileToFile, verifyClipboardToFile, verifyClipboardToFile, verifyClipboardToFile, verifyClipboardToFile, verifyClipboardVP, verifyClipboardVP, verifyComputedStyle, verifyComputedStyle, verifyFileToFile, verifyFileToFile, verifyFileToFile, verifyFileToFile, verifyGUIImageToFile, verifyGUIImageToFile, verifyGUIImageToFile, verifyGUIImageToFile, verifyObjectDataToFile, verifyObjectDataToFile, verifyObjectDataToFile, verifyObjectDataToFile, verifyPropertiesSubsetToFile, verifyPropertiesSubsetToFile, verifyPropertiesSubsetToFile, verifyPropertiesSubsetToFile, verifyPropertiesToFile, verifyPropertiesToFile, verifyPropertiesToFile, verifyPropertiesToFile, verifyProperty, verifyProperty, verifyProperty, verifyProperty, verifyPropertyContains, verifyPropertyContains, verifyPropertyContains, verifyPropertyContains, verifyPropertyToFile, verifyPropertyToFile, verifyPropertyToFile, verifyPropertyToFile, verifyTabOrder, verifyTabOrder, verifyTextFileToFile, verifyTextFileToFile, verifyTextFileToFile, verifyTextFileToFile, verifyValueContains, verifyValueContains, verifyValueContains, verifyValueContains, verifyValueContainsIgnoreCase, verifyValueContainsIgnoreCase, verifyValueContainsIgnoreCase, verifyValueContainsIgnoreCase, verifyValueDoesNotContain, verifyValueDoesNotContain, verifyValueDoesNotContain, verifyValueDoesNotContain, verifyValues, verifyValues, verifyValues, verifyValues, verifyValuesIgnoreCase, verifyValuesIgnoreCase, verifyValuesIgnoreCase, verifyValuesIgnoreCase, verifyValuesNotEqual, verifyValuesNotEqual, verifyValuesNotEqual, verifyValuesNotEqual
getWindow, setWindow
getName, getParent, getParentName, quote
public DotNetMenu(Window window, java.lang.String compname)
window
- Optional:NO
Specifies which Window this component is 'in'.compname
- Optional:NO
Specifies the AppMap name of the component in the Window.public DotNetMenu(java.lang.String winname, java.lang.String compname)
winname
- Optional:NO
Specifies the AppMap name of the window.compname
- Optional:NO
Specifies the AppMap name of the component in the Window.protected DotNetMenu(java.lang.String compname)
public ComponentFunction selectMenuItem(java.lang.String textValue)
Action to select a menuItem according to its text value. In RRAFS, this command will work on both JavaMenu items and JavaPopupMenu items. For RJ implementation: When Field5 is provided, the routine first verifies that the specified menuitem exists and exits with error if it does not. If it does exist then the select found menuitem.Supporting Engines:
textValue
- Optional:YES
Case-insensitive text of menuItem to select OR an App Map reference.public void selectMenuItem(StepTestTable table, java.lang.String textValue)
Action to select a menuItem according to its text value. In RRAFS, this command will work on both JavaMenu items and JavaPopupMenu items. For RJ implementation: When Field5 is provided, the routine first verifies that the specified menuitem exists and exits with error if it does not. If it does exist then the select found menuitem.Supporting Engines:
table
- Optional:NO
The table to add the record to.textValue
- Optional:YES
Case-insensitive text of menuItem to select OR an App Map reference.public ComponentFunction selectMenuItemContains(java.lang.String textValue)
Action to select a menuItem according to a partial match of its text value. In RRAFS, this command will work on both JavaMenu items and JavaPopupMenu items. For RJ implementation: When Field5 is provided, the routine first verifies that the specified menuitem exists and exits with error if it does not. If it does exist then the select found menuitem.Supporting Engines:
textValue
- Optional:YES
Case-insensitive substring of menuItem to select OR an App Map reference.public void selectMenuItemContains(StepTestTable table, java.lang.String textValue)
Action to select a menuItem according to a partial match of its text value. In RRAFS, this command will work on both JavaMenu items and JavaPopupMenu items. For RJ implementation: When Field5 is provided, the routine first verifies that the specified menuitem exists and exits with error if it does not. If it does exist then the select found menuitem.Supporting Engines:
table
- Optional:NO
The table to add the record to.textValue
- Optional:YES
Case-insensitive substring of menuItem to select OR an App Map reference.public ComponentFunction verifyMenuItem(java.lang.String menuItemText, java.lang.String expectedStatus)
Attempts to verify the a particular menuitem exists in a menu. The menuitem should be specified in the form "Menu->Menu->MenuItem CTRL+V" with the full text (ampersands optional), spaces(if any), and keyboard shortcut text (if any). (The ampersands precede any character in the menuitem that is underlined.) This command differs from the WindowFunction.VerifyMenuItem command because here we are actually seeking a JavaMenu component, not a Window that contains a menu. Also, we do not currently verify any state information like the WindowFunctions.VerifyMenuItem command.Supporting Engines:
menuItemText
- Optional:NO
Menu->MenuItem hierarchy string to identify which menuitem to find.expectedStatus
- Optional:YES
Expected status string (or part thereof) of the menuitem.public void verifyMenuItem(StepTestTable table, java.lang.String menuItemText, java.lang.String expectedStatus)
Attempts to verify the a particular menuitem exists in a menu. The menuitem should be specified in the form "Menu->Menu->MenuItem CTRL+V" with the full text (ampersands optional), spaces(if any), and keyboard shortcut text (if any). (The ampersands precede any character in the menuitem that is underlined.) This command differs from the WindowFunction.VerifyMenuItem command because here we are actually seeking a JavaMenu component, not a Window that contains a menu. Also, we do not currently verify any state information like the WindowFunctions.VerifyMenuItem command.Supporting Engines:
table
- Optional:NO
The table to add the record to.menuItemText
- Optional:NO
Menu->MenuItem hierarchy string to identify which menuitem to find.expectedStatus
- Optional:YES
Expected status string (or part thereof) of the menuitem.public ComponentFunction verifyMenuItem(java.lang.String[] parameters)
Attempts to verify the a particular menuitem exists in a menu. The menuitem should be specified in the form "Menu->Menu->MenuItem CTRL+V" with the full text (ampersands optional), spaces(if any), and keyboard shortcut text (if any). (The ampersands precede any character in the menuitem that is underlined.) This command differs from the WindowFunction.VerifyMenuItem command because here we are actually seeking a JavaMenu component, not a Window that contains a menu. Also, we do not currently verify any state information like the WindowFunctions.VerifyMenuItem command.Supporting Engines:
verifyMenuItem
in class JavaMenu
parameters
- Optional:NO
An array containing the following parameters:
public void verifyMenuItem(StepTestTable table, java.lang.String[] parameters)
Attempts to verify the a particular menuitem exists in a menu. The menuitem should be specified in the form "Menu->Menu->MenuItem CTRL+V" with the full text (ampersands optional), spaces(if any), and keyboard shortcut text (if any). (The ampersands precede any character in the menuitem that is underlined.) This command differs from the WindowFunction.VerifyMenuItem command because here we are actually seeking a JavaMenu component, not a Window that contains a menu. Also, we do not currently verify any state information like the WindowFunctions.VerifyMenuItem command.Supporting Engines:
verifyMenuItem
in class JavaMenu
table
- Optional:NO
The table to add the record to.parameters
- Optional:NO
An array containing the following parameters:
public ComponentFunction verifyMenuItemContains(java.lang.String menuItemText, java.lang.String expectedStatus)
Attempts to verify the existence of a menuitem found by partial text match. Attempts to verify the existence of a menuitem found by partial text match. The menuitem should be specified in the form "Menu->Menu->MenuItem". (Optional ampersands precede any character in the menuitem that is underlined.) This command differs from the WindowFunction.VerifyMenuItemContains command because here we are actually seeking a JavaMenu component, not a Window that contains a menu. Also, we do not currently verify any state information like the WindowFunctions.VerifyMenuItemContains command.Supporting Engines:
menuItemText
- Optional:NO
Menu->MenuItem hierarchy string to identify which menuitem to find.expectedStatus
- Optional:YES
Expected status string (or part thereof) of the menuitem.public void verifyMenuItemContains(StepTestTable table, java.lang.String menuItemText, java.lang.String expectedStatus)
Attempts to verify the existence of a menuitem found by partial text match. Attempts to verify the existence of a menuitem found by partial text match. The menuitem should be specified in the form "Menu->Menu->MenuItem". (Optional ampersands precede any character in the menuitem that is underlined.) This command differs from the WindowFunction.VerifyMenuItemContains command because here we are actually seeking a JavaMenu component, not a Window that contains a menu. Also, we do not currently verify any state information like the WindowFunctions.VerifyMenuItemContains command.Supporting Engines:
table
- Optional:NO
The table to add the record to.menuItemText
- Optional:NO
Menu->MenuItem hierarchy string to identify which menuitem to find.expectedStatus
- Optional:YES
Expected status string (or part thereof) of the menuitem.public ComponentFunction verifyMenuItemContains(java.lang.String[] parameters)
Attempts to verify the existence of a menuitem found by partial text match. Attempts to verify the existence of a menuitem found by partial text match. The menuitem should be specified in the form "Menu->Menu->MenuItem". (Optional ampersands precede any character in the menuitem that is underlined.) This command differs from the WindowFunction.VerifyMenuItemContains command because here we are actually seeking a JavaMenu component, not a Window that contains a menu. Also, we do not currently verify any state information like the WindowFunctions.VerifyMenuItemContains command.Supporting Engines:
verifyMenuItemContains
in class JavaMenu
parameters
- Optional:NO
An array containing the following parameters:
public void verifyMenuItemContains(StepTestTable table, java.lang.String[] parameters)
Attempts to verify the existence of a menuitem found by partial text match. Attempts to verify the existence of a menuitem found by partial text match. The menuitem should be specified in the form "Menu->Menu->MenuItem". (Optional ampersands precede any character in the menuitem that is underlined.) This command differs from the WindowFunction.VerifyMenuItemContains command because here we are actually seeking a JavaMenu component, not a Window that contains a menu. Also, we do not currently verify any state information like the WindowFunctions.VerifyMenuItemContains command.Supporting Engines:
verifyMenuItemContains
in class JavaMenu
table
- Optional:NO
The table to add the record to.parameters
- Optional:NO
An array containing the following parameters:
Copyright © SAS Institute. All Rights Reserved.