Is it possible to get Selenium IDE to run the whole test suite even though errors are encountered

时光毁灭记忆、已成空白 提交于 2020-01-04 02:18:47

问题


We often use test suites to ensure we start from a known, working situation.

In this case, we want the whole test suite to run to test all the pages. If some fail, we still want the other tests to run.

The test suite seems to stop the moment it finds an error in one of the tests.

Can it be set-up to keep going and run all the tests, irrespective of results?


回答1:


  1. Check you are using Verify and not Assert. Assert will STOP your system
  2. Each test case restart from a fixed point (like load base URL)
  3. Set your timeout (how long you want the system to wait before moving on)


来源:https://stackoverflow.com/questions/3714118/is-it-possible-to-get-selenium-ide-to-run-the-whole-test-suite-even-though-error

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!