sangmingming / robotium

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

Not able to click on ImageView on some phones #208

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Run the Robotium Test case. This launches my android application. This has 4 
ImageView buttons at the bottom. Use solo.waitForActivity(...) to wait and make 
sure this page is completely loaded.

2. use solo.getView(button_id) to get the imageView and then solo.clickOnView 
to click on this ImageView.

3: This works on LG Optimus P500
  But on some cheaper phones as below, it does not work: 
    LG Optimus Me P350
    Samsung Galaxy Fix

4: When using Robotium 2.5, I was seeing the following error in the logcat:
W/WindowManager( 1366): Permission denied: injecting key event from pid 4807 
uid 10057 to window Window

But when I upgraded to Robotium 3.1, the error message is gone, but the problem 
still persists.

What version of the product are you using? On what operating system?
Robotium 3.1, Windows Vista

Original issue reported on code.google.com by sandeepa...@gmail.com on 14 Jan 2012 at 8:44

GoogleCodeExporter commented 9 years ago
The problem is not with Robotium but with different vendors manipulating the 
underlying Android platform. This is an issue that should be submitted to the 
device Vendor. If a Vendor manipulates the Android platform in such a way that 
Robotium does not function correctly then there is nothing that we can do.

Original comment by renasr...@gmail.com on 15 Jan 2012 at 2:26