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.

Print Message in Quality Task

Options
rvmseng
rvmseng Posts: 89

Hi every body,

How can I print a custom message in quality task with scripting in SOATest?

Thank you.

Comments

  • benken_parasoft
    benken_parasoft Posts: 1,231 ✭✭✭
    edited June 2018
    Options

    Click "Help > Help Contents > Parasoft SOAtest Extensibility API" to open the javadocs then click ScriptingContext. You will notice that ScriptingContext has a couple methods named "report" that "Reports an error message and causes the tool to fail." When you use an Extension tool or script field, one of the arguments to your script is of type ScriptingContext. For other details, see Extensibility and Scripting Basics.

  • rvmseng
    rvmseng Posts: 89
    Options

    Thank you a lot