I am trying to run some robot framework tests on sauce labs. I am not able to pass a variable file to my pybot command. When I run my tests locally I use this command :
pybot -vbrowser:firefox -vbaseur --variablefile ../VariableFiles/superdesk.py mytest.robot
On sauce labs I need to pass some other variables: sauce username, key...
pybot -v browser:firefox -v baseurl:http://myurl.fr -v sauce_apikey:mykey -v sauce_platform:linux -v sauce_username:myusername mytest.robot
How could I pass a variable to the second command as as soon as I pass --variable filemy tests run locally and not on sauce labs.
I have tried this command
pybot -v browser:firefox -v baseurl:http://myurl.fr -v sauce_apikey:mykey -v sauce_platform:linux -v sauce_username:myusername --variablefile myvarfile.py mytest.robot
When running the command above the variable file is not taken into account. My tests run with default variables