Behaviour Driven Development (BDD) in .Net using SpecFlow, Selenium and NUnit - Online Free Computer Tutorials.

'Software Development, Games Development, Mobile Development, iOS Development, Android Development, Window Phone Development. Dot Net, Window Services,WCF Services, Web Services, MVC, MySQL, SQL Server and Oracle Tutorials, Articles and their Resources

Wednesday, July 11, 2018

Behaviour Driven Development (BDD) in .Net using SpecFlow, Selenium and NUnit

I have been working on the Behaviour Driven Development (BDD) using SpecFlow for .Net and I felt it is fun. According to me, it is a Tester's tool rather than a Developer's tool and I felt it is worth sharing. Kindly refer the wiki for more theoretical info on BDD: http://en.wikipedia.org/wiki/Behavior_Driven_Development SOFTWARE REQUIREMENTS: Windows 7 as OS Microsoft Visual Studio 2010 as IDE SpecFlow as BDD tool for .Net NUnit as Unit Testing Tool Selenium as a Test Automation Tool SET-UP INSTRUCTIONS: To install the Selenium WebDriver project: Create a new Project with C# Class Library and save it ('SpecflowTest' in my example). Download and install NuGet Package Manager using Tools - Extension Manager. Restart MS Visual Studio in order for the changes to take effect. Go to Package Manager Console install the latest version of Selenium WebDriver by running the command Install-Package Selenium.WebDriver -Version 2.20.0 Install the latest version of Selenium WebDriver Support Classes by running the command Install-Package Selenium.


I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too.

Stay tuned to my blogtwitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.


This article is related to

Agile,BDD,C#,Selenium,TDD,Test Automation,NUnit,SpecFlow,Visual Studio

No comments:

Post a Comment