2,310 questions
1 vote
0 answers
30 views
How to re-run a single specflow scenario outline in github workflow using NUnit
I am trying to implement re-run logic for my scenario outline @DOC-136 @DOC-137 @DOC-138 @DOC-139 @Browser:Chrome Scenario Outline: AT01.01 - Test Workflow - Create a case When I open Create New ...
0 votes
1 answer
30 views
How to write the Then clause in a SpecFlow Scenario addressing a method with a Table parameter defining a set of values
Considering the following Then verifying method already implemented: /// <summary> /// Verifies the elements of a <see cref="ComboBox" />. /// </summary> /// <param ...
8 votes
1 answer
8k views
SpecFlow Extension for Visual Studio 2022 No Longer Available on Marketplace [closed]
I have been using the SpecFlow extension for Visual Studio 2022, but recently I noticed that it is no longer available for download and installation from the Visual Studio Marketplace. It seems like ...
0 votes
0 answers
480 views
Specflow isn't happy in Visual Studio Pro 2022 (LTSC) 17.10 with .NET 8
I went back to my automated testing using Specflow and visual studio and encountered a warning of: The project bindings (e.g. step definitions) could not be discovered. Navigation, step completion and ...
1 vote
1 answer
58 views
Log For Debugging when running Specflow in Azure Pipeline
With the old version of Specflow (3.0.0.0, and with .NET Framework 4.7.2), I could add Console.Writeline() into the step methods, and I ran the tests via Azure pipeline, on the Test tab I can get to ...
0 votes
0 answers
24 views
Specflow Scenario with Tag-Based JSON Data Management
My specflow scenario has 4 tags example @sanity-qa, @Regression-qa, @Sanity-Stg and @regression-Stg. Scenario example is below: @sanity-qa @Regression-qa @Sanity-Stg @regression-Stg ...
1 vote
1 answer
831 views
Trying to build a custom Retry tag for Reqnroll Gherkin syntax
I am tyrying to build a custom Retry Hook for use with Reqnroll (the newer Specflow), and I am having some difficulty re-running the test. I am curios how I can actually re-run the same test on ...
0 votes
1 answer
142 views
VS Code(1.94.2)"Go To Definition" (Ctrl+Click) Not Working for SpecFlow Steps
I'm facing a persistent issue with Visual Studio Code where the "Go To Definition" functionality (Ctrl+Click) doesn't work for SpecFlow steps. Despite successful test execution, the IDE ...
0 votes
3 answers
1k views
SpecFlow C# Visual Studio - Navigation Disabled
SpecFlow for VS 2022 2022.1.91.26832 Problem Cannot navigate to code behind feature file steps. Tried delete the .vs file delete %temp% files delete autogenerated .cs files for .feature files. close ...
1 vote
2 answers
1k views
Go to definition in specflow feature file is not working in VS 2022
Go to definition in specflow feature file is not working in VS 2022. New steps (definition less) are not coming in purple, all the steps are white coloured. Trying to create definition for new steps ...
0 votes
1 answer
213 views
How to run only tagged scenarios in azure pipeline using SpecFlow
I have a lot of testcases in SpecFlow for my website. There are different wizards in this website and I have created a tag for testcases associated with each, since changing something in the code of ...
0 votes
0 answers
22 views
How to integrate MEF as an external DI Container into SpecFlow?
The SpecFlow project (https://github.com/SpecFlowOSS/SpecFlow) provides an own plupin to integrate AutoFac as an external DI container. There is also a blog entry from the SpecFlow author where he ...
0 votes
0 answers
151 views
How to add screenshot of SpecFlow test failure using LivingDoc?
I have been searching to find how I can add a screenshot to my LivingDoc report upon test failure (PlayWright Framework). My research has led me to the code below: [AfterScenario] public async ...
0 votes
0 answers
45 views
Specflow scenario with 2 tags, failing to locate tag names in Jenkins run
I am trying to use multiple tags for a scenario outline in Specflow C# feature file. I need this implementation because of a change in functionality based on tag names. @User1 @User2 Scenario Outline: ...
0 votes
0 answers
2k views
Problems with Reqnroll test generation
I have created a functional test solution for my .Net application using NUnit3 and Reqnroll (formerly SpecFlow: the project was initially created using SpecFlow, later migrated to Reqnroll). Solution ...