Reputation: 31
I am new to Specflow +selenium can someone help with this please:
When i add the "baseclass.contrib.specflow.selenium.nunit" to NuGet packages and build my solution ,its throwing me eroor :"The "GenerateFeatureFileCodeBehindTask" task failed unexpectedly"
and when I uninstall that package and build solution, it works fine. what is the problem here?
The packages I have added to my solution are:
This is my App.congif file when i add the Baseclass.contrib package
Upvotes: 0
Views: 162
Reputation: 5825
The Baseclass.Contrib.SpecFlow.Selenium.NUnit package says it is compatible with the latest SpecFlow versions, but it is not. It is not working since SpecFlow 2.0. This is an error in the NuGet package.
I assume you want to use this package to create scenarios for different browsers. If this is the case, have a look at our Selenium example with the SpecFlow+ Runner.
The example shows how to use SpecFlow and SpecFlow+Runner to run Selenium Web Tests for different Browsers.
Full disclosure: I am one of the maintainers of SpecFlow and SpecFlow+
Upvotes: 1