An open API service indexing awesome lists of open source software.

https://github.com/stefruseva88/selenium-ide

Selenium Ide Test Suites
https://github.com/stefruseva88/selenium-ide

actions cicd csharp selenium-ide-tests

Last synced: about 2 months ago
JSON representation

Selenium Ide Test Suites

Awesome Lists containing this project

README

        

# Selenium IDE
### This is a test project for Front-End Test Automation July 2024 Course @ SoftUni

[![Google Chrome](https://img.shields.io/badge/tested%20on-Google%20Chrome-4285F4.svg)](https://www.google.com/chrome/)
[![Mozilla Firefox](https://img.shields.io/badge/tested%20on-Mozilla%20Firefox-FF7139.svg)](https://www.mozilla.org/firefox/)
[![Selenium IDE](https://img.shields.io/badge/tested%20with-Selenium%20IDE-FF6C37.svg)](https://www.selenium.dev/selenium-ide/)

This project demonstrates my skills in using Selenium IDE, a record-and-playback tool, to quickly create and execute UI tests without needing to write code manually. Selenium IDE allows for easy test case creation and provides a way to export these tests into different programming languages if further customization is required.

### Prerequisites
- Selenium IDE for creating and managing test scripts.
- Chrome or Firefox with Selenium IDE extension installed for browser compatibility.
- Developer Tools: Use for copying text assertions and debugging.

### Key Features:
- Creating automated tests through recording user interactions with the browser.
- Exporting test scripts in different formats, such as C# with WebDriver code.
- Running automated tests directly from the browser to quickly verify web functionalities.
- Integrating with GitHub Actions for continuous testing and reporting.

## Tests Structure
- All recorded tests are organized into a test suite.
- Every test suite has a clear and descriptive name that indicates its purpose.
- Each test is named appropriately to reflect the specific task or functionality being tested.
- The tests are arranged in a logical sequence within the suite.
- Each test begins in a new browser window to ensure a fresh state.
- The browser window is maximized at the start of each test to ensure all elements are visible and to maintain consistency across different screen resolutions.

### Running Tests
To run these tests, import the scripts into Selenium IDE and execute. Tests are organized by functionality, allowing targeted validation.

### Notes
- Adjust Chrome security settings for smooth testing when using hardcoded credentials.
- For Firefox, interference from Google Password Manager is minimized.

## Project Sections

### Number Calculator
This test suite covers the following validations:
- **Input Validation**: Ensures numeric-only input fields, checks for error messages on invalid inputs, and verifies handling of empty fields.
- **Operation Selection**: Confirms all mathematical operations (Sum, Subtract, Multiply, Divide) are selectable and assertable.
- **Calculation**: Validates correctness of calculation results across operations.
- **Reset Functionality**: Tests the reset button’s ability to clear inputs and selections.
- **Edge Cases**: Handles divide-by-zero, negative numbers, decimals, and spacing issues.

## "CURA" Health Care Service
This test suite covers the following validations:
- **Footer Verification**: Verifies footer text and element presence.
- **Login and Logout**: Validates login with proper credentials and log-out redirection.
- **Appointment Booking**: Tests appointment form with field selections, submission, and confirmation page verification.

### "Saucedemo"
This test suite covers the following validations:
- **Login with Invalid User and Retry**: Implements conditional login retry after invalid credentials.
- **Add to Cart**: Logs in, adds an item, and verifies cart contents.
- **Remove from Cart**: Validates item removal after adding to the cart.

### The "Idea Center"
This test suite covers the following validations:
- **Home Page Navigation Test**: Verifies that users can successfully navigate to the home page and all primary links and elements are accessible and displayed correctly.
- **Log In Test**: Confirms that users can log into their accounts with valid credentials and are redirected to the correct dashboard or landing page upon successful login.
- **Edit Profile Test**: Verifies that users can access and edit their profile page, with all changes accurately saved and displayed.

### The "Revue Crafters"
This test suite covers the following validations:
- **Home Page Navigation Test**: Verifies that users can successfully navigate to the home page and all primary links and elements are accessible and displayed correctly.
- **Log In Test**: Confirms that users can log into their accounts with valid credentials and are redirected to the correct dashboard or landing page upon successful login.
- **Verify Profile Test**: Confirms that the user’s profile information is displayed accurately, including all personal details and settings.

### The "Movie Catalog"
This test suite covers the following validations:
- **Landing Page Navigation Test**: Verifies that users can successfully navigate to the home page and all primary links and elements are accessible and displayed correctly.
- **Log In Test**: Confirms that users can log into their accounts with valid credentials and are redirected to the correct dashboard or landing page upon successful login.
- **Edit Profile Test**: Verifies that users can access and edit their profile page, with all changes accurately saved and displayed.

### The "Foody" Web App
This test suite covers the following validations:
- **Landing Page Navigation Test**: Verifies that users can successfully navigate to the home page and all primary links and elements are accessible and displayed correctly.
- **Log In Test**: Confirms that users can log into their accounts with valid credentials and are redirected to the correct dashboard or landing page upon successful login.
- **Edit Profile Test**: Verifies that users can access and edit their profile page, with all changes accurately saved and displayed.

## Additional Resources
- [Selenium IDE Commands Reference](https://www.selenium.dev/selenium-ide/docs/en/api/commands)

### Important Browser Settings
For testing with Chrome:
- **Password Breach Warnings**: Disable temporarily in Chrome’s Privacy & Security settings by selecting “Standard protection.”
- **Script Pause for Manual Pop-Up Handling**: Add pauses as needed for handling pop-ups.

## License
This project is licensed under the [MIT License](LICENSE). See the [LICENSE](LICENSE) file for details.

## Contact
For any questions or suggestions, please open an issue in the repository.

---
### Happy Testing! 🚀