1

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
2
  • have you resolved your issue? Commented 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. Commented Aug 18, 2016 at 15:09

1 Answer 1

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

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.