none
Using Selenium Webdriver through selenium with fancy reporting RRS feed

  • Question

  • HI,

    I am using Selenium Webdriver for automation of test cases. These test scripts are automating against my local PC (not tied to a build). I am just running these tests from Visual Studio and they are executing against the browser on my local PC.  These tests were exported from Selenium Firefox plugin application into Visual Studio.  The challenge I am having is in generating a fancy report with charts and such.  I have heard that other applications (Junit, ANT, TestNG) using Selenium can generate pretty nice report, but  I have not discovered that Visual Studio and Microsoft Test Manager without being tied to a build and/or manually selecting test cases that are tied to scripts to 'Pass/Fail.'   See links below. I would like to generate reports like this.  Is it possible to generate reports using some plugin for Selenium Webdriver and/or Visual Studio 2013 for my automated scripts?  

    http://www.seleniumhq.org/docs/05_selenium_rc.jsp#reporting-results

    http://social.msdn.microsoft.com/Forums/vstudio/en-US/eca2f422-9ed9-4d04-96c3-5f2910dcd89a/test-reporting-selenium-webdriver-with-c-and-mstest?forum=vsunittest

    Wednesday, July 23, 2014 3:06 PM

Answers

  • Hi,

    If you run automation test cases using Selenium WebDriver and want to generate report with charts and such for test result, it is out of support range of out forum because Selenium WebDriver is third-party, we don’t support it, in this case, you should consult on Selenium to check whether they provide a tool/way to generate reports for their test result.

    If you run automation tests from VS, you need a build for the test; if you run automation tests from MTM, you need associate a test script to a test case and build the test project in TFS in order to run automation tests. After running, a .trx result file may be generated when you run them from VS or MTM.

    Microsoft itself does not provide a tool to convert .trx file to a report such as html report, but other tools can do it for example: MS Test Result Viewer: http://www.codeproject.com/Articles/476524/MSTest-or-TRX-to-HTML-with-Animated-Charts or TrxtoHtml: http://trxtohtml.codeplex.com/

    Best regards,


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Thursday, July 24, 2014 6:19 AM
    Moderator

All replies

  • Hi,

    If you run automation test cases using Selenium WebDriver and want to generate report with charts and such for test result, it is out of support range of out forum because Selenium WebDriver is third-party, we don’t support it, in this case, you should consult on Selenium to check whether they provide a tool/way to generate reports for their test result.

    If you run automation tests from VS, you need a build for the test; if you run automation tests from MTM, you need associate a test script to a test case and build the test project in TFS in order to run automation tests. After running, a .trx result file may be generated when you run them from VS or MTM.

    Microsoft itself does not provide a tool to convert .trx file to a report such as html report, but other tools can do it for example: MS Test Result Viewer: http://www.codeproject.com/Articles/476524/MSTest-or-TRX-to-HTML-with-Animated-Charts or TrxtoHtml: http://trxtohtml.codeplex.com/

    Best regards,


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Thursday, July 24, 2014 6:19 AM
    Moderator
  • Thank you for providing the URLS of MS Test Result Viewer and Trxto....
    Friday, September 12, 2014 5:57 PM
  • Hi Devendra,

    I am new to specflow with selenium and we are implementing this in our project and looking for somekind of reporting stuff.Did you find any?

    Wednesday, March 15, 2017 8:00 PM