Module 2: Setup & Initialize Automation Framework

<<< Previous Chapter                                            Next Chapter >>>

Amigos! Welcome Back. Hope you all have already Downloaded Eclipse Editor Java, Maven, Installed them and added Path to System & Environment variables.

Let's get started with setup & Initialization of our Automation Framework.

Create project

You can create maven project either using below cmd commands or directly from eclipse using create maven project option.

Create Project using Command Prompt:



(1) Open CMD Then redirect to directory where you want to create your project  then type-



 “mvn archetype:generate -DgroupId=<Organization Name> -DartifactId=<Project Name> -DarchetypeArtifactId=maven-archetype-quickstart -DinteractiveMode=false”

(2) Verify project has been created. (if the build is not success then check the error logs and resolve issues until build is not success)


 Create Project using Eclipse:
(1) Click on File from Top Menu and Navigate: File > New > Other



(2) Open the  Maven folder and choose Maven Project and click on Next



(3) Click Next (Make sure Create a simple Project checkBox  is checked)


(4) A New Maven Project named small window will be opened asking information like GroupID, Artifact Id, Version , Name ,description etc. Normally , below  nomenclature should be followed
GroupID = Organization Name
Artifact ID = Project Name


Click Finish and that's it. Your 1st Maven Project has been created successfully. That's all for today. We'll setup our POM.xml tomorrow. Happy Testing :)
<<< Previous Chapter                                            Next Chapter >>>

0 comments:

Post a Comment

Thanks a lot for your valuable Comment!