Parameter Passing to WinRunner
When running WinRunner scripts from TD, does anyone know how to pass a parameter from TD to a undefined variable within WinRunner? For example, we have templates within TD that are converted to WinRunner templates. The areas that are defined as parameters in the TD templates are left as variables in WinRunner. We want to be able to define the parameter at run time and pass those values to the WinRunner variables. Thoughts?
Re: Parameter Passing to WinRunner
First, you need to declare the Parameters in the Winrunner script via the 'File > Test Properties...' option in the Winrunner Editor. In the Parameters tab, add all the Variables you are going to be passing in.
Then, Access the WR script's properties in the TD Test Lab, and in the 'Configuration' section, give all the declared parameters values.