一、启动app
二、进入命令行窗口输入
adb shell “dumpsys activity activities | grep mFocusedActivity”
三、断言方法
assertTrue("XXXActivity is not found!", solo.waitForActivity("XXXActivity"));
2023-12-25 12:36:58
一、启动app
二、进入命令行窗口输入
adb shell “dumpsys activity activities | grep mFocusedActivity”
三、断言方法
assertTrue("XXXActivity is not found!", solo.waitForActivity("XXXActivity"));