Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sahar-dev/website-navigation-testing
Automated tests for website navigation using Robot Framework.
https://github.com/sahar-dev/website-navigation-testing
ride robotframework selinium test-automation
Last synced: 3 days ago
JSON representation
Automated tests for website navigation using Robot Framework.
- Host: GitHub
- URL: https://github.com/sahar-dev/website-navigation-testing
- Owner: Sahar-dev
- Created: 2023-12-31T15:27:42.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2023-12-31T15:52:13.000Z (12 months ago)
- Last Synced: 2024-11-01T15:44:01.569Z (about 2 months ago)
- Topics: ride, robotframework, selinium, test-automation
- Language: RobotFramework
- Homepage:
- Size: 8.79 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Website Navigation Tests with Robot Framework
![alt text](https://miro.medium.com/v2/resize:fit:553/1*wnMQPTmEsIq0TiRgfX4hig.png)
## Project Overview
This project aims to ensure the seamless functionality of a website's navigation through automated tests. By utilizing Robot Framework, the tests focus on checking links, navigation menus, and page titles to guarantee a smooth user experience.
## Key Features
- **Link Verification:** Checks the integrity of links to ensure they navigate to the correct pages.
- **Menu Navigation:** Validates the functionality of navigation menus by clicking on key items.
- **Page Title Verification:** Confirms that each page's title aligns with the expected title after navigation.## Instructions
### Prerequisites
- [SeleniumLibrary](https://robotframework.org/SeleniumLibrary/SeleniumLibrary.html): Install using:
```bash
pip install robotframework-seleniumlibrary
```- [Google Chrome Driver](https://sites.google.com/chromium.org/driver/): Download and ensure the executable is in your system's PATH.
### Clone and Run
1. **Clone the Repository:**
```bash
git clone https://github.com/Sahar-dev/website-navigation-tests.git
```2. **Navigate to the Project Directory:**
```bash
cd website-navigation-tests
```3. **Run the Tests:**
```bash
robot tests/website_navigation_tests.robot
```## Test Details
The tests simulate user interaction by opening a browser, accessing the specified website, and systematically clicking on navigation menu links ("Services", "About Us", "Contact", "Home"). Post navigation, the tests verify whether the title of each page aligns with the expected title, ensuring a consistent and reliable user experience.
## Customization
Feel free to adapt the test data and expected titles in the \`tests/website_navigation_tests.robot\` file to match your specific website structure and content. This flexibility allows seamless integration with a variety of web applications.
Happy coding!