Click Submenu Option Via Javascript: CONTEXTSUBMENUJSCLICK
The Click Submenu Option Via Javascript action triggers a JavaScript click event on a specified submenu option within a context menu that appears on mouse hover over an element. This action is particularly useful for custom or dynamic web elements that rely on JavaScript for user interactions.
Example: Imagine you need to select a “Download” option from a submenu that appears when you right-click a document item.
Steps to configure:
- Select Click Submenu Option Via Javascript from the Action drop-down.
- In the Screen Name field, specify the screen where the element appears (e.g., Document Viewer).
- In the Element Key field, choose the main element that activates the context menu (e.g., Document Item).
- In the Parameters section, specify the submenu option you want to select (e.g., Download).
- Click Save.
Note: While the steps for adding an Action are the same in both views, the display of the steps changes.


Expected Outcome on Execution: The Click Submenu Option Via Javascript action will fire a JavaScript event, right-click on the specified element, open the context menu, and select the intended submenu option (e.g., Download).