SpecFlow Section in app.config or content of specflow.json
Seeing below issue for specflow
SigninToBstackdemoWebsite
Source: IamsLogin.feature line 5
Duration: 483 ms
Message:
System.MemberAccessException : Cannot create an instance of Microsoft.VisualStudio.TestTools.UnitTesting.TestContext because it is an abstract class.
Standard Output:
Given User is at Home Page with url "https://www.google.com"
-> skipped because of previous errors
Issue Description
SigninToBstackdemoWebsite
Source: IamsLogin.feature line 5
Duration: 483 ms
Message:
System.MemberAccessException : Cannot create an instance of Microsoft.VisualStudio.TestTools.UnitTesting.TestContext because it is an abstract class.
Standard Output:
Given User is at Home Page with url "https://www.google.com"
-> skipped because of previous errors
Steps to Reproduce
SigninToBstackdemoWebsite
Source: IamsLogin.feature line 5
Duration: 483 ms
Message:
System.MemberAccessException : Cannot create an instance of Microsoft.VisualStudio.TestTools.UnitTesting.TestContext because it is an abstract class.
Used Visual Studio
Visual Studio 2022
Are the latest Visual Studio updates installed?
Yes
SpecFlow Section in app.config or content of specflow.json
Seeing below issue for specflow
SigninToBstackdemoWebsite Source: IamsLogin.feature line 5 Duration: 483 ms
Message: System.MemberAccessException : Cannot create an instance of Microsoft.VisualStudio.TestTools.UnitTesting.TestContext because it is an abstract class.
Stack Trace: TestExecutionEngine.FireEvents(HookType hookType) TestExecutionEngine.FireScenarioEvents(HookType bindingEvent) TestExecutionEngine.OnScenarioStart() TestExecutionEngine.OnAfterLastStep() TestRunner.CollectScenarioErrors() IAMSLoginFeature.ScenarioCleanup() IAMSLoginFeature.SigninToBstackdemoWebsite() line 6
Standard Output: Given User is at Home Page with url "https://www.google.com" -> skipped because of previous errors
Issue Description
SigninToBstackdemoWebsite Source: IamsLogin.feature line 5 Duration: 483 ms
Message: System.MemberAccessException : Cannot create an instance of Microsoft.VisualStudio.TestTools.UnitTesting.TestContext because it is an abstract class.
Stack Trace: TestExecutionEngine.FireEvents(HookType hookType) TestExecutionEngine.FireScenarioEvents(HookType bindingEvent) TestExecutionEngine.OnScenarioStart() TestExecutionEngine.OnAfterLastStep() TestRunner.CollectScenarioErrors() IAMSLoginFeature.ScenarioCleanup() IAMSLoginFeature.SigninToBstackdemoWebsite() line 6
Standard Output: Given User is at Home Page with url "https://www.google.com" -> skipped because of previous errors
Steps to Reproduce
SigninToBstackdemoWebsite Source: IamsLogin.feature line 5 Duration: 483 ms
Message: System.MemberAccessException : Cannot create an instance of Microsoft.VisualStudio.TestTools.UnitTesting.TestContext because it is an abstract class.
Stack Trace: TestExecutionEngine.FireEvents(HookType hookType) TestExecutionEngine.FireScenarioEvents(HookType bindingEvent) TestExecutionEngine.OnScenarioStart() TestExecutionEngine.OnAfterLastStep() TestRunner.CollectScenarioErrors() IAMSLoginFeature.ScenarioCleanup() IAMSLoginFeature.SigninToBstackdemoWebsite() line 6
Standard Output: Given User is at Home Page with url "https://www.google.com" -> skipped because of previous errors
Link to Repository Project
No response