SpecFlow Selenium C# Tutorials-04 Add Screenshot into Extent Report When Script Failed

  Рет қаралды 5,932

Testers Talk

Testers Talk

Күн бұрын

Пікірлер: 19
@testerstalk
@testerstalk Жыл бұрын
Specflow BDD Automation framework GitHub Repository - github.com/BakkappaN/SpecFlowBDDAutomationFramework#readme ** FREE KZbin Full Courses ** ========================== 🔊 Specflow Selenium C# Tutorial - kzbin.info/www/bejne/bamzlJSirLpqbMU 🔊 Selenium C# .NET NUnit Tutorial - kzbin.info/www/bejne/q6XJknhvg9tkfLs 🔊 EasyRepro Framework Tutorial D365 CRM Testing Tutorial - kzbin.info/www/bejne/rmHGeY1pepx4odk 🔊 Selenium GRID Tutorial - kzbin.info/www/bejne/q4e2YWt7gt2Hns0 🔊 Appium Tutorial Mobile App Automation - kzbin.info/www/bejne/jp_bl2mrgJyJa7M 🔊 Appium Tutorial Selenium GRID Tutorial - kzbin.info/www/bejne/haHdiICagZyeiKM 🔊 Data Driven Framework Tutorial - kzbin.info/www/bejne/oqjOqp9jic1spLc 🔊 Cucumber BDD Framework Tutorial Part1 - kzbin.info/www/bejne/jqiXeKKhZ85lpqM 🔊 Cucumber BDD Framework Tutorial Part2 - kzbin.info/www/bejne/gqSclXarbLmHjrc *You can follow us on* LinkedIN : www.linkedin.com/in/bakkappa-n/ LinkedIN Group : www.linkedin.com/groups/10393... Facebook : facebook.com/groups/24786... #testerstalk #selenium #automationtesting #testing #testautomation #qa #sdet #softwaretesting #bdd #automationframework #seleniumjava #seleniumcsharp #.net #testng #nunit #appium #cucumber #specflow #git #github #tutorial #beginner #seleniumautomationtesting #restapi #api #easyrepro #postman #apitesting #restapitesting #bakkappan
@yashwantbeeram8543
@yashwantbeeram8543 Жыл бұрын
This is really awesome video, even fresher will understand very easily.Thank you so much. If we want to keep All logs with folder not updating existing folder then what we need to do sir?
@testerstalk
@testerstalk Жыл бұрын
Thanks for watching, you need to create extent report name dynamically. For example you give current time & date
@lifecaptured2396
@lifecaptured2396 Жыл бұрын
Very Help full video .
@lifecaptured2396
@lifecaptured2396 Жыл бұрын
If possible, can you share the video about How to perform Cross Browser testing and parallel Testing on c#. Thanks
@testerstalk
@testerstalk Жыл бұрын
Thanks for watching
@testerstalk
@testerstalk Жыл бұрын
Keep visiting my channel!
@sujjiarunreddy5438
@sujjiarunreddy5438 Жыл бұрын
Thank you sir
@testerstalk
@testerstalk Жыл бұрын
Thanks for watching! Please share these tutorials with your friends and colleagues 😊
@akak4118
@akak4118 Жыл бұрын
Specflow+runner have they retired it. Will they retire the basic specflow as well?
@SoumyaSenapati-h8v
@SoumyaSenapati-h8v Ай бұрын
Hi Sir, After cloning the repo to local I'm getting error as : Severity Code Description Project File Line Suppression State Error (active) CS0103 The name 'ScreenshotImageFormat' does not exist in the current context SpecFlowBDDAutomationFramework C:\Users\Soberr\Desktop\FrameworkView\SpecFlowBDDAutomationFramework\Utility\ExtentReport.cs 47 Can you please help me on that...
@MrAditya30
@MrAditya30 Жыл бұрын
Sir, when are you going to add Tutorials-05?
@testerstalk
@testerstalk Жыл бұрын
Thanks for watching this tutorial! Already specflow Selenium C# full course is available in KZbin - kzbin.info/www/bejne/bamzlJSirLpqbMU
@shrikantgore9035
@shrikantgore9035 Жыл бұрын
How to take Full Page screenshot, can you please help.
@PablitoLazarus
@PablitoLazarus Жыл бұрын
screenshot.SaveAsFile(screenshotLocation); //maybe this is help to somebody instead of this: screenshot.SaveAsFile(screenshotLocation, ScreenshotImageFormat.Png);
@269sanket
@269sanket 11 ай бұрын
Thanks!!
@dapomorenigbade9958
@dapomorenigbade9958 10 ай бұрын
Thanks for this, however, I keep getting nullexception when there is a failure, could you help on that?
@GodblessEnaigbe
@GodblessEnaigbe Жыл бұрын
Hi Bakkappa, please i need help. I created a simple test the test is behaving as expected but Stack Trace is throwing up BindingInvoker error and I am not sure were the problem is coming from Message:  String lengths are both 8. Strings differ at index 1. Expected: "Register" But was: "REGISTER" ------------^ Stack Trace:  step1.ThenValidateTheHomePage() line 35 BindingInvoker.InvokeBinding(IBinding binding, IContextManager contextManager, Object[] arguments, ITestTracer testTracer, TimeSpan& duration) TestExecutionEngine.ExecuteStepMatch(BindingMatch match, Object[] arguments, TimeSpan& duration) TestExecutionEngine.ExecuteStep(IContextManager contextManager, StepInstance stepInstance) TestExecutionEngine.OnAfterLastStep() TestRunner.CollectScenarioErrors() Feature1Feature.ScenarioCleanup() Feature1Feature.AccessHomePage() line 9 Standard Output:  Given I open the browser -> done: step1.GivenIOpenTheBrowser() (2.5s) When I enter url -> done: step1.WhenIEnterUrl() (7.4s) Then validate the home page -> error: String lengths are both 8. Strings differ at index 1. Expected: "Register" But was: "REGISTER" ------------^ My concern is the Stack Trace: please any idea? Feature: Feature1 A short summary of the feature @tag1 Scenario: Access home page Given I open the browser When I enter url Then validate the home page using NUnit.Framework; using OpenQA.Selenium; using OpenQA.Selenium.Chrome; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SpecFlowProject2.StepDefinitions { [Binding] public class step1 { IWebDriver driver; [Given(@"I open the browser")] public void GivenIOpenTheBrowser() { driver = new ChromeDriver(); driver.Manage().Window.Maximize(); } [When(@"I enter url")] public void WhenIEnterUrl() { driver.Navigate().GoToUrl("example.com"); } [Then(@"validate the home page")] public void ThenValidateTheHomePage() { string actual =driver.FindElement(By.XPath("(//a[normalize-space()='Register'])[1]")).Text; string expected = "Register"; Assert.AreEqual(expected, actual); } } }
SpecFlow Selenium C# Tutorials-05 | Data Driven Testing Part-01
9:12
1% vs 100% #beatbox #tiktok
01:10
BeatboxJCOP
Рет қаралды 67 МЛН
黑天使被操控了#short #angel #clown
00:40
Super Beauty team
Рет қаралды 61 МЛН
“Don’t stop the chances.”
00:44
ISSEI / いっせい
Рет қаралды 62 МЛН
REAL or FAKE? #beatbox #tiktok
01:03
BeatboxJCOP
Рет қаралды 18 МЛН
Zelensky Announces Talks with Russia / End of Martial Law?
13:55
NEXTA Live
Рет қаралды 757 М.
Extent Report 4 with screenshot support in Selenium C# with .NET Core 3.1
17:21
SpecFlow Selenium C# Tutorials-02 | Hooks Implementation
20:19
Testers Talk
Рет қаралды 9 М.
xUnit selenium C# integration with Extent report
28:30
RoadToAutomation -- Sadik
Рет қаралды 1,2 М.
Take screenshot only for failed test cases in selenium WebDriver
16:45
Tutorials by Prachujya Saikia
Рет қаралды 7 М.
How To Explain Test Automation Framework In Interviews For Selenium
13:42
11 | Cucumber Tutorial | Cucumber HTML Report | Failed Screenshots
14:23
Saravanan Seenivasan
Рет қаралды 4,7 М.
1% vs 100% #beatbox #tiktok
01:10
BeatboxJCOP
Рет қаралды 67 МЛН