In this tutorial, we will create a NUnit Test Case in C#, using Selenium's WebDriver for browser automation.
The test case opens a Google page, searches for a given keyword and checks the results returned by Google.
Note: The ChromeDriver must be on the path.
After successfully running the Test Case and generating the NUnit XML report (e.g., TestResult.xml), it can be imported to Xray via the REST API or the Import Execution Results action within the Test Execution.
NUnit's Test Case is mapped to a Generic Test in Jira, and the Generic Test Definition field contains the name of the namespace, class, and the method name that implements the Test case.
The Execution Details of the Generic Test contains information about the context, which in this case corresponds to the Test case method itself.