Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何从 Extent Report html 中获取通过和失败的测试用例计数,并在 Selenium 测试执行后在控制台中显示计数
在您的 TestLister 中,您可以设置方法:
下一个变量:
然后在方法中添加 +1 和 onFinish 打印结果。