ContextMenu
Last updated
Was this helpful?
Last updated
Was this helpful?
Namespace: Progile.TRIO.BaseModel Assembly: Progile.TRIO.BaseModel (in Progile.TRIO.BaseModel.dll)
Progile.TRIO.BaseModel.ContextMenu
Creates a new ContextMenu instance. Context menu should be identified by an image of an icon or selection visible in the context menu.
Syntax:
Parameter
Description
appBasics
displayName
imageReference
Name
Description
Opens the context menu, searches the first value from the parameter selections in the list and selects it to open the next submenu. Then the next value is found in the submenu and so on.
Opens the context menu, searches the first value from the parameter selections in the list and selects it to open the next submenu. Then the next value is found in the submenu and so on.
Opens a context menu and verifies if the provided value is present in the context menu (includes scrolling). Closes the context menu again.
Opens a context menu and verifies if the provided value is present in the context menu (includes scrolling). Closes the context menu again.
Name
Description
The size of the kernel that is used to blur the images when detecting the changes to define the list rectangle.
Size 0 means no blur, a common value for moderate blurring is 8 (approx. the size of a character). Default: 0
The image detection parameters that are used to find an image entry in the context menu.
The OCR parameters that are used to find a text entry in the context menu.
Controls whether a click or a hover is required to expand a submenu (Default: true)
Width of the border of the list that will be cut away on all sides to remove a border from the image that is passed to the OCR algorithm. Default: 3
The tolerance value for changes that shall be ignored when detecting the changes to define the list rectangle. Default: 0.04
Type:
The interface for the AppBasics, that is available on every . Allows access to the and the application window.
Type: The name of the element that will be used for logging and reporting of exceptions (customer facing).
Type: The image that will be used to locate the opened context menu on the screen.
Opens the context menu, searches the image in the list (incl. scrolling) and selects it. If the image cannot be found, throws a .
Opens the context menu, searches the image in the list (incl. scrolling) and selects it. If the image cannot be found, throws a .
Opens the context menu, searches the text value in the list (incl. scrolling) and selects it. If the text cannot be found, throws a .
Opens the context menu, searches the text value in the list (incl. scrolling) and selects it. If the text cannot be found, throws a .
If the text cannot be found, throws a .
If the text cannot be found, throws a .
The search rectangle in which changes are detected to define the menu rectangle. Default: