I am getting NullReferenceException when using
[Parallelizable(ParallelScope.Children)] when
I am trying to run all test methods in one class
parallelly
Error:
System.NullReferenceException:Object reference
not set to an instance of an object.
TearDown System.NullReferenceException : Object
reference not set to an instance of an object.
could you please help, why this error is occuring. I am using C# Selenium NUnit.
tried multiple ways but i didn’t get any actual solution, when I am not using parallelizable, tests are running sequentially and if i have two different classes using parallelizable tests are running parallel, but i wanted to try tests parallelly in the same class.
Abhishek Chinta is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.