cancel
Showing results for 
Search instead for 
Did you mean: 

Pass a parameter which starts with "/" to any step in a feature file for C# language

SOLVED
Highlighted
Occasional Visitor

Pass a parameter which starts with "/" to any step in a feature file for C# language

I'm trying to pass an argument "/samplefile.txt" to a test step in a scenario which is developed in dotnet framework.
But when I pass the above argument, I'm getting "samplefile.txt". i.e. "/" is being escaped.

Can anyone suggest me how can I pass any escaping character such as "/", "\" etc.

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Moderator

Re: Pass a parameter which starts with "/" to any step in a feature file for C# language

SpecFlow is a Cucumber implementation that is developed and supported by Tricentis. Please ask in their community: https://specflow.org/

------
I'm the creator and lead developer of Cucumber Open.

View solution in original post

1 REPLY 1
Highlighted
Moderator

Re: Pass a parameter which starts with "/" to any step in a feature file for C# language

SpecFlow is a Cucumber implementation that is developed and supported by Tricentis. Please ask in their community: https://specflow.org/

------
I'm the creator and lead developer of Cucumber Open.

View solution in original post

New Here?
Join us and watch the welcome video:
Top Kudoed Authors
Top Kudoed Posts