Olmo Rigolo edited a comment on Improvement JBEHAVE-232

Hi all,

this http://jira.codehaus.org/browse/JBEHAVE-748 Bug can be used as a workaround for your problem. Here is a example implementation:

Scenario: Combination of variable and example-data
When user sets 'usernameField' to <value>
When user sets 'passwordField' to <value>

Examples:
value
username
password
@When("user sets '$fieldname' to <value>")
public void whenUserSetsUsernameFieldTovalue(@Named("fieldname") final String fieldname, @Named("value") final String value) { 
   System.out.println(fieldname + value); 
}

Does this fix your problem?

edit: I would prefer to not use a bug as a workaround, so I vote for this issue to be fixed.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
--------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email

Reply via email to