Today we will discuss integrate selenium maven build and how to create maven build for continuous integration . Check Jenkins section to know more about CI.
To create maven build we should have maven installed in our machine so let us start setting up maven.
Steps for selenium maven build creation
Module 1- Install Maven in local machine.
1- Navigate to Maven official site and download stable version of Maven.
Maven Download- https://maven.apache.org/download.cgi
2 – Unzip the download file and Check unzip folder – in our case folder name- apache-maven-3.3.1
Note- Please do not touch other variable, Go to last point use ; and then enter path till bin folder.
6- Click on save and apply. You can verify now that Maven is installed or not.
Open command prompt and type
To create maven build we should have maven installed in our machine so let us start setting up maven.
Steps for selenium maven build creation
Module 1- Install Maven in local machine.
1- Navigate to Maven official site and download stable version of Maven.
Maven Download- https://maven.apache.org/download.cgi
3- This is maven home directory and now we have to set path for the same
4- To set path variable- Right Click on my computer and Select property.
Note- Please do not touch other variable, Go to last point use ; and then enter path till bin folder.
6- Click on save and apply. You can verify now that Maven is installed or not.
Open command prompt and type
mvn -version7- If Maven is installed properly then you will get Maven version and Java version on Console.