This test automation project is designed to automate various test scenarios on the Digital Unite website. It utilizes the Selenium WebDriver framework to interact with web elements and perform actions on web pages. The project includes test cases for:
- Visiting the website.
- Verifying the page title.
- Checking the visibility of the title image.
- Filling out a web form and submitting it.
- Java Development Kit (JDK)
- Selenium WebDriver
- WebDriver executable
- Maven
- Download and Install IntelliJ IDEA: Download and install IntelliJ IDEA
- Clone the Repository:
Clone this repository to your local machine using the following command:
git clone <repository_url>
1.Open the project in preferred Java IDE(e.g., IntelliJ IDEA,).
2.Configure the WebDriver executable path in the test script: In the browsersetup method of TestAutomation.java, set the path to WebDriver executable.
3.For using Maven, navigate to the project's root directory and install the required dependencies: mvn clean install'
4.In the TestAutomation.java file, configure the following: WebDriver Executable Path: Update the browsersetup method to set the path to WebDriver executable.
To run the automated tests use Java IDE or Maven. Ensure that the WebDriver executable is either in system's PATH or the path is set explicitly in the code. For Using Maven:
Open your terminal or command prompt.
Navigate to the project's root directory.
Run the following Maven command to execute the tests:
-mvn test