Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 1611 by [email protected]: Variable assignment should not be considered part of a keyword when removing keywords by name
http://code.google.com/p/robotframework/issues/detail?id=1611

Given this line in a test,
${foo}=    Create Variable    bar
In order to remove the keyword using an exact match, the assignment portion is considered part of the keyword name, so something like this must be used:
    --removekeywords ${foo}=BuiltIn.CreateVariable
Where one would expect this to work:
    --removekeywords BuiltIn.CreateVariable
but it does not match.
I cannot think of a realistic use case where the assignment portion should be considered part of the keyword for --removekeywords.

Also since the matching is against the full keyword names, this example is misleading: pybot --removekeywords name:HugeKeyword --removekeywords name:resource.* tests.txt

It should have a library name like this:
pybot --removekeywords name:MyLibrary.HugeKeyword --removekeywords name:resource.* tests.txt

--
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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to