Comment #5 on issue 1556 by pekka.klarck: Keywords with Embeded Arguments do not Resolve Variables in Regular Expressions
http://code.google.com/p/robotframework/issues/detail?id=1556

Have you used quotes or something similar around those arguments? I nearly always use them:

    *** Test Cases ***
    Example
        Keyword with "one argument here" and "another argument here"

    *** Keywords ***
    Keyword with "${argument}" and "${another argument}"
        # ...

As long as there are no quotes in the passed arguments, this works very well. I also like the fact that you can easily see what is the argument also on the calling side.

If the argument is a number, date, or something similar, I may drop quotes. With keywords taking many arguments that may require specifying a custom regexp, but those aren't typically that complicated.

--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--

--- You received this message because you are subscribed to the Google Groups "robotframework-commit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to robotframework-commit+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to