Forum Discussion
KarelHusa
3 years agoChampion Level 1
you haven't initialized the values of the properties (testRunner, testCase etc.), so they are set to null.
When you invoke testRunner.testCase.testStep.getName() the testRunner property is null, so you get the error.
I am not sure what is your goal but setting static (class) properties within the constructor seems confusing to me.
Best regards,
Karel
Related Content
Recent Discussions
- 15 years ago