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 Жыл бұрын
Thanks for watching, you need to create extent report name dynamically. For example you give current time & date
@lifecaptured2396 Жыл бұрын
Very Help full video .
@lifecaptured2396 Жыл бұрын
If possible, can you share the video about How to perform Cross Browser testing and parallel Testing on c#. Thanks
@testerstalk Жыл бұрын
Thanks for watching
@testerstalk Жыл бұрын
Keep visiting my channel!
@sujjiarunreddy5438 Жыл бұрын
Thank you sir
@testerstalk Жыл бұрын
Thanks for watching! Please share these tutorials with your friends and colleagues 😊
@akak4118 Жыл бұрын
Specflow+runner have they retired it. Will they retire the basic specflow as well?
@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 Жыл бұрын
Sir, when are you going to add Tutorials-05?
@testerstalk Жыл бұрын
Thanks for watching this tutorial! Already specflow Selenium C# full course is available in KZbin - kzbin.info/www/bejne/bamzlJSirLpqbMU
@shrikantgore9035 Жыл бұрын
How to take Full Page screenshot, can you please help.
@PablitoLazarus Жыл бұрын
screenshot.SaveAsFile(screenshotLocation); //maybe this is help to somebody instead of this: screenshot.SaveAsFile(screenshotLocation, ScreenshotImageFormat.Png);
@269sanket11 ай бұрын
Thanks!!
@dapomorenigbade995810 ай бұрын
Thanks for this, however, I keep getting nullexception when there is a failure, could you help on that?
@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); } } }