Forum Discussion

asn_007's avatar
asn_007
Contributor
8 years ago

Execute Steps Sequentially

I have a Project with 2 test cases in it.   Set Up Test Case 1 has 3 Steps(Groovy Scripts). Each of these steps creates a different type of xml. Test Case 2 has only one Groovy Script that has co...
  • asn_007's avatar
    8 years ago

    I figured out the solution myself.

    Instead of setting properties(which need to be read from another test case) at Test Case Level, I set them at Project level/.

     

    def tc = context.testRunner.testCase.testSuite.project
    tc.setPropertyValue('TestCase', testRunner.runContext.currentStep.name)