This repository contains a Selenium test script for automated testing of The Sparks Foundation website (https://www.thesparksfoundationsingapore.org/). The script is designed to test various aspects of the website, such as the presence of the logo, navigation bar, and the correctness of information on different pages.
Record.mp4
The test script includes test cases to check at least 5 pages and 10 elements of the website, including but not limited to:
- Checking if the logo exists
- Verifying the presence of the navigation bar
- Confirming the accuracy of information on the "About Us" page
- Python
- Selenium WebDriver
- ChromeDriver (or WebDriver for your preferred browser)
- Clone this repository to your local machine.
- Install the required Python packages using
pip install -r requirements.txt
. - Ensure you have the WebDriver for your preferred browser and update the script with the WebDriver path.
- Run the script using
python3 testcase.py
.