Use .env files in your Robotframework tests This is a wrapper Library to python-dotenv for dynamic environment setting in Robotframework
- You don´t need to set environment Variables before test Execution
- You don´t need additional cli robot options like
--variable
- Create pip package installation to use
pip install robotframework-dotenvlibrary - Add functionality to store secrets safe
This Library uses the following dependencies:
- python-doten at Version 0.20.0
- Install package with
pip install -e . - Create a .env file
- Add the DotenvLibrary to your
*** Settings ***section - Use the Keyword
Load Dotenv - Read the Library Documentation for futher details
- Contribution is allways welcome :) feel free to use and get in contact