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.

  • have you resolved your issue? – NarendraC Aug 5 '16 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. – RogerUK Aug 18 '16 at 15:09
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
| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.