You'll need to do use a pattern like:
@When("I Full Text Search For \"$aSearchTerm\"")
which will match step:
When I Full Text Search for "USDA Responds"
yielding value 'USDA Responds' for parameter aSearchTerm.
Cheers
On 03/05/2010 18:55, WIL PANNELL wrote:
> I wish to pass a parameter that contains a space from my scenario to the
> system under test.
> In the following example :
>
> @When("I Full Text Search For $\"USDA Responds\"")
> public void whenIFullTextSearchFor(String aSearchTerm)
> {
> searchResultsPage = loginPage.whenIFullTextSearchFor(aSearchTerm);
> }
>
> the parameter "aSearchTerm" contains only" USDA.
>
> Is there a way to do 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