How to run tests in parallel using Selenium WebDriver and C#?


I recently started doing an automated framework using C# and Selenium WebDriver and for the instantiation of WebDriver I used the code found here: . As it is said there, that code can’t handle parallelism and it’s said that a further part of the tutorial is coming and I don’t think that it did. Could you please help me modify the code in a way that I can do parallel tests? I tried myself but didn’t succeed.

Thank you.

Default Asked on November 25, 2017 in Selenium WebDriver.
Add Comment
  • 2 Answer(s)

    Parallel test execution involves running a suite of automated tests in parallel as opposed to sequentially. You don’t execute your tests one by one. Rather, you take the entire batch and split it up amongst multiple servers so that each server can run a single test at a time. This techniques has some fantastic advantages to improve your overall software development life cycle.

    Train Answered on November 30, 2017.


    I know the definitions, the advantages and what it implies. I just can’t find the code to make it work.


    on December 2, 2017.
    Add Comment

    Anyone with an example or an advice?

    Default Answered on December 18, 2017.
    Add Comment
  • Your Answer

    By posting your answer, you agree to the privacy policy and terms of service.