Submit and vote on feature ideas.

Welcome to the new Parasoft forums! We hope you will enjoy the site and try out some of the new features, like sharing an idea you may have for one of our products or following a category.

Assertor Validation Result Capture

tapan1986
tapan1986 Posts: 27

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

Tagged:

Comments

  • benken_parasoft
    benken_parasoft Posts: 1,228 ✭✭✭

    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.

  • tapan1986
    tapan1986 Posts: 27

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

  • benken_parasoft
    benken_parasoft Posts: 1,228 ✭✭✭

    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_parasoft
    benken_parasoft Posts: 1,228 ✭✭✭