Skip to content

adamszegedi/robot_demo

Repository files navigation

Introduction to Robotframework

Goal of the repository is to showcase some feature of Robotframework.

Prerequisites

Tool

Recomended tool for editing robotframework test is Visiual Studio Code.
Extension to use:

Config

The API test need a key from Openweathermap what you need to configure through the ./.env file.

API_KEY_WEATHER=api_key_goes_here

Run Test

Locally

In order the run test on your local machine you need to:

Then from the root folder of the repository install dependencies inside a virtualenviroment in order to not to mess with the system installed python):

> python -m venv .venv

Activate the newly created virtualenvironment

Type Command
POSIX > source .venv/bin/activate
PowerShell > .venv/bin/Activate.ps1
cmd.exe C:\> .venv\Scripts\activate.bat

Install packages

> pip install -r requirements.txt

Then run the run.py script:

>python run.py

Log files will be created under ./demo/log

Congartualations you have successfully executed you first Robotframework tests! 👏

Coding Style

EditorConfig helps maintain consistent coding style.

./.editorconfig

Used Technologies

Author

Licence

This project is licensed under the MIT License - see the LICENSE file for details

About

Robotframework demo

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published