Forum Discussion
KarelHusa
4 years agoSuper Contributor
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
- 12 hours ago
- 12 days ago
- 13 days ago