sangmingming / robotium

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

Unable to automate button click. #71

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Trying to run this piece of code:

     public void testsimpleInputs() {
        solo.clickOnButton("OK");
        }

What is the expected output? What do you see instead?
W/WindowManager(   94): No window to dispatch pointer action 0
W/WindowManager(   94): No window to dispatch pointer action 1
D/dalvikvm( 7581): GC_EXPLICIT freed 5353 objects / 321240 bytes in 74ms
W/ActivityManager(   94): Duplicate finish request for HistoryRecord{44aee880 
org.alljoyn.bus.sample.chat/.AllJoynChat}
I/ActivityManager(   94): Displayed activity 
org.alljoyn.bus.sample.chat/.AllJoynChat: 1953 ms (total 1953 ms)
W/WindowManager(   94): No focus window, dropping: KeyEvent{action=0 code=4 
repeat=0 meta=0 scancode=0 mFlags=8}
W/WindowManager(   94): No focus window, dropping: KeyEvent{action=1 code=4 
repeat=0 meta=0 scancode=0 mFlags=8}
W/WindowManager(   94): No focus window, dropping: KeyEvent{action=0 code=4 
repeat=0 meta=0 scancode=0 mFlags=8}
W/WindowManager(   94): No focus window, dropping: KeyEvent{action=1 code=4 
repeat=0 meta=0 scancode=0 mFlags=8}

What version of the product are you using? On what operating system?
Robotium-2.1
Android OS

Please provide any additional information below.

Original issue reported on code.google.com by mailto.s...@gmail.com on 15 Feb 2011 at 11:05

GoogleCodeExporter commented 9 years ago
Can you please attach the test class file? 

Original comment by renasr...@gmail.com on 16 Feb 2011 at 6:31

GoogleCodeExporter commented 9 years ago
Please try Robotium 2.2.

Original comment by renasr...@gmail.com on 21 Feb 2011 at 6:01