使用Espresso进行UI测试ClickView On Multiple Window

使用inRoothtml 多窗口程序,不一样的窗口有本身的View结构树 android onView(withText("South China Sea")) .inRoot(withDecorView(not(is(getActivity().getWindow().getDecorView())))) .perform(click()); 这种方法一样适用于自定义
相关文章
相关标签/搜索