I am using Appium to test Android apps. I am using Java language. I want to click menu items automatically. By searching online (https://groups.google.com/forum/#!topic/appium-discuss/fxzn5kfBt4A), I found the way to click the menu icon, which is like this:
in which driver is an instance of AppiumDriver.
However, I did not find the way to click on a specific menu. For example, in my test app, I have two menu items with text “About” and “Rescan”. How do I automatically click on the two menu items?