https://github.com/galapoto/robot-framework-projects
Robot Framework automation projects: API testing and SauceDemo UI testing
https://github.com/galapoto/robot-framework-projects
api-testing robotframework saucedemo selenium test-automation ui-testing
Last synced: 3 months ago
JSON representation
Robot Framework automation projects: API testing and SauceDemo UI testing
- Host: GitHub
- URL: https://github.com/galapoto/robot-framework-projects
- Owner: galapoto
- License: mit
- Created: 2025-04-27T14:20:04.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2025-05-13T14:19:41.000Z (8 months ago)
- Last Synced: 2025-05-13T15:44:03.790Z (8 months ago)
- Topics: api-testing, robotframework, saucedemo, selenium, test-automation, ui-testing
- Language: HTML
- Homepage:
- Size: 8.05 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
<<<<<<< HEAD
# Robot-framework-projects
## Project Screenshot

=======
# Form Validation Project
This Robot Framework project automates the validation of web form inputs using SeleniumLibrary. It tests common front-end validations such as required fields, invalid data formats, and successful form submission.
## โ
Test Site Used
**URL**: [https://practice.expandtesting.com/form-validation](https://practice.expandtesting.com/form-validation)
## ๐ Folder Structure
form-validation-project/
โโโ resources/
โ โโโ expanded/
โ โโโ keywords.robot
โ โโโ variables.robot
โโโ tests/
โ โโโ test_expanded_validation.robot
โโโ output.xml
โโโ report.html
โโโ log.html
โโโ README.md
## ๐งช Test Suite: `test_expanded_validation.robot`
This suite includes 3 test cases:
1. **Submit Empty Form Should Trigger Validation**
Asserts that submitting an empty form triggers validation messages.
2. **Submit Form With Invalid Contact Number Should Fail**
Asserts that entering an invalid phone number shows appropriate errors.
3. **Submit Form With Valid Data Should Succeed**
Fills out all required fields correctly and asserts successful submission.
## ๐ง Dependencies
Make sure you have these installed inside your virtual environment:
```bash
pip install robotframework
pip install robotframework-seleniumlibrary
You must also have ChromeDriver installed and available in your PATH.
๐ Run the Tests
robot tests/test_expanded_validation.robot
๐ธ Screenshot on Failure (Optional)
You can enable screenshot capture by adding this to the test suite:
Suite Teardown Run Keyword If Test Failed Capture Page Screenshot
๐ Author
Created by Vitus Idi as part of a QA Automation Portfolio.
>>>>>>> 97a0b04 (Add form validation project with expanded validation tests)