How to retrieve more than one Parameter values from the same row?


Is there any function in Ajax Truclient, which can be used to retrieve multiple parameter values in the script from same row? For example: Wants to retrieve values from column 2 and column 3 but both the values are from row 1.



  • Hi,

    It is not different than how you do that in other protocols.

    Define a parameter of type file, add the relevant columns and make sure the policy is set to select items from the same raw for each parameter. Each column is actually a different parameter behind the scenes.

    In TruClient script you need to use Evaluate JavaScript step to retrieve the parameter value using TC.getParam API

    See Parameters help for more details about parameters and TruClient API help for how to use TC.getParam API

    Good luck,