DotNet Modules
The folder TBox XEngines->DotNet in the Standard subset contains a Module that performs specific tasks for the DotNet Engine 3.0.
WinForms Context Menu
The Module WinForms Context Menu allows you to steer WinForms context menus.
![]() |
To use the Module WinForms Context Menu, you must manually open the context menu that you want to steer so Tricentis Tosca can detect it. |
It has the following ModuleAttributes:
ModuleAttribute |
Description |
---|---|
ContextMenu |
Path to the menu item. Specify the context menu path with ->, for instance Insert->Image. |
ContextMenu-><MenuItem> |
Alternatively, you can use this ModuleAttribute to steer a context menu with control hierarchy instead (see example below). |
![]() |
In this example, you select the entry Insert->New Image of a context menu which is currently open. It does so in two different ways:
Different ways to steer a WinForms context menu |