rahul7386 / robotium

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

Cannot click on listview in 4.4.2 devices. #606

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hi Team,

I'm facing a serious problem in 4.4.2 devices.

What steps will reproduce the problem?

I am having a Listview and i am trying to perform click operation. i cannot 
perform click operation it's throwing a exception 

java.lang.ClassCastException: java.util.ArrayList cannot be cast to 
android.view.View[]
at 
com.jayway.android.robotium.solo.ViewFetcher.getWindowDecorViews(ViewFetcher.jav
a:399)
at com.jayway.android.robotium.solo.ViewFetcher.getAllViews(ViewFetcher.java:81)
at com.jayway.android.robotium.solo.ViewFetcher.getViews(ViewFetcher.java:199)
at 
com.jayway.android.robotium.solo.ViewFetcher.getCurrentViews(ViewFetcher.java:31
8)
at 
com.jayway.android.robotium.solo.ViewFetcher.getCurrentViews(ViewFetcher.java:30
5)
at com.jayway.android.robotium.solo.Searcher.searchFor(Searcher.java:142)
at com.jayway.android.robotium.solo.Waiter.waitForView(Waiter.java:145)
at com.jayway.android.robotium.solo.Waiter.waitForViews(Waiter.java:203)
at com.jayway.android.robotium.solo.Solo.scrollDown(Solo.java:1251)

3.I have checked with 4.3 device this working fine and click operation is being 
performed.

Original issue reported on code.google.com by Tsvpp.vi...@gmail.com on 15 May 2014 at 7:27

GoogleCodeExporter commented 9 years ago
i am using the latest jar "robotium-solo-5.1"

Original comment by Tsvpp.vi...@gmail.com on 15 May 2014 at 7:29

GoogleCodeExporter commented 9 years ago
Please clean your project and update to 5.0

Original comment by renasr...@gmail.com on 16 May 2014 at 5:39