This project aims to provide hands-on experience in automated testing within a simulated corporate environment. Test cases are automated using Selenium for a demo banking website. Additionally, participants have the opportunity to compare their automation scripts with sample scripts created by experts in real-time.
In this project, participants will:
- Create and execute automation scripts using Selenium with Python.
- Practice parameterizing scripts using Excel files.
- Utilize Pytest as a testing framework instead of TestNG.
- Learn to capture screenshots of test output and integrate verification steps into their scripts.
Upon completion of this project, participants will gain proficiency in:
- Creating WebDriver test scripts for a sample banking application.
- Parameterizing scripts using Excel spreadsheets.
- Using Pytest as a testing framework.
- Capturing screenshots of test output and integrating verification steps into their scripts.
Before starting this project, participants should have:
- Basic knowledge of the Python programming language.
- Understanding of web concepts and HTML/CSS.
- Familiarity with Selenium WebDriver.
- Experience with the Pytest framework (optional).
To set up the project, follow these steps:
-
Clone the repository:
git clone https://github.com/atipjaitham/GURU99-SELENIUM.git
-
Navigate to the project directory:
cd GURU99-SELENIUM
-
Install the required dependencies:
pip install -r requirements.txt
-
Navigate to the
tests
directory. -
Run the Pytest command to execute the test cases:
pytest
-
View the test results and any generated screenshots in the
output
directory.
For more information on Selenium and Pytest, refer to the following resources:
This project is inspired by the live Selenium project available on Guru99. For more details, you can visit the Guru99 Selenium Live Project page.
Contributions to enhance the project are welcome. Feel free to submit issues or pull requests.
This project is licensed under the MIT License - see the LICENSE file for details.