extentreports-csharp icon indicating copy to clipboard operation
extentreports-csharp copied to clipboard

Error using ExtentTest when Running on Server, Locally Runs Fine

Open jfclancey opened this issue 2 years ago • 0 comments

Hello,

      When I run my code using an Azure Pipeline I'm getting the error "Object Reference not set to an instance of an object" on the line below. The extScenario declaration is below as well. I assume since it works on my desktop I'm missing a reference but haven't been able to determine which one. Any idea which DLL or other file I may need?

Variable declaration. private static ExtentTest extScenario;

Line giving the error extScenario = extFeatureName.CreateNode<Scenario>(_scenarioContext.ScenarioInfo.Title);

jfclancey avatar Dec 01 '22 15:12 jfclancey