Home > other >  Is it OK to run automated UI tests (w/ Selenium) asychronously?
Is it OK to run automated UI tests (w/ Selenium) asychronously?

Time:10-21

I'm using Visual Studio 2022 to create automated UI TestMethod(s) w/ Selenium. Because of the benefit of using await Task.Delay(n) I decided to make my test methods async. Is there any risks/concerns/issues with running ALL (or more than 1) UI tests asynchronously?

CodePudding user response:

We normally use to run several tests in parallel to reduce the total run time, so you definitely can run tests asynchronously, however you will have to define the test cases for each test in a way so as will be no collisions between the simultaneously running tests.

  • Related