简体   繁体   English

Selenium WebDriver C#:如何在 NUnit 框架中获取测试执行结果报告?

[英]Selenium WebDriver C#: How to get test execution results report in NUnit framework?

I am using an NUnit framework for Selenium WebDriver C#.我正在为 Selenium WebDriver C# 使用 NUnit 框架。 Does NUnit provide any default test results report, similar to that provided by TestNG in Java? NUnit 是否提供任何默认的测试结果报告,类似于 Java 中 TestNG 提供的报告?

NUnit provides output information in the form of an XML file. NUnit 以 XML 文件的形式提供输出信息。

Beyond that, it depends on how you are running your tests.除此之外,这取决于您如何运行测试。 Each runner may give you a different way to access that file and may give you reports as well.每个运行程序都可能为您提供访问该文件的不同方式,并且也可能为您提供报告。 So, any true answer requires more info from you as to how you run your tests.因此,任何真正的答案都需要您提供有关如何运行测试的更多信息。

If you update your question, I'll try to update my answer.如果您更新您的问题,我会尝试更新我的答案。 :-) :-)

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 测试执行未使用 NUnit 运行,Selenium 和 C# - Test execution not running with NUnit, Selenium and C# 在 Selenium C# 的 nunit 框架的范围报告中无法获得超时预期 - Unable to get time out expection in extent report of nunit framework of Selenium C# 如何在用 C# 编写的 Selenium WebDriver(Nunit 测试用例)中按“Enter”? - How to press “Enter” in Selenium WebDriver (Nunit Test Case) written in C#? 在C#中使用Selenium WebDriver在每次测试后如何防止Nunit关闭浏览器 - How to prevent from Nunit closing browser after each test using Selenium WebDriver in C# 使用带有C#和Nunit的Selenium RC; 如何生成测试用例结果报告? - Using Selenium RC with C# and Nunit; how to Generate test case result report? 如何使用Selenium WebDriver,NUnit和C#获取元素属性的子属性值 - How to get child property value of a element property using selenium webdriver, NUnit and C# 如何在NUnit测试框架上使用Selenium C#在新的Chrome选项卡上打开URL - How to open a url on a new Chrome Tab using selenium C# over NUnit test framework 使用Nunit在C#并行执行中的Selenium Grid - Selenium Grid in C# Parallel execution with Nunit 从Teamcity获取NUnit测试结果报告 - Get NUnit Test Results Report from Teamcity 使用NUnit使用C#的Selenium WebDriver:在一台机器上并行在多个浏览器上执行测试用例 - Selenium WebDriver with C# using NUnit: execute test cases on multiple browsers in parallel on single machine
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM