Reputation: 21
I am trying this to pass the argument through command line
robot testingxpath.robot --variable EXAMPLE:value
[ ERROR ] Parsing '--variable' failed: Data source does not exist.
Try --help for usage information.
Not sure what is wrong. Any help is appreciated.
Upvotes: 1
Views: 1537
Reputation: 4840
Try robot --variable EXAMPLE:value testingxpath.robot
User guide (ch. 3.1.2) says:
When options are used, they must always be given between the runner script and the data sources.
Upvotes: 3