joesri
unread,Sep 18, 2009, 3:22:31 PM9/18/09Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to selenium-users...@googlegroups.com
Hi,
I am using selenium with python and using HTMLTestRunner for reporting.
I would like to have a screenshot taken when a test fails or errors out also send the result as error or failure. If I add a try/catch, since there is a catch, selenium reports it as passed and HTMLTestRunner shows everything as green eventhough the test failed. Am I doing something wrong? If not, how to handle this?
Is there a parameter, I can send to selenium in the catch to specify the case failed or errored out?
Thank you
Jo