What steps will reproduce the problem?
1.Created robot method by importing
import java.awt.AWTException;
import java.awt.Robot;
import java.awt.event.InputEvent;
2. I need to click on the screen having specific x, y co-ordinate
3.
What is the expected output? What do you see instead?
The mouse should click on the screen of x, y co-ordinate. But running android
junit test case through error 'Test run failed: Instrumentation run failed due
to 'java.lang.VerifyError'
What version of the product are you using? On what operating system?
4.2.2 (APL level 17)
Please provide any additional information below.
Embedded below code in my test script:
try {
Robot robot = new Robot();
robot.mouseMove(300,550);
robot.mousePress(InputEvent.BUTTON1_MASK);
robot.delay(2000);
robot.mouseRelease(InputEvent.BUTTON1_MASK);
} catch (AWTException e) {
e.printStackTrace();
}
Please let me know. Thanks!
Original issue reported on code.google.com by cybageus...@gmail.com on 24 Jun 2013 at 12:33
Original issue reported on code.google.com by
cybageus...@gmail.com
on 24 Jun 2013 at 12:33