即使遇到错误,是否可以让 Selenium IDE 运行整个测试套件

发布于 2024-09-19 12:33:21 字数 161 浏览 1 评论 0原文

我们经常使用测试套件来确保我们从已知的工作情况开始。

在这种情况下,我们希望运行整个测试套件来测试所有页面。如果某些测试失败,我们仍然希望运行其他测试。

测试套件似乎在其中一个测试发现错误的那一刻就停止了。

是否可以将其设置为继续运行所有测试,而不管结果如何?

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?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

戏舞 2024-09-26 12:33:21
  1. 检查您使用的是验证而不是断言。断言将停止您的系统
  2. 每个测试用例都从固定点重新启动(例如加载基本 URL)
  3. 设置超时(您希望系统在继续之前等待多长时间)
  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)
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文