Ran into a problem recently with VS/MSTest and wondering if anyone has had a similar issue.
I'm currently working on a UI framework in c# using MSTest and over the past few weeks I've been implementing selenium grid/Jenkins for CI.
Selenium grid facilitates parallel test running but the running is done by MSTest. in the past few weeks parallel test running with VS has stopped working.
No changes have been made to how the tests are structured or created but when multiple driver instances are created Driver A works until Driver B is created then Driver B runs while Driver A stops executing steps.
I'm beginning to think it's a bug with WebDriver or MSTest itself as it's weird for something that was working to stop working without any code changes. Wondering if anyone else has had similar problems.
It had been working for me for months and I had found some issues by running in parallel so it's strange that it has suddenly stopped working with no changes. It was last working around 2 months ago.
I tried changing every static method/variable in the solution to not being static as I've read statics can cause problems but it didn't help.
setup is Unit Test solution using Seleno (Webdriver Nuget Package) Tests written as unit tests using in MSTest. Page Object approach.
Driver:Chromedriver 2.33
Chrome version: Version 62.0.3202.75 (Official Build) (64-bit)
Parallel test running enabled using a .Testsettings file in the solution
same thing happening with latest version of IE/IEDriverServer which makes me think it may be WebDriver that is an issue.
Any help or thoughts would be much appreciated.
Thanks,
G