Forum Discussion

radhika1's avatar
radhika1
Contributor
7 years ago

Getting null object error

project = testRunner.getTestCase().getTestSuite().getProject().getWorkspace().getProjectByName("info"); log.info(project); testSuite = project.getTestSuiteByName("InfoSoapBinding"); testCase = testSuite.getTestCaseByName("AllCards"); testCase.run(testRunner, context) I need to run a test case located in another test suite but I am getting the below error.