问题
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:
- Check you are using Verify and not Assert. Assert will STOP your system
- Each test case restart from a fixed point (like load base URL)
- 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