[ 
http://jira.codehaus.org/browse/JBEHAVE-214?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=201598#action_201598
 ] 

Cristiano Gavião commented on JBEHAVE-214:
------------------------------------------

Hi,
Maybe I don't understand right this request, but I'm thinking that @Aliases is 
already working...

@Given("the dropdown $label has been selected with $value")
        @Aliases(values = { "dropdown $label was changed to $value",
                        "the value $value was choosed in dropdown $label" })
        public void ensureDropDownWasSelectedWithValue(
                        @Named("label") String pIdOrLabel, @Named("value") 
String pValue) {}

regards.

Cristiano


> Allow for multiple aliases for a given step
> -------------------------------------------
>
>                 Key: JBEHAVE-214
>                 URL: http://jira.codehaus.org/browse/JBEHAVE-214
>             Project: JBehave
>          Issue Type: New Feature
>            Reporter: Elizabeth Keogh
>             Fix For: 2.4
>
>
> I've got a machine which outputs messages. I've found three different ways of 
> expressing that in steps:
> Then the machine should tell me that $message
> Then the machine should tell me to $message
> Then the machine should say "$message"
> I'd like to be able to put more than one alias on a step.
> (@Aliases ?)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
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