Forum Discussion

Rajratan's avatar
Rajratan
Occasional Visitor
5 years ago

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.