alibaba82
15 years agoSuper Contributor
creating groovy teststep with code via groovy
Hello,
How can I create a testsuite/testcase/groovy teststep via another groovy step.
For example:
I have a groovy step in testSuite1-->Testcase1-->'groovy step'
I need this groovy step to do the following
1. Create testsuite2
2. Create testcase2 (inside testsuite2)
3. Create 'groovy teststep' in testsuite2-->testcase2 with the following code
-- log.info('hello world')
4. Save project.
Thanks
Ali
How can I create a testsuite/testcase/groovy teststep via another groovy step.
For example:
I have a groovy step in testSuite1-->Testcase1-->'groovy step'
I need this groovy step to do the following
1. Create testsuite2
2. Create testcase2 (inside testsuite2)
3. Create 'groovy teststep' in testsuite2-->testcase2 with the following code
-- log.info('hello world')
4. Save project.
Thanks
Ali