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. > >
