使用Espresso進行UI測試ClickView On Multiple Window

使用inRoothtml 多窗口程序,不一樣的窗口有本身的View結構樹 android onView(withText("South China Sea")) .inRoot(withDecorView(not(is(getActivity().getWindow().getDecorView())))) .perform(click()); 這種方法一樣適用於自定義
相關文章
相關標籤/搜索