I wanted to run the test scripts in multiple browsers. Ideally Chrome, FFox, IE11, Opera and Safari.
How would be ideal to be able to run that?
Here's my stack.
IntelliJ + JUnit + Java
Any ideas, information, insights, links to third party tutorials, etc... is much appreciated.
Narendra Chandratre
2,8347 gold badges31 silver badges60 bronze badges
asked Aug 4, 2016 at 6:45
-
have you resolved your issue?Narendra Chandratre– Narendra Chandratre2016年08月05日 17:10:56 +00:00Commented Aug 5, 2016 at 17:10
-
I'm still having issue in open Opera. I'm in a proxy based place, probably is that. Soon as I get around it and working I'll share the findings.rogeriodasilvadotcom– rogeriodasilvadotcom2016年08月18日 15:09:38 +00:00Commented Aug 18, 2016 at 15:09
1 Answer 1
I'll suggest to use the latest version of the maven-surefire-plugin
. This is the config I am using which works fine
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.18.1</version>
<configuration>
<parallel>all</parallel>
<threadCount>10</threadCount>
</configuration>
</plugin>
Heads Up :
- Do not use non final static variables
- If you really need them you could wrap them in a InheritableThreadLocal instance
answered Aug 4, 2016 at 7:13
default