Forum Discussion
nmrao
8 years agoChampion Level 3
Have you tried any?
- sachin-chanchal8 years agoOccasional Contributor
I have tried
def workspace = testRunner.testCase.testSuite.project.workspace
project = workspace.getProjectByName('ProjectName');
apiTestSuite = project.getTestSuiteByName(TestSuite1);
apiTestCase = apiTestSuite.getTestCaseByName('TestCase1');
apiTestStep = apiTestCase.getTestStepByName('TestStep1');testRunner.testCase.testSuite.project.getTestSuiteByName("TestSuite2").getTestCaseByName("TestCase2").cloneTesStep(TestStep1,TestStep1)
But, this code is not working
Related Content
- 11 months ago
- 2 years ago
Recent Discussions
- 11 days ago