Is it possible to integrate bugzilla with selenium web driver



  • Is it possible for us to integrate selenium web driver test with Bugzilla?

    My intention are as below:

    If we can integrate web driver with Bugzilla,

    • can we automatically attach screen shot of failed tests?
    • can we record/save the steps that made the bug?


  • I don't see why this couldn't be done if you have a code driven Selenium test suite. You would need to implement a method run on test failure that adds a bug to Bugzilla using their HTTP REST API.

    For the first step, if you are using Java, see this answer on taking a screenshot when selenium fails and the referenced blog post. You need to similarily create a new rule, except this time to add a bug to Bugzilla (and hopefully any useful information, logging, that would help you make it useful).

    Then here's an answer and link to the Bugzilla REST API Docs on how to file a bug.



Suggested Topics

  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2