Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

In this tutorial, we will create a NUnit Test Case in C#, using UFT Pro (LeanFT) for browser automation.


Info
titleLearn more

e

Section
Column

Column


UFT Pro (LeanFT) is an advanced functional test automation solution that was designed specifically for continuous integration and continuous testing. It provides tools and capabilities that easily and efficiently create robust test automation in the developer IDE and integrate it seamlessly into the CI process. LeanFT enables automating applications in a wide range of technologies, including web, mobile and desktop.

...

After successfully running the Test Case and generating the NUnit XML report (e.g., results.xml), it can be imported to Xray via the REST API or the Import Execution Results action within the Test Execution.


Image RemovedImage Added

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 "TestCase" followed by the name of the namespace, class, and the method name that implements the Test case. 


Image RemovedImage Added

If the Test fails, for example, due to a missing web element (e.g., results.xml), then you will see the overall Test Run being marked as FAIL as well as the detailed information on the exception that was raised during the execution of the automated test.


Image RemovedImage Added

Note that if you're using LeanFT's "Verify" method, that verification won't raise an exception by itself. The Test will appear as passed (if it didn't fail until then) even if the verification itself failed.

...