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.

Arguments for extension tool

Options
RajeshU
RajeshU Posts: 19

How do I pass arguments for extension tool. I see that extension tool accepts 0,1 and 2 arguments . how do I modify the changes.

Tagged:

Comments

  • benken_parasoft
    benken_parasoft Posts: 1,232 ✭✭✭
    edited January 2019
    Options

    The arguments are passed in by the Extension tool to your script. The UI should have link label that explains type of each argument. Your Extension tool should use provided APIs to read in data from the test suite, like data source column values or test variable values. Such APIs are provided by the com.parasoft.api.ScriptingContext (or ExtensionToolContext) object passed in as the second argument to the selected method.