Assertor Validation Result Capture
How to capture and pass the test result status from assertor (pass or fail) to extension tool for some internal reporting?
Comments
-
SOAtest can be configured to write an XML report which captures information about every test that SOAtest executed in a particular test run. This report is intended for custom reporting purposes. In other words, after your test run has completed, you would run your "internal reporting" script (outside of SOAtest) to parse and extract whatever information your script needs from the XML report.
0 -
During run time how can we pass the assertor result to an extension tool?
0 -
Test success/failure results are only available in the XML report. This is what you should be using, as opposed to injecting logic to perform extra custom reporting as the test suite is running. However, if you want to take that approach, you can configure the test suite to only run certain tests based on a previous test passing or failing. So, you could configure an Extension Tool that only runs if the test containing your Assertor tool passes and another Extension Tool that only runs if the test containing your Assertor tool fails. See "Test Result Dependency" options under Configuring Test Suite Properties - Test Flow Logic.
0 -
Please also see this earlier answer:
How to check assertion status or test result of specific test step0