Whenever I run my test as well as the test from the downloaded code i do get this error once a test is skipped:
Message: Skipping test with RunMode of No
TearDown : System.NullReferenceException : Object reference not set to an instance of an object.
here is my code on TearDown
public class BaseLink
public ExtentReports ExtentReports = ExtentManager.GetReport();
public Link Link = null;
public void Quit()
if (ExtentReports != null)
if (Link != null)
Please, what am I doing wrong?
Instructorgunjan Reply on 28/04/2019
Please share the complete code so that I can have better understanding of it.
attached above is the code where the error navigates me to
That's the complete code to the linked files.
The full project is below
Instructorgunjan Reply on 30/04/2019
Please share the zip code of the project. The solution is not opening.
couldn't upload it, it keeps bringing error to upload here
You can mail us at email@example.com
Hi, I have compressed and emailed it to you. Pls, check your email. thanks