Re: solo.sendkey(Solo.MENU) sometimes does not work

316 views
Skip to first unread message

Sergey Tolkachov

unread,
Jan 7, 2013, 6:16:17 AM1/7/13
to robotium-...@googlegroups.com
maybe you trying to call menu not from your application context?


Renas

unread,
Jan 10, 2013, 2:38:35 PM1/10/13
to robotium-...@googlegroups.com

Hi,

Can you paste your test case?

/Renas

Den 10 jan 2013 20:36 skrev "Franck Derunes" <fder...@gmail.com>:
I am not sure I understand the comment.
This is supposed to call the Hardware Menu Button.

this issue still happens from time to time.
I use solo.sendKey(Solo.MENU);

and the menu sometimes just does not display. Is there anyting I could check anywhere in logcat? a timeout? anything?




On Monday, January 7, 2013 3:16:17 AM UTC-8, Sergey Tolkachov wrote:
maybe you trying to call menu not from your application context?


--
You received this message because you are subscribed to the Google Groups "Robotium Developers" group.
To view this discussion on the web visit https://groups.google.com/d/msg/robotium-developers/-/S8Dsjwb7uQUJ.
To post to this group, send email to robotium-...@googlegroups.com.
To unsubscribe from this group, send email to robotium-develo...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/robotium-developers?hl=en.

pan ran

unread,
Jan 10, 2013, 9:55:17 PM1/10/13
to robotium-...@googlegroups.com
hi Franck
I think we need to do the following things,
to review your cases, make sure every time the issue happened on your running package.
I mean , your konw , the basement of robotium could be work is the mechanism of signature.
a signature just likes a key, and the running package likes a room.
so the crosspackage issue could not be resolved by now

for example, you're running the message app, and you want to add a pic in your message, so you trigger album app
then the crosspackage issue pop-up. just like I said, you have the key of message, you can control everything on message, but for the album, the only thing you can do is just looking the ablum through a window.
so the send key menu is not a method to trigger hardware menu key, it's just trigger the menu on your package, if you left your room, it's abusolutely doesn't wok.

hope it will be helped
2013/1/11 Renas <rena...@gmail.com>
Reply all
Reply to author
Forward
0 new messages