Multiple browser support
So far, we have parallelized our tests so that we can run multiple browser instances at the same time. However, we are still using only one type of driver, the good
old FirefoxDriver. I mentioned problems with Internet Explorer in the previous section, but right now we have no obvious way to run our tests using Internet Explorer. Let's have a look at how we can x this.
To start off with, we will need to create a new Maven property called browser
and a new con guration setting inside our failsafe plugin con guration called systemPropertyVariables. This is pretty much what is says on the tin; everything de ned inside systemPropertyValues will become a system property, which will be available to your Selenium tests. We are going to use a Maven variable to reference a Maven property so that we can dynamically change this value on the command line.
Comments
0 comments
Please sign in to leave a comment.