Waiting to get a video on SpecFlow Page Object Model as from 3.11 version of Selenium C# Bindings, Page Factory is deprecated!
@LambdaTest3 жыл бұрын
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
@naredlaanjani58502 жыл бұрын
Hi, can you do same testing in unit test project.. That mean can u pick unit test project and build specflow execution..
@LambdaTest2 жыл бұрын
Hey Naredla, let us get back to you on this!
@LambdaTest2 жыл бұрын
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?
@sindug7072 жыл бұрын
Can we use this combination for WPF application. C# + selenium + spec flow.
@LambdaTest2 жыл бұрын
Hi Sindu, let us get back to you on this
@LambdaTest2 жыл бұрын
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.
@diyer96452 жыл бұрын
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
@LambdaTest2 жыл бұрын
Hi Diyer, Let us get back to you on this
@diyer96452 жыл бұрын
Okay, thank you. Let me know. I tried lot of the suggestions from Stack Overflow but none of them worked for me.
@LambdaTest2 жыл бұрын
@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
@diyer96452 жыл бұрын
@@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 Жыл бұрын
Can we install specflow in vs code?
@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 Жыл бұрын
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 Жыл бұрын
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 Жыл бұрын
Thanks @LambdaTest for sharing the video link..
@LambdaTest11 ай бұрын
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!
@sonasona63 жыл бұрын
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
@LambdaTest3 жыл бұрын
Hi Sona, Can you elaborate more on your question?
@armanhatefi3603 жыл бұрын
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/
@sonasona62 жыл бұрын
@@armanhatefi360 thank you so much .. I will have a look at the powershell script .. thanks
@LambdaTest2 жыл бұрын
@@armanhatefi360 Thanks for answering this
@Zealousk2 жыл бұрын
Hi, I couldn't find the support document. Can you share it please?
@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/
@ExecuteAutomation3 жыл бұрын
Glad to see the video compiled pretty well !
@LambdaTest3 жыл бұрын
Thanks Karthik :)
@tanneruraviteja33122 жыл бұрын
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🙏🙏🙏
@LambdaTest2 жыл бұрын
Hi Tanneru, Let us get back to you on this
@tanneruraviteja33122 жыл бұрын
@@LambdaTest waiting for your reply on this 🙏
@annonymus25792 жыл бұрын
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?
@LambdaTest2 жыл бұрын
Hi Anno, Let us get back to you
@deceptivelysmallman2 жыл бұрын
I just manually typed out what I could see on the screen. I'm using Visual Studio 2022, that might be why
@JeatBunkie Жыл бұрын
You probably don’t have the specflow extension installed properly
@mahmoudhassan8577 Жыл бұрын
Me too I have same issue
@kikomachinexe95332 жыл бұрын
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?
@LambdaTest2 жыл бұрын
Hey there, Can you try using the shortcut CTRL+SHIFT+Q
@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 Жыл бұрын
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.