I have a cucumber scenario outline in which Examples table I would like to pass an empty string (\" \") and line breaks (\\n \\n \\n) as value. I want to edit an textfield a
You only need to put the <columnName>
between "" in your feature definition. Example:
And I set name "<NewName>" for conversation
In your step definition, the step could be annotated like as follows:
@And("^And I set name \"([^\"]*)\" for conversation$")
public void And_I_set_name_for_conversation(String newName) throws Throwable {
...
}
Hope it helps