Hi, I am new to Jbehave and need a clarification regarding writing stories.
I have a step in the story where it gives a name of a person as "James
Bond", without
quotation marks. So I have to write a step in my step class as follows,
Scenario:
Given user name is James Bond
@Given("user name is $userName")
public void setUserName(String userName) {
........................
}
In this case how can I capture the value James Bond to my userName
parameter?
Thanks.
