rahul7386 / robotium

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

solo.sendKey(KeyEvent.KEYCODE_HOME); doesn't work #557

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. launch the application
2. call solo.sendKey(KeyEvent.KEYCODE_HOME);
3. application is still running

What is the expected output? What do you see instead?
i expect to go to home screen. instead, the app is still running.

What version of the product are you using? On what operating system?
robotium 4.3.1, android v4.1.2

Please provide any additional information below.

Original issue reported on code.google.com by levy.a...@gmail.com on 21 Nov 2013 at 12:46

GoogleCodeExporter commented 9 years ago
Unfortunately nothing can be done about this. Robotium only forwards the 
keycode to the instrumentation sendCharacterSync

 instrumentation.sendCharacterSync(keycode);

Original comment by renasr...@gmail.com on 22 Nov 2013 at 6:19