none
Selenium Grid in C#

    Question

  • I used PNUnit to run my tests in parallel for selenium automation framework using C#

     I followed this link:https://testingbot.com/support/getting-started/pnunit.html

    I am getting below error:

    =====================================

    Test Name: TestCase
    Test FullName: ClassLibrary1.Class1.TestCase
    Test Source: C:\SWAUTFramework\ClassLibrary1\ClassLibrary1\Clas s1.cs : line 53
    Test Outcome: Failed
    Test Duration: 0:00:00.011

    Result StackTrace:
    at PNUnit.Framework.PNUnitServices.Get()
    at ClassLibrary1.Class1.Init() in C:\SWAUTFramework\ClassLibrary1\ClassLibrary1\Clas s1.cs:line 22
    --TearDown
    at ClassLibrary1.Class1.Cleanup() in C:\SWAUTFramework\ClassLibrary1\ClassLibrary1\Clas s1.cs:line 54
    Result Message:
    System.Exception : mInstance is null
    TearDown : System.NullReferenceException : Object reference not set to an instance of an object.

    ==============================

     please some one help me to resolve this issue

    Thursday, June 16, 2016 10:06 AM

Answers