Skip to content

πŸš€ This project automates the sign-up form testing on qavbox.github.io/demo/signup using Robot Framework and SeleniumLibrary. It simulates user actions like filling out the form, submitting it, handling the JavaScript alert confirmation, and capturing screenshots, making it a reliable end-to-end UI automation example.

Notifications You must be signed in to change notification settings

BASILAHAMED/Robot_Framework1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

4 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸš€ Robot Framework - Sign-Up Page Automation

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.


πŸ“ Project Structure


.
β”œβ”€β”€ 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


βœ… Prerequisites

  • Python 3.x
  • Google Chrome (or update browser in the .robot file)
  • ChromeDriver matching your Chrome version
  • pip (Python package manager)

πŸ“¦ Installation

  1. Clone the repo

    git clone https://github.com/BASILAHAMED/Robot_Framework1.git
    cd Robot_Framework1
  2. Install dependencies

    pip install -r requirements.txt
    robotframework
    robotframework-seleniumlibrary
    

▢️ Running the Test

robot -d Reports TestCases/TestSignUp.robot
  • -d Reports: Specifies output directory for logs and reports

πŸ§ͺ Test Flow

The test suite performs the following steps:

  1. Open Browser and navigate to the sign-up page
  2. Fill in form fields: Name, email, password, gender, country, experience, etc.
  3. Submit the form
  4. Handle alert confirmation
  5. Take screenshots at key steps
  6. Close the browser

πŸ“Έ Screenshots

All screenshots are stored in the Screenshots/ folder for debugging and evidence.


πŸ“„ Reports

After execution, open the generated HTML report:

Reports/report.html
Reports/log.html

πŸ“ License

This project is licensed under the MIT License.

About

πŸš€ This project automates the sign-up form testing on qavbox.github.io/demo/signup using Robot Framework and SeleniumLibrary. It simulates user actions like filling out the form, submitting it, handling the JavaScript alert confirmation, and capturing screenshots, making it a reliable end-to-end UI automation example.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published