我尝试使用带有多个案例的 testng.xml 文件运行 selenium 自动化测试案例,但有些案例被跳过了。TestNG 也不显示跳过的测试用例计数,但显示总计数和失败计数。找不到原因并解决此问题。
因此,我需要使用 testng.xml 运行 tescases 的解决方案,而无需使用 cmd 行中的以下命令跳过 windows cmd;
java org.testng.TestNG %project_location%\sample_testng.xml
你能请任何人帮助我解决这个问题吗?