When I type "<text>" into <field>
...
Examples:
  |text|field|
  |pizza|a|
  |bacon|b|
  |celery|a|
...
-->
@When("I type \"<text>\" into <field>")


Or (if only the text is to be substituted):

...
When I type "<text>" into a
...
Examples:
  |text|
  |pizza|
  |bacon|
  |celery|
...
-->
@When("I type \"<text>\" into $field")


> ----- Ursprüngliche Nachricht -----
> Von: Entfred
> Gesendet: 08.11.10 21:31 Uhr
> An: [email protected]
> Betreff: [jbehave-user] Re: Parametrised Scenarios question
> 
> And I want to add one thing to the previous post.
> 
> I mean I want to be able to say in a story:
> 
> When I type "<food>" into food
> 
> Examples:
> 
>  |food|
>  |pizza|
>  |bacon|
>  |celery|
> 
> Thanks again for any help on this.
> 
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
> 
>  http://xircles.codehaus.org/manage_email


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to