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
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!
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
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.
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.
@@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.
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?
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(); } } }
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 ?
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
Excellent Bakkappa. its really simple explanation that what need in actual development.
Hi Mohan, Thanks for watching tutorial.
Keep on visiting my channel.
Thanks Bakkappa N! for posting this tutorial, I was eagerly looking this type of tutorial
Thanks for watching this tutorial.
Please visit to other tutorials in the same channel.
ua-cam.com/users/BakkappaN_SoftwareTesting_Videos
super
Thanks, this tutorial help me!!!
wow facebook selinum n unit videos
Thanks for visiting this video.
I hope you are visiting other videos as well in the channel
ua-cam.com/users/BakkappaN_SoftwareTesting_Videos
Muchas gracias ✔️
Thanks for watching this video, Keep on visiting..keep on learning.
@@testerstalk of course! thank you!, I am interesting in learning to create test reports from Visual Studio with c# y Selenium Web Driver.
Is there anyway without Try and Catch? For example a Global Catch?
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!
I guess before executing setup & teardown it will executes onetimesetup & onetimeteardown.
Hi Bakkapa - i want multiple test case execution in one extent report - can you please help
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
What kind of project did you start with? Console or class library?
Never mind. Fantastic video. I like how you took time to explain your code line by line. Everyone can learn from this video.
Thanks Khazer for watching this tutorial.
Please refer this playlist- ua-cam.com/video/Xgg5syf850g/v-deo.html
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.
Hi Syed, Thank you for watching this tutorial.
This is customized reporting, adding screen shots and creating appropriate logs.
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.
Hi,
Is it possible to have test cases from multiple class to same extent report?
Thanks in Advance
Thanks for watching tutorial, Yes it is possible.
@@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.
@@sazzadmahamud8123 did you get what you are trying for !?
If possible generate an Extent pdf report?
I never tried, it should be possible to convert html file to pdf file
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?
My Extent report is saving with name index.html. Please help.
Very soon i am publishing latest tutorial on extent report
does this work in . net 4.8 framework
Hi, How to Add Screenshot in our report. Please help?
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();
}
}
}
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 ?
Hi Gaurav, Did you tried with the code which i have provided in the github?.
@@testerstalk - kindly provide the solution how to run extent report for multiple Test Classes
@@rajkumartelkar4367ua-cam.com/video/Wrriub4JSzU/v-deo.html
I dont have this XML file help me pls