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;
[TearDown]
public void Quit()
{
if (ExtentReports != null)
ExtentReports.Flush();
if (Link != null)
Link.GetGenericKeywords().CloseBrowser();
}
}
Please, what am I doing wrong?
Instructor
gunjan Replied 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
Instructor
gunjan Replied 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 info@qtpselenium.com
Hi, I have compressed and emailed it to you. Pls, check your email. thanks
Instructor
Support Desk Replied on 15/07/2019
is the issue resolved?