Vote count: 0 I am working on test case to my application, there is activity with tabs each tab has gridview in each gridView has some checkboxs like this image now I'm trying to scroll in gridView in first tab and select checkBox and then click on second tab and scroll and select checkBox here is my code GridView gridView = (GridView) solo.getView("truck_points"); int gvCount = gridView.getCount(); int nColumn = gridView.getNumColumns(); int currentChilds = gridView.getChildCount(); int numOfSelectedItems = randomItem(gvCount); int r = 14; int index = r%nColumn; scrollListTo(gridView, r, getInstrumentation()); ViewGroup viewGroup = (ViewGroup) gridView.getChildAt(index); CheckBox checkBox =...
ادامه مطلب