Forum Discussion
I tried with /without braces, But always giving "function expected" error/reference error. And I did "eval "as well.
var ResultParam = eval(Runner.CallMethod(_impl_verificationManager(),tcInfo,tcData));
Here is my requirement: I have two arrays.In array1 contain functionNames as well.Array2 contains soma required parameters.
I am trying to passing these two arrays as parameters into a function. Which has to call on-demand array[x](Array2) where xth element is function name. Iam trying couple of models , some of them are not able to call,some of them are not able to return values into resultparam.
By the way CallMethod is obsolete - https://support.smartbear.com/testcomplete/docs/reference/project-objects/items/script/runner/callmethod.html
What is your specific task you are trying to solve?
Why you are not using a direct call of the required function?
Related Content
- 4 years ago
- 7 years ago
- 10 months ago
Recent Discussions
- 2 days ago