Forum Discussion
SmartBear_Suppo
15 years agoSmartBear Alumni (Retired)
Hi!
now I don't really understand how you are executing the teststep, but you have the following options to get the status;
1) If the teststep is being executed as part of your testcase, you need to get the corresponding TestStepResult object from the testRunner.results array, this has a status property
2) If the teststep is being executed "manually" by calling its run(..) method from a script, use the TestStepResult returned by that method instead..
does that help? If not, please elaborate on your setup/requirements..
regards!
/Ole
eviware.com
now I don't really understand how you are executing the teststep, but you have the following options to get the status;
1) If the teststep is being executed as part of your testcase, you need to get the corresponding TestStepResult object from the testRunner.results array, this has a status property
2) If the teststep is being executed "manually" by calling its run(..) method from a script, use the TestStepResult returned by that method instead..
does that help? If not, please elaborate on your setup/requirements..
regards!
/Ole
eviware.com
Related Content
- 2 years agoKimdongart1