Forum Discussion
05ten
8 years agoContributor
Not sure if you have access to the workspace as such in the testrunner.
I might be wrong but I've always run the test runner with an explicit project in mind. But the error you get tells me that workspace is null.
Right here:
testRunner.testCase.testSuite.project.workspace.getProjectByName("UserRights")
Consider why you need to separate a run into several different projects. It feels a little awkward tbh. Rather out that functionality in another (perhaps disabled) testsuite.
I might be wrong but I've always run the test runner with an explicit project in mind. But the error you get tells me that workspace is null.
Right here:
testRunner.testCase.testSuite.project.workspace.getProjectByName("UserRights")
Consider why you need to separate a run into several different projects. It feels a little awkward tbh. Rather out that functionality in another (perhaps disabled) testsuite.
Related Content
- 3 years ago
- 8 years ago
- 11 years ago
- 8 years ago
Recent Discussions
- 21 hours ago