2

How can we add reporting capabilities to Selenium based UI automated testing, such as reports on failed and passed tests, recurring failed tests, etc.?

  • 1
    You could use jenkins for running the tests and creating reports – bish Oct 6 '15 at 19:15
2

I suggest combining Selenium with a test-runner like jUnit or TestNG, then you can parse the results into a nice report with Allure (also lists more test-runners).

The next step is to run all the test on each build, with a build-server like Jenkins and report broken build/tests with visual indicators.

  • 1
    If you are using C# NUnit is also a good source for parsing a test report – DEnumber50 Oct 6 '15 at 20:27
0

This answer is for users who are using PyCharm/want to explore PyCharm.

For Selenium based tests, PyCharm allows you to obtain the test results. If you click the Explore Test Results option at the Test Runner tab, of Pycharm, a nice HTML of your tests results open up.

It allows you to take results in following three formats :

  • HTML
  • XML
  • Custom , apply XSL template.

To view results in browser :

Select the Open Exported File check box

This will automatically open your test results in your default browser.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.