Forum Discussion

ridvan_filiz's avatar
ridvan_filiz
Occasional Contributor
11 years ago

starting scripts

in my project I have a Main script and from this script I start my test scripts: function Main() { script1() script2() script3() .. .. } It works well. They will sta...
  • Colin_McCrae's avatar
    11 years ago
    So you're building a string for the script you want to execute?



    You need to wrap it in a method that causes it to execute. I use "Eval()" for this. My setup is exactly as you describe. Function names and their parameters read in from an Excel sheet. Build a command string using the read in parts. Wrap the string inside an "Eval()" statement and off it goes ....