03-17-2014 08:37 AM
I have been given the task of learning LoadRunner (sink or swim). We must use the Ajax TruClient protocol for our process. After successfully developing a script, I sought to create functions for repeatable tasks, passing parameters to the functions. So I highlighted the set of instructions that would become a function, right clicked on the the highlighted set, then selected the "Group into new function" menu item. This created my function and allowed me to specify my parameters. Then in my script I used the Toolbox's Function group's Call Function item to add a call to my created function, supplying values for my parameters.
When the script runs the values are not passed and the script fails. I am having difficulty finding information to help me do this correctly. All help is appreciated.
Solved! Go to Solution.
03-17-2014 09:14 AM
As so often happens, I find my solution after posting my question. To use function parameters within the function body one must type FuncArgs.myParameter