I gave up on this for a long time and now am back trying it again.
I am writing automation tests that exactly mimic manual actions by user.
One requirement I have is that a user can click on an input textbox, use the right context menu and arrow down to "Select All", right click again and select "Copy" from the context menu and then go to a different input textbox and right click to select "Paste" from the context menu.
I do not want to use clipboard or keyboard commands as that is not the action required in my test.
I can use Actions and use ContextClick(element) to get the context menu to appear, but any actions I do after that - such as SendKeys(Arrow.Right) - are performed on the textbox, not the Context Menu. How do I keep the focus in the ContextMenu so that I can arrow to an option and select it?
Thank you.