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 fix this.
To start off with, we will need to create a new Maven property called
browser and a new configuration setting inside our failsafe plugin configuration called
systemPropertyVariables. This is pretty much what is says on the tin; everything defined inside
systemPropertyValues will become a system property, which will be available to your Selenium tests. We ...