imzzy / robotium

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

clickOnActionBarItem does not work on Android 5.0 #639

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. clickOnActionBarItem on a menu item
2. The item is not clicked
3.

What is the expected output? What do you see instead?
Expect clickOnActionBarItem will click on action bar but it is not clicked.

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

Please provide any additional information below.

Original issue reported on code.google.com by mrlhwlib...@gmail.com on 21 Nov 2014 at 11:52

GoogleCodeExporter commented 9 years ago
Note, the Android support library 21 is used.

Original comment by mrlhwlib...@gmail.com on 22 Nov 2014 at 6:24

GoogleCodeExporter commented 9 years ago
Thanks for reporting this. If you use the library with Android 4.x does it work 
then?

Original comment by renasr...@gmail.com on 24 Nov 2014 at 1:41

GoogleCodeExporter commented 9 years ago
ClickOnActionBarItem uses a native API in Android which does not support the 
support library. 

Original comment by renasr...@gmail.com on 24 Nov 2014 at 9:39

GoogleCodeExporter commented 9 years ago
ok, understand this, but is there a workaround?

Original comment by geob...@gmail.com on 23 Dec 2014 at 6:56

GoogleCodeExporter commented 9 years ago
A workaround would be nice here :)

Original comment by poesch...@googlemail.com on 30 Jan 2015 at 4:08

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
You can use clickOnView

Original comment by renasr...@gmail.com on 1 Feb 2015 at 6:16