Complete SpecFlow Selenium C# Tutorial | Learn SpecFlow in 40 Minutes | LambdaTest

  Рет қаралды 49,315

LambdaTest

LambdaTest

Күн бұрын

Пікірлер: 46
@syedaislam8952
@syedaislam8952 3 жыл бұрын
Waiting to get a video on SpecFlow Page Object Model as from 3.11 version of Selenium C# Bindings, Page Factory is deprecated!
@LambdaTest
@LambdaTest 3 жыл бұрын
Hey Syeda, Glad that you are watching our videos and coming up with suggestions. We are in the process of creating new videos with Selenium 4. Will keep you posted
@naredlaanjani5850
@naredlaanjani5850 2 жыл бұрын
Hi, can you do same testing in unit test project.. That mean can u pick unit test project and build specflow execution..
@LambdaTest
@LambdaTest 2 жыл бұрын
Hey Naredla, let us get back to you on this!
@LambdaTest
@LambdaTest 2 жыл бұрын
Naredla, There is no rule of thumb to use SpecFlow. However, our recommendation is to use BDD frameworks (like SpecFlow) to test out business (or domain level) requirements. The requirements purely depend on the project type. Having said that, you could still use SpecFlow for unit testing if the intent is to write unit tests that take the behavioral aspects (something offered by BDD) into consideration. You might also need to look into mocking SpecFlow’s ScenarioContext (in case required). Before closing, can you please share your use case so that we can help you further?
@sindug707
@sindug707 2 жыл бұрын
Can we use this combination for WPF application. C# + selenium + spec flow.
@LambdaTest
@LambdaTest 2 жыл бұрын
Hi Sindu, let us get back to you on this
@LambdaTest
@LambdaTest 2 жыл бұрын
Hi Sindu, WPF applications are Client Applications that run on the Windows platform. Selenium Supports only Web-based Application Testing. However, you can still use Spec Flow as its help to Write BDD Scenarios.
@diyer9645
@diyer9645 2 жыл бұрын
Tests are not displayed in the Test Explorer. I added NUnit3TestAdaptor, config file is updated with "MSTest" for unitTestProvider but still test is not getting displayed in the TE. Any thoughts on how I can get this working. Thanks
@LambdaTest
@LambdaTest 2 жыл бұрын
Hi Diyer, Let us get back to you on this
@diyer9645
@diyer9645 2 жыл бұрын
Okay, thank you. Let me know. I tried lot of the suggestions from Stack Overflow but none of them worked for me.
@LambdaTest
@LambdaTest 2 жыл бұрын
@Diyer Can you try below points . 1. Install MSTest TestAdapter 2. Build the entire project once you add new Test . 3. Check Test Methods are public 4. Upgrade all NuGet packages
@diyer9645
@diyer9645 2 жыл бұрын
@@LambdaTest figured out the issue, it is just that the Group Summary section in the Test Explorer was set wider than the Test details section. So I undocked the TE and opened full size then I could see the Test Details section on the side. So I had to dock it to the bottom to be able to see the Test Details section. Thank you for your help
@ramrio4898
@ramrio4898 Жыл бұрын
Can we install specflow in vs code?
@LambdaTest
@LambdaTest Жыл бұрын
Hello, You can install SpecFlow in VS Code by installing the C# extension. Search for and install the SpecFlow for VS Code extension and configure SpecFlow to add the necessary dependencies to your project. Finally, write and run SpecFlow tests using the Gherkin syntax and appropriate test runner.
@jeelpatel7455
@jeelpatel7455 Жыл бұрын
Hey it's a good informative video. Just wondering about selenium 4.12 have you make any automation with 4.12 using lambda test ?
@LambdaTest
@LambdaTest Жыл бұрын
Hi Jeel, Glad you liked the video :) While we currently support version 4.12 at LambdaTest, we are actively working on creating more content around it. In the meantime, you can explore our blog post on Selenium 4.11.0 here: www.lambdatest.com/blog/selenium-manager-in-selenium-4-11-0/. Additionally, @faisalkhatriqa (who frequently contributes to LamdaTest Blog) has created a video tutorial covering Selenium 4.12, which you can watch here: kzbin.info/www/bejne/q3mviqKAor-rjcU. Since there are no changes in RemoteWebDriver, you can also try version 4.12.0 on LambdaTest.
@faisalkhatriqa
@faisalkhatriqa Жыл бұрын
Thanks @LambdaTest for sharing the video link..
@LambdaTest
@LambdaTest 11 ай бұрын
You're welcome! Glad you found the video link helpful. If you have any questions or need further assistance, feel free to reach out. Happy learning!
@sonasona6
@sonasona6 3 жыл бұрын
hi what is the local host vale given in the driver class please ..what should i give for my test ..could u please explain that
@LambdaTest
@LambdaTest 3 жыл бұрын
Hi Sona, Can you elaborate more on your question?
@armanhatefi360
@armanhatefi360 3 жыл бұрын
Hi Sona, If you mean the "localhost:4444/wd/hub" at minute 11:05 of the video, that is the url of the browser driver that is running on presenter's system. In the video, a few seconds right after that, you will see that he points to a powershell prompt window which shows it is running GeckoDriver service which is developed by FireFox. You can see more info on these URLs: www.selenium.dev/documentation/webdriver/getting_started/ www.selenium.dev/documentation/webdriver/getting_started/install_drivers/
@sonasona6
@sonasona6 2 жыл бұрын
@@armanhatefi360 thank you so much .. I will have a look at the powershell script .. thanks
@LambdaTest
@LambdaTest 2 жыл бұрын
@@armanhatefi360 Thanks for answering this
@Zealousk
@Zealousk 2 жыл бұрын
Hi, I couldn't find the support document. Can you share it please?
@LambdaTest
@LambdaTest Жыл бұрын
Hey there 👋🏻 Please refer to the following link for LambdaTest support doc www.lambdatest.com/support/docs/specflow-with-selenium-running-specflow-automation-scripts-on-lambdatest-selenium-grid/
@ExecuteAutomation
@ExecuteAutomation 3 жыл бұрын
Glad to see the video compiled pretty well !
@LambdaTest
@LambdaTest 3 жыл бұрын
Thanks Karthik :)
@tanneruraviteja3312
@tanneruraviteja3312 2 жыл бұрын
Hi, really great video. I have a doubt for the below one: in a web based application having 100 respondents each respondent have different ids. i have to run my test cases for all respondents using id which are listed in test data file. file consists of 100 respondent ids, using this file i have to select an id in backend and run the application. here i have to choose the id before the application launched. so, in this case can we use Before feature hook to access that file to select option in backend. is it possible for specflow hooks to access the data from file. Please provide answer for this🙏🙏🙏
@LambdaTest
@LambdaTest 2 жыл бұрын
Hi Tanneru, Let us get back to you on this
@tanneruraviteja3312
@tanneruraviteja3312 2 жыл бұрын
@@LambdaTest waiting for your reply on this 🙏
@annonymus2579
@annonymus2579 2 жыл бұрын
I followed your instructions to the letter, but there is no "generate step definitions" option in the contex menu when i right click anywhere in the feature file, any tips?
@LambdaTest
@LambdaTest 2 жыл бұрын
Hi Anno, Let us get back to you
@deceptivelysmallman
@deceptivelysmallman 2 жыл бұрын
I just manually typed out what I could see on the screen. I'm using Visual Studio 2022, that might be why
@JeatBunkie
@JeatBunkie Жыл бұрын
You probably don’t have the specflow extension installed properly
@mahmoudhassan8577
@mahmoudhassan8577 Жыл бұрын
Me too I have same issue
@kikomachinexe9533
@kikomachinexe9533 2 жыл бұрын
I am using a Mac and using visual studio 2022. I can't generate step definition because when i right click the editor, there is no option "Generate step definition". Anyone can help guys?
@LambdaTest
@LambdaTest 2 жыл бұрын
Hey there, Can you try using the shortcut CTRL+SHIFT+Q
@seanh2409
@seanh2409 Жыл бұрын
Copy and pasting example code is not as informative as going through code and replacing things, and explaining what you are replacing and why. Anyone can go to a sample site and copy/paste code, but the value added here should be in explanation and showing why things are to be modified. I think this misses the mark in helping people understand why things are done, due to this.
@LambdaTest
@LambdaTest Жыл бұрын
Hey Sean 👋🏻 Thank you for taking the time to provide feedback on the video. We understand the importance of providing a detailed explanation of the code and the concepts involved. We will take your feedback into consideration and try to improve our future videos by providing more detailed explanations of the code including the changes and concepts involved.
@SpecFlowBDD
@SpecFlowBDD 3 жыл бұрын
Great! :)
@pljjy2224
@pljjy2224 Жыл бұрын
14:13
@LambdaTest
@LambdaTest Жыл бұрын
lambdatest.github.io/sample-todo-app/
@jeelpatel7455
@jeelpatel7455 Жыл бұрын
Hey have you tried in selenium 14.12?
Introduction To BDD using SpecFlow (.NET 5)
17:52
Claudio Bernasconi
Рет қаралды 19 М.
Quilt Challenge, No Skills, Just Luck#Funnyfamily #Partygames #Funny
00:32
Family Games Media
Рет қаралды 55 МЛН
So Cute 🥰 who is better?
00:15
dednahype
Рет қаралды 19 МЛН
BAYGUYSTAN | 1 СЕРИЯ | bayGUYS
36:55
bayGUYS
Рет қаралды 1,9 МЛН
Selenium Grid Setup - Design & Infrastructure on WhiteBoard
30:30
Naveen AutomationLabs
Рет қаралды 25 М.
BDD SpecFlow C# | Feature File | Step Definition File
19:48
VishnuVardhanChowdary
Рет қаралды 21 М.
Selenium C# Automation Testing from scratch for beginners.
1:07:24
Test Automation 101
Рет қаралды 11 М.
WebdriverIO Tutorial | Full Crash Course | Latest Version
1:23:00
SDET Unicorns by Dilpreet Johal
Рет қаралды 3 М.
.NET and C# are in trouble. Here is what I'd do.
10:57
Ed Andersen
Рет қаралды 116 М.
SpecFlow Selenium C# Tutorials-02 | Hooks Implementation
20:19
Testers Talk
Рет қаралды 9 М.
Why SpecFlow and What's the benefit of having it?🤷‍♀️
9:00
Execute Automation
Рет қаралды 19 М.
Quilt Challenge, No Skills, Just Luck#Funnyfamily #Partygames #Funny
00:32
Family Games Media
Рет қаралды 55 МЛН