Variables in Robot Framework
| Declare a variable |
| Change the value of a variable |
| From a .py file |
| Get Variable Value |
Documentation
Path in the file system
If you need to specify a path to a file, it is recommended to use the variable ${/}, which will be automatically replaced with / or \ depending on the operating system.
${/} ${WIN_PATH}= C:${/}ProgramData${/}App${/}bin ${LIN_PATH}= ${/}home${/}tester${/}robot
Article author: Andrei Olegovich