Page History
...
The Execution Details of the Generic Test contains information about the context, which in this case corresponds to the Test case method itself.
Tips
If you're using Visual Studio as your IDE, you need to have some dependencies/packages installed.
- NUnit
- NUnit3TestAdapter
These can be installed from Tools>NuGet Package Manager (using the console or the manager's UI).
Then you can configure the Test Explorer to run the NUnit tests while at the same time producing a NUnit XML report.
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
<?xml version="1.0" encoding="utf-8"?>
<RunSettings>
<NUnit>
<TestOutputXml>C:\TestResults</TestOutputXml>
</NUnit>
</RunSettings> |
References
- https://github.com/nunit/docs/wiki
- http://www.seleniumhq.org/docs/03_webdriver.jsp
- http://www.dotnetcatch.com/2016/11/23/selenium-with-net-core/
- http://toolsqa.wpengine.com/selenium-webdriver/c-sharp/iwebdriver-browser-commands-in-c-sharp/
- Configure unit tests by using a .runsettings file