Status: New Owner: ---- Labels: Type-Enhancement Priority-Medium
New issue 542 by c.martin.taylor: Ability to reference already set variables in argument files and maybe command line
http://code.google.com/p/robotframework/issues/detail?id=542 I would like to be able to reference Robot Framework variables that have already been given values in an argument file, or maybe even on the command line. For example, I'd like to write a couple of argument files like this: SetProject.txt --variable Project:MyCodeName ArgFile.txt # # Set the Project variable # --argumentfile SetProject.txt # # Set the outputdir based on Project # --outputdir ${Project}/results # # Select suite files to run # ${Project}*.html If I used these two argument files in a pybot command like: pybot -A ArgFile.txt then I'd like the ${Project} variable references in ArgFile.txt to be substituted at run-time with the value assigned to that variable. If the Project variable was not assigned, the an error would be raised. I'd be willing to work on this enhancement if someone could guide me as to where the changes would need to be made and where to find the Robot Framework methods for variable substitution. -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings
