我有pageViewer,我有像(部门,员工)这样的标签
I am now using the following code
solo.clickOnText("Employee");
solo.sleep(2000);
要等到pageViewer将片段更改为Employee Fragment,是否有更有效的方法来做到这一点,所以我不会只使用随机时间?
答案 0 :(得分:1)
solo.clickOnText("Employee");
assertTrue(solo.waitForText("Some text that you know is only on the employee tab"));
答案 1 :(得分:0)