Forum Discussion
Said
Contributor
Thanks for your response... Below is a (simplified) structure of my test case.
TestCase Init Groovy DataSource Soap Call1 Groovy TestStep Set TestResult (DataGen) Save TestResult (DateSync) DataSource Loop
use case: I have a DataSource Loop processing a few hunderd rows. I need to report pass / fail for each row. In the step Set TestResult (DataGen) I have this statement:
return testRunner.testCase.testSteps["Soap Call1"].assertionStatus
With this I know if the current row passed or failed.
I have some assertions in the Groovy TestStep. I also would like to know per row if any of the assertions in that step failed. This is needed for the reporting that I am doing in the step Save TestResult (DateSync).
Hope you can advise on the best way to do this.
Thanks in advance!
Related Content
Recent Discussions
- 15 hours ago
- 17 days ago