Ren*_*nas 13
有不同的方法可以做到这一点.在Robotium中,您可以使用许多不同的waitFor方法.在您的情况下,您可以使用:
solo.waitForDialogToClose() //waits for the dialog to close
solo.waitForActivity() // if there is a activity change
solo.waitForText() //if a certain text appears after the loading is done
solo.waitForView() //if a certain view is shown after the load screen is done.
Run Code Online (Sandbox Code Playgroud)
有关Robotium中更多waitFor方法的信息,请参阅Robotium API文档.
| 归档时间: |
|
| 查看次数: |
8949 次 |
| 最近记录: |