HP-Plano-TX-Soa
12 years agoOccasional Contributor
[Resolved] How to get the type of a testStep?
I have the following in a testCase teardown script: // Log the testCase name, status and all the testStep messages // testCaseName = testRunner.testCase.name log.info testCaseName if ( ...
- 12 years agoAnswered my own question:
Have to get a handle to the testStep before I can get its Type:
for ( testStepResult in testRunner.getResults() )
{
testStep = testStepResult.getTestStep()
tstype = testStep.config.type