What steps will reproduce the problem? 1.first fragment use solo.findViewById("aaa"),this view is a ImageView.I get the right View.
2.click one item,then the app switch to another fragment.
3.in second fragment i use solo.findViewById("aaa"),but i get the wrong view belong to the first step. What is the expected output? What do you see instead? In step3 i want get the view belong to the second fragment.
But now,i get the view belong to the first fragment.
How can i slove the problem?
Thanks~ What version of the product are you using? On what operating system? ROBOTIUM 5.1/ANDROID STUDIO 1.2 Please provide any additional information below.
From yangchen...@163.com on July 03, 2015 04:41:58
What steps will reproduce the problem? 1.first fragment use solo.findViewById("aaa"),this view is a ImageView.I get the right View. 2.click one item,then the app switch to another fragment. 3.in second fragment i use solo.findViewById("aaa"),but i get the wrong view belong to the first step. What is the expected output? What do you see instead? In step3 i want get the view belong to the second fragment. But now,i get the view belong to the first fragment. How can i slove the problem? Thanks~ What version of the product are you using? On what operating system? ROBOTIUM 5.1/ANDROID STUDIO 1.2 Please provide any additional information below.
Original issue: http://code.google.com/p/robotium/issues/detail?id=691