selenium in python Reporting

  • 1 Replies
  • 1417 Views
selenium in python Reporting
« on: May 03, 2016, 19:35:32 pm »
I've written a few tests in python with selenium and unittest module.

I would like to create a report of the tests results.

Is there anything built-in or perhaps a good framework available or do I have to invent the wheel on this ?

Thanks

*

Ruhit

  • *
  • 22
Re: selenium in python Reporting
« Reply #1 on: May 04, 2016, 15:38:13 pm »
To start building test reports of Selenium with Python, you should just use the python unittest module.

There's a basic sample in Selenium documentation: http://selenium-python.readthedocs.io/

Use HTMLTestRunner module with unittest to generate basic HTML reports. http://tungwaiyip.info/software/HTMLTestRunner.html

 

Sitemap 1 2 3 4 5 6 7 8