diff --git a/Tests/FeatureTests/ExternalSteps/ExternalStepsVB/VBSteps.vb b/Tests/FeatureTests/ExternalSteps/ExternalStepsVB/VBSteps.vb index ee30ea4dc..1a5d4a2f8 100644 --- a/Tests/FeatureTests/ExternalSteps/ExternalStepsVB/VBSteps.vb +++ b/Tests/FeatureTests/ExternalSteps/ExternalStepsVB/VBSteps.vb @@ -5,12 +5,12 @@ Public Class VBStepDefinitions _ Public Sub step1() - ScenarioContext.Current.Item("counter") = 1 + ScenarioContext.Current("counter") = 1 End Sub <[When]("I call those steps")> _ Public Sub step2() - ScenarioContext.Current.Item("counter") += 1 + ScenarioContext.Current("counter") += 1 End Sub End Class