Forum Discussion
EBaethke
11 years agoContributor
From TestRunListener.afterStep you can access the "testStepResult" variable (a list of all variables appears above the event editor).
I did a quick look-up in the API:
http://www.soapui.org/apidocs/com/eviware/soapui/impl/wsdl/teststeps/WsdlTestStepResult.html
http://www.soapui.org/apidocs/com/eviware/soapui/model/testsuite/TestStep.html
You could access the ID by using:
Or if you wanted to check the name of the test step you could use:
Hopefully that helps
I did a quick look-up in the API:
http://www.soapui.org/apidocs/com/eviware/soapui/impl/wsdl/teststeps/WsdlTestStepResult.html
http://www.soapui.org/apidocs/com/eviware/soapui/model/testsuite/TestStep.html
You could access the ID by using:
testStepResult.getTestStep().getId();
Or if you wanted to check the name of the test step you could use:
testStepResult.getTestStep().getName();
Hopefully that helps
Related Content
- 11 years agororyLIT