maven with automation testing
TRANSCRIPT
![Page 1: Maven With Automation Testing](https://reader035.vdocuments.mx/reader035/viewer/2022062412/58d1cca11a28ab705c8b5d35/html5/thumbnails/1.jpg)
Maven integration With Automation Testing
By : Gaurav Gupta
![Page 2: Maven With Automation Testing](https://reader035.vdocuments.mx/reader035/viewer/2022062412/58d1cca11a28ab705c8b5d35/html5/thumbnails/2.jpg)
Agenda
1- Why to use maven for automation testing 2- configure java project to maven project3-How to manage dependencies goals and plug-in 4- Run the test script using maven
![Page 3: Maven With Automation Testing](https://reader035.vdocuments.mx/reader035/viewer/2022062412/58d1cca11a28ab705c8b5d35/html5/thumbnails/3.jpg)
Why to use maven for automation testing
1- Provides no conflict environment while working in teams
2- Direct use of external plug-in
3- Provide suitable environment for the dependencies management
![Page 4: Maven With Automation Testing](https://reader035.vdocuments.mx/reader035/viewer/2022062412/58d1cca11a28ab705c8b5d35/html5/thumbnails/4.jpg)
Configure java project to maven project
1- Existing Java project to maven project manually 2- Existing Java project to maven project using maven template 3- Using maven directly to create a maven project
![Page 5: Maven With Automation Testing](https://reader035.vdocuments.mx/reader035/viewer/2022062412/58d1cca11a28ab705c8b5d35/html5/thumbnails/5.jpg)
How to manage dependencies, plug-in etc
1- Hands on Maven Repository, Maven Central 2- Hands on Plug-in, Maven SureFire, Maven Compiler plug-in etc
![Page 6: Maven With Automation Testing](https://reader035.vdocuments.mx/reader035/viewer/2022062412/58d1cca11a28ab705c8b5d35/html5/thumbnails/6.jpg)
Run the Scripts from maven
For running the test case use -maven test to the project repository
![Page 7: Maven With Automation Testing](https://reader035.vdocuments.mx/reader035/viewer/2022062412/58d1cca11a28ab705c8b5d35/html5/thumbnails/7.jpg)
Thanks You..!!
Advice- Learn by Doing