Here's a basic rundown of what I want to do:
I want to call my scripts using an argument file. But the argument file needs to work on an environment variable for the path. So, for example, the argument file may be:
args.robot
[ROBOT_HOME variable]/test1.robot
[ROBOT_HOME variable]/test2.robot
[ROBOT_HOME variable]/test3.robot
And I would define the ROBOT_HOME
variable at the environment level:
$ export ROBOT_HOME=/path/to/tests/
$ pybot -A args.robot
None of the following substitutions for [ROBOT_HOME variable]
in the args.robot file have worked:
$ROBOT_HOME
${ROBOT_HOME}
%{ROBOT_HOME}
And neither of the following pybot commands have worked:
pybot -A args.robot
pybot -v ROBOT_HOME:$ROBOT_HOME -A args.robot
Is what I'm trying to do possible?