xiaofans / robotium

Automatically exported from code.google.com/p/robotium
0 stars 0 forks source link

Get menu item list #425

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.try to get views about menu item
2.
3.

What is the expected output? What do you see instead?
return a list of menu items

What version of the product are you using? On what operating system?

3.6
Please provide any additional information below.

I want to get the menu items. Just like getViews. Is it possible?

Original issue reported on code.google.com by tanzir.b...@gmail.com on 26 Mar 2013 at 12:50

GoogleCodeExporter commented 9 years ago
The menu needs to be open. When you do a getViews() you will get those from the 
opened menu. 

Original comment by renasr...@gmail.com on 26 Mar 2013 at 5:51

GoogleCodeExporter commented 9 years ago
By using getViews(), robotium can only return the title (i.e., the text) of the 
menu item with "TextView" type.

Original comment by tsule...@gmail.com on 1 Dec 2014 at 6:47