Welcome to the Selenium WebDriver + Java project dedicated to user creation on a website. This project provides examples of basic Selenium WebDriver functions and automation testing of user registration.
The project structure is organized as follows:
src: Contains the main source code for the Selenium WebDriver project.PONo_DDL: A package containing different test cases.DDL_MakeSelection.java: A Java class with a test case for user creation.- Other Java classes for additional test cases.
purchasedFor_Field: A package containing test cases related to the "Purchased For" field.variables: A package containing a Variables class with test data and constants.
.project: Project configuration file.README.md: This file.
In this project, I have included a basic test case for user creation. The test case performs the following steps:
- Opens the Chrome browser.
- Navigates to the specified URL.
- Logs in using provided credentials.
- Accesses the user registration page.
- Fills out the registration form.
- Submits the form.
- Verifies if the registration was successful.
- Logs out and closes the browser.
You can find additional test cases in the respective Java classes within the PONo_DDL and other packages.
To get started with this Selenium WebDriver project:
- Clone this repository to your local machine.
- Set up your Selenium WebDriver environment and dependencies.
- Configure the project based on your testing environment and requirements.
- Run the desired test cases to perform user creation and testing.
This project relies on the following dependencies:
- Selenium WebDriver
- ChromeDriver (ensure it matches your Chrome browser version)
- Java
- JUnit (for test cases)
Make sure to download and set up the WebDriver and ChromeDriver accordingly.
Contributions to enhance the framework, add more test cases, or improve test coverage are welcome. If you have improvements or bug fixes to contribute, please fork the repository and submit pull requests.
This project is licensed under the MIT License.