hellofenghao / robotium

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

solo.clickOnView(solo.getView(com.lgsi.test.R.id.buttonNoApk)); #605

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

error-java.lang.ClassCastException: com.lgsi.test.StartActivity cannot be cast 
to android.test.java.lang.ClassCastException: java.util.ArrayList cannot be 
cast to android.view.View[]

main error- java.util.ArrayList cannot be cast to android.view.View[]

What is the expected output? What do you see instead?
not able to click on the view(Button).should click on the view

What version of the product are you using? On what operating system?
windows-7.robotium-solo4.1

Please provide any additional information below.

same code i have run long before but not its not running.
any solo.click is not working showing same error.
e.g- java.util.ArrayList cannot be cast to android.view.View[]

Original issue reported on code.google.com by siba...@gmail.com on 13 May 2014 at 12:31

GoogleCodeExporter commented 9 years ago
Please update to Robotium 5.1. 

Original comment by renasr...@gmail.com on 14 May 2014 at 9:39