educative.io

Selenium parallel testing in Azure

Hello, I have few questions regarding two parallel testing, and I appreciate your help in answering them.

  1. Looking at the driver setup used in this tutorial, it looks like I don’t need to use Selenium Grid at all if I can achieve parallel testing using Azure’s parallel job, and Docker. Am I correct? If so, Grid is just a alternative to docker?

  2. Is Azures parallel job the same as multi-thread testing?

  3. Do I need to setup the WebDriver as a statice ThreadLocal driver to avoid issues when using Azure’s parallel job?

  4. Do I need to avoid using static variables and methods?

  5. I am using Junit. How should I annotate test Classes for Azure’s parallel job testing

Thank you