Reputation: 443
We have a code only CodedUI project which we use for GUI testing and now we are investigating the possibility of using SpecFlow Feature files. So I:
Now when I embed inside the first Gherkin C# Method, a simple CodedUI statement which opens the browser I get a 'filenotfoundexception: could not load file or assembly Microsoft.VisualStudio.TestTools.UITest.WindowsStoreUtility'
When I uninstall 2.1 and install SpecFlow 1.9 with SpecFlow.plugins.codedui it works without problems!
Is there a solution for 2.1?
Upvotes: 0
Views: 317
Reputation: 5835
With SpecFlow 2.1 we changed the plugin infrastructure and so older plugins do not work anymore.
But it is not difficult to implement the needed stuff for CodedUI on your own. Please see https://github.com/techtalk/SpecFlow/wiki/Using-SpecFlow-with-CodedUI-API
The documentation is not yet updated to SpecFlow 2.*, but the interfaces did not have changed. You have to adapt the paths to the new version numbers.
If you have questions, please join us on our Gitter- Channel.
Upvotes: 2