RobotFramework-EclipseIDE
RobotFramework-EclipseIDE copied to clipboard
Keyword Parameters in index files - using tab separator
Hi,
I would like my keywords to have parameters when they are inserted in the scenario file. This way the person that writes the test knows how to call that keyword correctly. This would also help in case there are java methods with the same name but with different number of parameters.
One way to do this would be to specify in the index file both the name of the keyword and the parameters, something like this (I use tab separation in my scenarios):
Method Name $PARAMETER_NAME
Writing the above code in the index file and then inserting it in the scenario works ok, the keyword and the parameter appear as they should in the scenario.
The only issue is that when starting content assistant (Ctrl + Space) the keyword appears as:
[Library Name] Method Name$PARAMETER_NAME
As mentioned above, it appears as such only in the content assistant, on the left side. If the keyword is selected, it appears as it should in the scenario file. Also, when using spaces as separator there is no issue in content assistant.
Maybe this could be fixed, or maybe there is another way to add parameters to the keywords in the index file?
Thanks, bgd77