Forum Discussion
AnandKiran
15 years agoFrequent Contributor
I have used the below line to get the status of the Teststep,
def result = testRunner.runTestStepByName( "Input" )
But I dont want to do in this way. I have the follwing Test Steps in my testcase
1. Input
2. Request
3. Status Check - Groovy script to get the status of the above two steps.
If I use 'def result = testRunner.runTestStepByName( "Input" )' in the step 3 it will execute the step 1 again.
Hope I am clear in exlpaining my issue. Please suggest me an idea to overcome this
Note: I dont want to disable the teststeps.
Regards
Anand.
def result = testRunner.runTestStepByName( "Input" )
But I dont want to do in this way. I have the follwing Test Steps in my testcase
1. Input
2. Request
3. Status Check - Groovy script to get the status of the above two steps.
If I use 'def result = testRunner.runTestStepByName( "Input" )' in the step 3 it will execute the step 1 again.
Hope I am clear in exlpaining my issue. Please suggest me an idea to overcome this
Note: I dont want to disable the teststeps.
Regards
Anand.