I have written two lines(When's) in my same feature file
When user $action1$ $key1$ with $value1$ for $atttributeType_Value$ in $Filename1_SectionId1$
Then abc
When user $action2$ $key2$ with $value2$ in $Filename2_SectionId2$
Then def
and corresponding step definition in step definition file
as
[When(@"user (.*) (.*) with (.*) for (.*) in (.*)")]
public void abc()
{ //operation }
[When(@"user (.*) (.*) with (.*) in (.*)")]
public void def()
{ //operation }
But, its showing up an error as "Multiple match bindings found. Navigating to first match.."
When I try to navigate for 1st line its giving error... But when I navigate using second When line. it's navigating properly.
I have used "$" at the place where "<" and ">" should be there.