[Tutorial] How To Create Selenium Maven Project In Eclipse ▢️

Are you aware of the prerequisites to run your first selenium test script? This video will showcase how to install the JDK, Eclipse, and a few dependencies before executing Selenium tests.

𝑰𝒏 π’•π’‰π’Šπ’” π’—π’Šπ’…π’†π’ 𝒐𝒏 π’ˆπ’†π’•π’•π’Šπ’π’ˆ 𝒔𝒕𝒂𝒓𝒕𝒆𝒅 π’˜π’Šπ’•π’‰ π‘Ίπ’†π’π’†π’π’Šπ’–π’Ž π’‚π’–π’•π’π’Žπ’‚π’•π’Šπ’π’ π’•π’†π’”π’•π’Šπ’π’ˆ, π‘²π’π’–π’”π’‰π’Šπ’Œ π‘ͺ𝒉𝒂𝒕𝒕𝒆𝒓𝒋𝒆𝒆 - π‘ͺ𝒐𝒏𝒕𝒆𝒏𝒕 π‘ͺ𝒓𝒆𝒂𝒕𝒐𝒓 𝒂𝒕 𝑳𝒆𝒕π‘ͺ𝒐𝒅𝒆 (@π‘²π’π’–π’”π’‰π’Šπ’Œ_𝒄𝒉𝒂𝒕) π’˜π’‚π’π’Œπ’” π’šπ’π’– π’•π’‰π’“π’π’–π’ˆπ’‰ 𝒕𝒉𝒆 π’Šπ’π’”π’•π’‚π’π’π’‚π’•π’Šπ’π’ 𝒂𝒏𝒅 𝒑𝒓𝒐𝒋𝒆𝒄𝒕 𝒔𝒆𝒕𝒖𝒑 𝒑𝒓𝒐𝒄𝒆𝒔𝒔 𝒇𝒐𝒓 π’†π’™π’†π’„π’–π’•π’Šπ’π’ˆ π‘Ίπ’†π’π’†π’π’Šπ’–π’Ž 𝒕𝒆𝒔𝒕 π’”π’„π’“π’Šπ’‘π’•π’”.

:round_pushpin: Following are the prerequisites to get started with Selenium automation testing​:point_down:t3:

:heavy_check_mark: JDK Installation

Download the JDK for Windows x64 Installer from the official Java website. To ensure that Java is installed and variables are correctly set, launch the Command Prompt and type: java -version. You will see the Java version that has been installed on your system.

:heavy_check_mark: Install Eclipse

Eclipse is an integrated development environment (IDE) for creating Java applications and supports other languages such as C, C++, Python, Perl, Ruby, and others.

:heavy_check_mark: Install Maven

Maven is a build automation tool mainly used for Java projects. It is essentially a software project management and comprehension tool that can manage the build, reporting, and documentation.

:heavy_check_mark: Install TestNG plugin

The TestNG Eclipse plugin enables you to run TestNG tests from Eclipse while easily monitoring their execution and output.

1 Like