简体   繁体   中英

What is the difference between a Java test project with selenium and Java Maven test project with selenium as well

I generally use "Java project" to import Selenium test cases. What if i wanted to use Maven ? Should I create the project at the beginning as "Maven project"? What is the difference between to of them these both should provide the tester same test steps.

Yes, there would be no difference in your test steps.

Maven is a way to build your java project and is excellent for handling dependencies.

So you would create it as a "Maven Project" and add Selenium as a dependency.

This shows you how to add Selenium dependency to Maven- http://www.seleniumhq.org/download/maven.jsp

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM