Example of tests with Robot Framework and adapter for Test IT
- Install python version 3.6+
- Clone this repository
git clone https://github.com/testit-tms/python-examples.git && cd robotFramework - Install dependencies
pip install -r requirements.txt - Run tests via
robot tests - Configure the tests to run in connection_config.ini file. How to configure?
- Run
robot -v testit teststo upload the results to TMS
- tests/ – test files
- steps.py – simple steps with Robot Framework keywords and step method testit-adapter-robotframework
- test_annotations.robot – simple test examples with annotations testit-adapter-robotframework
- test_methods.robot – simple test examples with methods testit-adapter-robotframework
- test_steps.robot – simple test examples with steps from steps.py
- connection_config.ini - configuration file where specified base options for tests
- requirements.txt - list of items to be installed