At the time I use Class Parameterized to drive the same tests in different Browsers. What I don’t like about it is, that the tests don’t run in parallel.
I also tried this but it didn’t work for me but I admit that I didn’t really understood what I was doing.
Isn’t there a better way to do it?
Is there a way with Maven/Surefire to get this done?
Is anyone experienced in achieving that?
If you want to run tests in parallel, JUnit might not be the perfect tool. Try TestNG instead. It already knows how to run tests in parallel, so you don’t have to worry about this.
To configure the tests for different browsers, follow this approach: