Great, thank you very much.

Cheers.

From: [email protected]
Date: Tue, 24 Dec 2013 16:24:17 +0100
To: [email protected]
Subject: Re: [jbehave-user] Step parameter string with one or more strings 
separated with white spaces

Just surround the element containing spaces with quotes, e.g.
When I press '...'
and do the same in the pattern,
When I press '$element'
Cheers



On 23 Dec 2013, at 19:27, João Machado <[email protected]> wrote:




Hi all,

I would like to know how a step parameter string can have one or more strings 
separated with white spaces, for instance if I define the step such as 'When I 
press Barclays Premier League' or 'When I press Football' and the annotated 
@When (" I press  $element") the method arguments are "Football" and "Barclays 
Premier League", respectively.


Thanks in advance,
João Machado.


                                          
                                          

Reply via email to