Selenium webdriver application for testing an other ERP web application
We have an ERP web application built in Spring mvc.
Until now were testing our ERP application manually.
Now we need to do automatic testing. For that, we have decided to use selenium webdriver. This means that we need to create a Selenium webdriver application to automatically test our ERP web application.
But I am not sure which type of Selenium webdriver application it should be. Should it be web application or desktop application? And how can we run it?
I have tried but not able to find answer.
It is better to use Maven or gradle
project instead of normal Java project.The advantages over normal Java project are,
webApp
component to see the automated test results and etc... Project Modularization You can add sub modules in maven.In your case you can maintain web driver binary project for separately to get the browser drivers.eg:chrome driver,Fire fox driver.
Dependency Management and Project Lifecycle you can maintain dependency required in your project very easily instead of adding jars into your lib manually.Also you can easily integrate with one of the version control system
eg:GIT to share code among developers and maintain a build profiles for production,testing,etc... like vise.
Easily integrate with Jenkins and other tools when you needed.
Here is some tutorial for startup with selenium with Maven and Jenkins.
链接地址: http://www.djcxy.com/p/62566.html上一篇: 水豚的比较