file selection
Here is another question, if you don't mind.
There is a Windows application with a toolbar across that has File Search Help.
(see attachment).
I want to select something from "File" (but to avoid giving proprietary information I am going to ask about selecting from "Help" which is the same principal).
See the second attached. I am able to successfully click "File" (and therefore "Help") by using
["SwingObject"]("JMenuBar", "File", 0) or ["SwingObject"]("JMenuBar", "File", 0), but then when I try to use the object spy I can't clicki it without the menu closing again so the sub menus are not there.
Is there some way to keep a menu open, or otherwise determine the value of the field? And not, selecting preferences will bring yet another menu which I need to access. (And I am really selecting from file, but we might have confidential information there).
(This is Connect and C#)