Forum Discussion
avidCoder
7 years agoSuper Contributor
I think, you should write code step by step. Use below code:-
project = testRunner.getTestCase().getTestSuite().getProject().getWorkspace().getProjectByName("Your Project Name")
testSuite = project.getTestSuiteByName("Sanity-TS");
testCase = testSuite.getTestCaseByName("Sanity-TC")
testS = testCase.getTestStepByName("isAlive-SoapCall")
testRunner.runTestStepByName("testS")
Hope it helps.
Related Content
Recent Discussions
- 2 days ago
- 2 days ago