I have Robot Framework and the AutoItLibrary, and using it to test a simple application built on WinForms, part of which is in the screenshot below:

enter image description here

Using the inspect tool, it is easy to identify all the elements. However, the menu strip at the top can only be selected as one control. That is, I see no clear way to click the individual menu items "File" and "Help". A screenshot of the inspect tool is shown below. Note that I have used ClassnameNN to identify and interact with buttons and text boxes. How to click individual menu items and submenus with AutoIt and Robot Framework?

enter image description here

  • have you tried visible text ? – PDHide Oct 27 '20 at 11:03

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.