We have a ContextMenu containing 32 Elements in a specified Level.
If the Screen Resolution is too small(e.g. 640 480) not all Entries are shown. The hidden ones are reachable by clicking at the end of the visible contextMenu, where an arrow appears.
Currently we are working with
>Ranorex.ContextMenu.SelectItemText("Add...", "Zebra Printer");
which doesnt work.
Is there a RanorexFunction who solves the Problem ? or do i have to go through the full list by keyboard clicks or something else...
Any Suggestions?
kind regards sush
(Using Ranorex 1.2 Pro)
ContextMenu not fully visible because of lots of Entries
Ranorex cannot select an unvisible context menu item at the moment, the function ContextMenu.SelectItemText does not scroll the item into view, you have to do it yourself.
I have added this issue to our todo list.
Please send an "END" before selecting the item, this will scroll the menu item into view.
Jenö
Ranorex Team
I have added this issue to our todo list.
Please send an "END" before selecting the item, this will scroll the menu item into view.
Code: Select all
Application.SendKeys("{END}");
Ranorex.ContextMenu.SelectItemText("Add...", "Zebra Printer");
Ranorex Team