This project automates the sign-up form testing for the demo site:
π https://qavbox.github.io/demo/signup/
It uses Robot Framework with SeleniumLibrary to simulate user interactions, validate alerts, and capture screenshots during each step of the sign-up process.
. βββ PageObjects/ β βββ SignUpPage.robot # Contains reusable page-level keywords βββ TestCases/ β βββ TestSignUp.robot # Test suite to execute the full sign-up scenario βββ Screenshots/ β βββ \*.png # Screenshots captured at each step βββ Reports/ β βββ \* # HTML and log reports generated after test execution βββ README.md # This file βββ requirements.txt # Python dependencies - Python 3.x
- Google Chrome (or update browser in the
.robotfile) - ChromeDriver matching your Chrome version
- pip (Python package manager)
-
Clone the repo
git clone https://github.com/BASILAHAMED/Robot_Framework1.git cd Robot_Framework1 -
Install dependencies
pip install -r requirements.txt
robotframework robotframework-seleniumlibrary
robot -d Reports TestCases/TestSignUp.robot-d Reports: Specifies output directory for logs and reports
The test suite performs the following steps:
- Open Browser and navigate to the sign-up page
- Fill in form fields: Name, email, password, gender, country, experience, etc.
- Submit the form
- Handle alert confirmation
- Take screenshots at key steps
- Close the browser
All screenshots are stored in the Screenshots/ folder for debugging and evidence.
After execution, open the generated HTML report:
Reports/report.html Reports/log.html This project is licensed under the MIT License.