使用Nunit我想使用重试属性来帮助我在Browserstack中的并行测试

发布于 2025-01-29 05:44:38 字数 247 浏览 4 评论 0原文

我正在尝试在Nunit的测试固定装置下添加重试属性,但似乎不起作用。谁能告诉我如何将其添加为尝试捕获?我看到的错误是

openqa.selenium.webdriverexception: [browserstack_all_parallels_in_use]当前所有并行测试 在使用中,包括排队测试。请等待完成或升级 您的计划添加更多会议。

几分钟后,我是否有一种方法可以添加一个属性THTA?

I am attempting to add the retry Attribute under the Test Fixture in Nunit but it does not appear to work. Can anyone show me how to add this as a try catch? The error I see is this

OpenQA.Selenium.WebDriverException :
[BROWSERSTACK_ALL_PARALLELS_IN_USE] All parallel tests are currently
in use, including the queued tests. Please wait to finish or upgrade
your plan to add more sessions.

Is there a way for me to add an attribute thta when it sees the error it retries the Test a few minutes later?

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

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

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文