Forum Discussion
AnandKiran
15 years agoFrequent Contributor
I have retrieved the list of teststeps under a Testcase using the below code
def testcase = testRunner.getTestCase();
def steplist = testcase.getTestStepList() ;
String[] list = steplist.name
len = list.length;
log.info len
for(i=0;i {
log.info list
}
Now I want to get the status of each step (whether the Status is OK/ Failed), can anyone suggest me an idea how to go about it.
Regards
Anand
def testcase = testRunner.getTestCase();
def steplist = testcase.getTestStepList() ;
String[] list = steplist.name
len = list.length;
log.info len
for(i=0;i
log.info list
}
Now I want to get the status of each step (whether the Status is OK/ Failed), can anyone suggest me an idea how to go about it.
Regards
Anand