Forum Discussion
divman
12 years agoContributor
Yes. I have written a custom code for that. But like testCase.getTestStepCount(), i just wonder, is there any keyword to get only enabled test steps. But anyway thanks.
Here is the custom code i had.
Here is the custom code i had.
totalSteps = testRunner.testCase.getTestStepCount()
for(i=0; i<totalSteps; i++)
{
flag = testRunner.testCase.getTestStepAt(i).disabled
if(flag == "false")
{
counter = counter + 1
}
}