Web Automation Test Suite with Robot Framework

HEMANTH KUMAR J

Practice Automation Test Suite

This repository contains a Robot Framework test suite for automating web-based interactions using the SeleniumLibrary. The tests are designed to demonstrate and validate interactions with various elements on a demo website.

Features

Automates interactions with sliders, SVG elements, progress bars, and more.
Uses variables for easy customization of test parameters.
Includes setup and teardown procedures to manage browser sessions.

Prerequisites

To run this test suite, ensure you have the following installed:
Python (3.6 or later)
A compatible web driver (e.g., ChromeDriver or GeckoDriver) added to your PATH

Installation

Clone this repository:
Create and activate a virtual environment (optional but recommended):
Install the required Python libraries: Ensure that requirements.txt contains:

File Overview

demo.robot: The main Robot Framework test suite containing:
Settings: Documentation, imported libraries, and suite-level setup/teardown.
Variables: Common variables for site URLs, element locators, and test parameters.
Test Cases: Automated test scenarios for validating web-based interactions.

How to Run the Tests

Navigate to the directory containing the demo.robot file.
Execute the test suite using the Robot Framework:
View the generated log.html and report.html files for detailed test results.

Test Cases

Test svg color

Tags: svg
Validates the color property of an SVG element.

Additional Tests

Tests for sliders, progress bars, and other interactive elements.

Suite Setup and Teardown

Setup: Initializes the test environment and opens the browser.
Teardown: Closes all browser sessions at the end of the suite.

References

Contributing

Feel free to fork this repository, submit issues, or create pull requests for any enhancements or bug fixes.
Like this project

Posted Apr 28, 2025

Developed a Robot Framework test suite for web automation using SeleniumLibrary.

Iden HQ Automation Challenge
Iden HQ Automation Challenge
Selenium Automation Scripts Demo
Selenium Automation Scripts Demo