This is an automation script designed to test the registration and login functionality of the Ecommerce Playground website. It utilizes Selenium WebDriver with Java to simulate user interactions, such as filling out forms, navigating through pages and verifying successful actions. This script automates the process of creating a new user account, logging out and re-logging in, ensuring the website's core features function as expected.
- Automates user registration with predefined data inputs.
- Validates the success message for account creation.
- Automates user logout and subsequent login.
- Verifies the functionality of critical UI elements such as buttons, text fields, and messages.
- Implements JavaScript scrolling to handle long web pages.
- Includes delays to mimic real-world user interactions.
- Java Development Kit (JDK) installed (version 11 or higher recommended).
- Google Chrome browser installed.
- ChromeDriver compatible with the installed Chrome browser version.
- Eclipse IDE or any other Java-supported IDE.
- Selenium WebDriver library added to the project.
- Java: Programming language for writing the automation script.
- Selenium WebDriver: For browser automation.
- Google Chrome & ChromeDriver: Browser and corresponding WebDriver for executing the test.
- JavaScriptExecutor: For scrolling actions.
- Explicit Waits: To handle dynamic elements and ensure proper interaction.
- Eclipse IDE: Integrated Development Environment for Java development.