This repository contains my exploration of Robot Framework for browser automation testing with a focus on features like basic authentication, web UI testing, and API testing.
Robot Framework is a generic open-source automation framework for acceptance testing, acceptance test-driven development (ATDD), and robotic process automation (RPA). This project demonstrates its capabilities with practical examples.
To set up the environment:
pip install robotframework-browser
python -m Browser.entry init
The second command installs the required browsers and Playwright dependencies.
- Basic Authentication: Testing HTTP Basic Auth with proper credentials
- Web UI Testing: Automating browser interactions
- Playwright Integration: Using the modern Browser library which is powered by Playwright
To run a test file:
robot basic_auth.robot
basic_auth.robot
- Example test for HTTP basic authenticationbrowser/traces/
- Contains Playwright traces for debugging