Robot Framework - Initial setup notes
Robot Framework is a generic open source automation framework. It can be used for test automation and robotic process automation (RPA). It’s actively supported, with many industry-leading companies using it in their software development. Robot Framework is open and extensible and can be integrated with virtually any other tool to create powerful and flexible automation solutions. Being open source also means that Robot Framework is free to use without licensing costs. Robot Framework has easy syntax, utilizing human-readable keywords. Its capabilities can be extended by libraries implemented with Python or Java. The framework has a rich ecosystem around it, consisting of libraries and tools that are developed as separate projects.
Useful Links:
- Robot Framework
- GitHub Repository
- Simple Python project with Robot Framework tests
- Robot Framework description in Czech language - part 1
- Robot Framework description in Czech language - part 2
- Practical Test Pyramid
Basic installation steps:
Preconditions: Python must be installed first… version 3.5.x in my case
# framework installation
pip3 install robotframework
# selenium support installation
pip3 install --upgrade robotframework-seleniumlibrary
# web browser drivers installations - linkpath points to directory on path
pip3 install webdrivermanager --linkpath c:\\portables
First steps using Testing WebDemo application
- clone repo: * Simple Python project with Robot Framework tests
- open console in login_tests directory
- there are a several tests, to run one just call:
robot valid_login.robot