When the Selenium script is run with EndUserExperience mode, the below stacktrace is thrown:
Message "Could not load type 'Microsoft.OData.Core.ODataException' from assembly...
The NeoLoad selenium driver is only compatible with Microsoft.OData.Core from version >=6.0.0 & <7.0.0).
Make sure you reference a version from within that range.
When the Selenium script is run with EndUserExperience mode, the below stacktrace is thrown:
System.NullReferenceException occurred
HResult=0x80004003
Message=Object...
Copy the below line in the C# code, just before instanciating the NeoLoad web driver:
Environment.SetEnvironmentVariable("nl.script.name", "myScriptName");