Tuesday, April 1, 2025

 

𝐒𝐞𝐥𝐞𝐧𝐢𝐮𝐦 𝐉𝐚𝐯𝐚 𝐏𝐫𝐨𝐣𝐞𝐜𝐭 𝐒𝐞𝐭𝐮𝐩 - 𝐉𝐚𝐯𝐚, 𝐌𝐚𝐯𝐞𝐧, 𝐈𝐧𝐭𝐞𝐥𝐥𝐢𝐉

1. Install & Configure Java
- Check Java installation using `java -version`.
- If not installed, download and install Java from the official Oracle website.
- Set `JAVA_HOME` and add `JAVA_HOME/bin` to the system `Path`.

2. Install IntelliJ IDEA & Maven
- Download and install IntelliJ IDEA (Community Edition).
- Check Maven installation using `mvn -version`.
- If missing, download Maven and set `MAVEN_HOME`.

3. Create a Maven Project
- Open IntelliJ IDEA, create a new Maven project.
- Set Group ID: `com.selenium.framework` | Artifact ID: `selenium-automation`.
- Click Finish and run `mvn clean install` to verify setup.

4. Add Dependencies in pom.xml
- Add Selenium WebDriver, Selenium Manager, and TestNG dependencies.
- Update the project using `mvn clean install`.

5. Create & Run First Selenium Test
- Create a new class `FirstTest` in `src/main/java`.
- Write a basic Selenium script to launch a browser, open a website, and print the page title.
- Run the test to verify setup.


0 comments:

Post a Comment

Blog Archive

Translate

Popular Posts

Total Pageviews

Blog Archive