Selenium C# How to Generate Extent Reports by Bakkappa N

Поділитися
Вставка
  • Опубліковано 1 гру 2024

КОМЕНТАРІ • 40

  • @tulidutta2083
    @tulidutta2083 4 роки тому +1

    Hello Sir!I have gone through many videos in UA-cam and blogs in google for extent report.But I found your explanation line by line is quite good for understanding like a newbie in automation like me.Appreciate your good work .please upload more videos on C# automation selenium.Thank you

  • @dotnetmohan
    @dotnetmohan 5 років тому +1

    Excellent Bakkappa. its really simple explanation that what need in actual development.

    • @testerstalk
      @testerstalk  5 років тому

      Hi Mohan, Thanks for watching tutorial.
      Keep on visiting my channel.

  • @youtubevideos5363
    @youtubevideos5363 5 років тому +1

    Thanks Bakkappa N! for posting this tutorial, I was eagerly looking this type of tutorial

    • @testerstalk
      @testerstalk  5 років тому

      Thanks for watching this tutorial.
      Please visit to other tutorials in the same channel.
      ua-cam.com/users/BakkappaN_SoftwareTesting_Videos

  • @SureshK-jt3id
    @SureshK-jt3id 6 років тому +1

    super

  • @117MasterLegendary
    @117MasterLegendary 3 роки тому

    Thanks, this tutorial help me!!!

  • @SureshK-jt3id
    @SureshK-jt3id 6 років тому +1

    wow facebook selinum n unit videos

    • @testerstalk
      @testerstalk  6 років тому

      Thanks for visiting this video.
      I hope you are visiting other videos as well in the channel
      ua-cam.com/users/BakkappaN_SoftwareTesting_Videos

  • @angelicav.3487
    @angelicav.3487 4 роки тому +1

    Muchas gracias ✔️

    • @testerstalk
      @testerstalk  4 роки тому

      Thanks for watching this video, Keep on visiting..keep on learning.

    • @angelicav.3487
      @angelicav.3487 4 роки тому

      @@testerstalk of course! thank you!, I am interesting in learning to create test reports from Visual Studio with c# y Selenium Web Driver.

  • @ghasemtabatabaei2049
    @ghasemtabatabaei2049 3 роки тому +1

    Is there anyway without Try and Catch? For example a Global Catch?

  • @Aravind-iq6fx
    @Aravind-iq6fx 4 роки тому +1

    Hi Bakkappa, Thank you so much for the highly informative session. I have a question. Can we use all four onetimesetup, setup, teardown and onetimeteardown in a class? I tried it only code present in setup and teardown are working, rest of the two (onetimesetup and onetimeteardown) not executed, I thought onetimesetup and onetimeTearDown attributes are like testNG BeforeSuite and AfterSuite. Please reply!

    • @testerstalk
      @testerstalk  4 роки тому +1

      I guess before executing setup & teardown it will executes onetimesetup & onetimeteardown.

  • @chinmayk2657
    @chinmayk2657 3 місяці тому

    Hi Bakkapa - i want multiple test case execution in one extent report - can you please help

  • @maheshyadav308
    @maheshyadav308 4 роки тому

    Thanks Bakkappa, I followed your Tutorial and Generated Html Report. Now I want to customize the Report to Pdf or any printable version. Can you suggest me how do I achieve it

  • @khazeramin1810
    @khazeramin1810 5 років тому +1

    What kind of project did you start with? Console or class library?

    • @khazeramin1810
      @khazeramin1810 5 років тому

      Never mind. Fantastic video. I like how you took time to explain your code line by line. Everyone can learn from this video.

    • @testerstalk
      @testerstalk  5 років тому +1

      Thanks Khazer for watching this tutorial.
      Please refer this playlist- ua-cam.com/video/Xgg5syf850g/v-deo.html

  • @syedsaddadin1859
    @syedsaddadin1859 5 років тому +1

    how to make it as Utility each time when we run the TestCase we have mention that code?? can't we write the code once and whenever we run the Test Case automatically the report should generate.

    • @testerstalk
      @testerstalk  5 років тому

      Hi Syed, Thank you for watching this tutorial.
      This is customized reporting, adding screen shots and creating appropriate logs.

  • @supvicky7337
    @supvicky7337 3 роки тому

    Hi Sir, can you make a video on how to differentiate the pass reports and failed reports , that is I need pass reports in one folder and failed reports in another folder.

  • @sazzadmahamud8123
    @sazzadmahamud8123 5 років тому +1

    Hi,
    Is it possible to have test cases from multiple class to same extent report?
    Thanks in Advance

    • @testerstalk
      @testerstalk  5 років тому

      Thanks for watching tutorial, Yes it is possible.

    • @sazzadmahamud8123
      @sazzadmahamud8123 5 років тому

      @@testerstalk Thanks for the reply. Can you please make a short tutorial on it or tell me in the comment section? I am using onetime setup and onetime teardown, but still getting extent report for each of the classes instead of one report with all of the classes.

    • @geethuvaddepalli5781
      @geethuvaddepalli5781 2 роки тому

      @@sazzadmahamud8123 did you get what you are trying for !?

  • @sathiksha3654
    @sathiksha3654 Рік тому +1

    If possible generate an Extent pdf report?

    • @testerstalk
      @testerstalk  Рік тому

      I never tried, it should be possible to convert html file to pdf file

  • @meenakshia6323
    @meenakshia6323 4 роки тому

    i got this type of error like " System.InvalidOperationException : session not created: This version of ChromeDriver only supports Chrome version 75 (SessionNotCreated)
    ". can you please expain how to resolve this error?

  • @himanshubeohar
    @himanshubeohar 2 роки тому +1

    My Extent report is saving with name index.html. Please help.

    • @testerstalk
      @testerstalk  Рік тому

      Very soon i am publishing latest tutorial on extent report

  • @pavankumar-kw6pj
    @pavankumar-kw6pj 4 роки тому

    does this work in . net 4.8 framework

  • @himanshubeohar
    @himanshubeohar 2 роки тому

    Hi, How to Add Screenshot in our report. Please help?

  • @bargeron980
    @bargeron980 6 років тому

    Hi ,
    Everything is working and the test is passing, however it's not generating any Report File for me , plz help!
    this is my code :
    using System;
    using Microsoft.VisualStudio.TestTools.UnitTesting;
    using NUnit.Framework;
    using AventStack.ExtentReports;
    using AventStack.ExtentReports.Reporter;
    using System.Net;
    using OpenQA.Selenium.Chrome;
    using OpenQA.Selenium;
    namespace CasinoClubTests
    {
    [TestFixture]
    public class CasinoTests
    {
    public ExtentReports extent;
    public ExtentTest test;
    [OneTimeSetUp]
    public void StartReport()
    {
    extent = new ExtentReports();
    var htmlReporter = new ExtentHtmlReporter("ReportLogin.html");
    extent.AttachReporter(htmlReporter);
    }
    [Test]
    public void OpenWebsite()
    {
    IWebDriver driver = null;
    try
    {
    test = extent.CreateTest("OpenWebsite").Info("Test Started");
    driver = new ChromeDriver();
    driver.Url = "www.casinoclub.com";
    driver.Manage().Window.Maximize();
    test.Log(Status.Info, "Chrome Browser Start");
    test.Log(Status.Info, "Chrome Browser Closed");
    driver.Quit();
    test.Log(Status.Pass, "Testing is done!");
    }
    catch (Exception e)
    {
    throw;
    }
    finally
    {
    }
    }
    [OneTimeTearDown]
    public void EndReport()
    {
    extent.Flush();
    }
    }
    }

  • @gauravbhardwaj696
    @gauravbhardwaj696 5 років тому +1

    I have multiple Test Classes and when I try to generate the reports , only last test class report is generated. All others get overirdden . What should I do ?

    • @testerstalk
      @testerstalk  5 років тому

      Hi Gaurav, Did you tried with the code which i have provided in the github?.

    • @rajkumartelkar4367
      @rajkumartelkar4367 4 роки тому +1

      @@testerstalk - kindly provide the solution how to run extent report for multiple Test Classes

    • @testerstalk
      @testerstalk  4 роки тому

      @@rajkumartelkar4367ua-cam.com/video/Wrriub4JSzU/v-deo.html

  • @nikolaihristov2973
    @nikolaihristov2973 3 роки тому

    I dont have this XML file help me pls