Calling functions by variable [Click\'n\'script]
I have a click'n'script test, in which I have a string variable containing the name of a function I want to call. How can I call that function using the variable?
In Quick Test Professional, I could use 'Eval':
action = "myFunction"
Eval( action )
How can this be achieved in Click'n'Script protocol in LoadRunner.
Re: Calling functions by variable [Click\'n\'script]
There is no straight forward way to do this. You are probably going to need to use switch or if/else logic to accomplish this.
For more assistance please read and follow: