Automation demonstration using Robot Framework.
.vscode
: IDE settings and configurationsdebug
: debugging scripts (e.g.,debug_script.py
)docs
: plain text commands, instructions, and setup notesmock_data
: mock data files (e.g.,dolorem_ipsum.txt
)output
: generated reports, logs, and output files from test runsresources
: reusable resource files including keywords, variables, and expected values (e.g.,keywords.robot
,variables.robot
,expected_values.robot
)robot-env
: Python virtual environment for this projectrunners
: PowerShell scripts (.ps1
) to run one or all tests easilytests
: test cases and test suites (e.g.,test_login.robot
)examples
: early exploratory test cases kept for referencerequirements.txt
: Python package dependencies for the projectpyproject.toml
: Python project configuration and metadata
This project aims to demonstrate the capabilities of Robot Framework by building a solid and reusable test automation framework. It provides a foundation for creating reliable automated tests that can be extended and adapted to various testing needs. By incorporating best practices and reusable components, it helps improve test coverage and streamline the testing process.
- Robot Framework
- SeleniumLibrary
- Python
- Create and activate the virtual environment:
- Linux/macOS
- python -m venv robot-env
- source robot-env/bin/activate
- Windows
- python -m venv robot-env
- robot-env\Scripts\activate
- Linux/macOS
- Install dependencies:
- pip install -r requirements.txt
- Run tests:
- Use PowerShell scripts in the runners folder to run individual or all tests.
- Or run directly with:
- robot tests/
- View reports in the output directory after test execution.