Assertor Validation Result Capture

tapan1986tapan1986 Posts: 26

How to capture and pass the test result status from assertor (pass or fail) to extension tool for some internal reporting?

Tagged:

Comments

  • benken_parasoftbenken_parasoft Posts: 708 ✭✭✭

    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.

  • tapan1986tapan1986 Posts: 26

    During run time how can we pass the assertor result to an extension tool?

  • benken_parasoftbenken_parasoft Posts: 708 ✭✭✭

    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.

  • benken_parasoftbenken_parasoft Posts: 708 ✭✭✭
Sign In or Register to comment.