Sometimes when you copy paste a code from one script to another, and the code contains parameterized values, you need to take a bit extra care.
The parameters is not recognized in the current script. To make sure this follow below steps after copying the script contents -
Copy all parameter files used (.dat, .txt, .csv) from script 1 location to script 2 folder
Open .prm file in notepad for script 1, Select All and copy paste content to .prm file in script 2 folder.
Now it should work. you can confirm it by looking at the code in the script 2. you would see rectangle around the parameter name if it is recognized. Otherwise confirm by running the script.
There might be issue even at this stage.
This is the case when the parameter delimiter used in these two scripts is different. Instead of hitting and trying different delimiters at your choice. Better to first confirm the configuration of parameter delimiter in both the scripts.
in VuGen 11.5 go to -
Design -> Parameters -> Configure Parameter Delimiters
The parameters is not recognized in the current script. To make sure this follow below steps after copying the script contents -
Copy all parameter files used (.dat, .txt, .csv) from script 1 location to script 2 folder
Open .prm file in notepad for script 1, Select All and copy paste content to .prm file in script 2 folder.
Now it should work. you can confirm it by looking at the code in the script 2. you would see rectangle around the parameter name if it is recognized. Otherwise confirm by running the script.
There might be issue even at this stage.
This is the case when the parameter delimiter used in these two scripts is different. Instead of hitting and trying different delimiters at your choice. Better to first confirm the configuration of parameter delimiter in both the scripts.
in VuGen 11.5 go to -
Design -> Parameters -> Configure Parameter Delimiters
Verify the delimiter configured here. Verify with the copied script code. Both should be same. If different then modify the delimiter in Parameter Delimiters Configuration to same as used in the script.
Now you can see that the parameters in the copied code is recognized.
if you want to use some other delimiter, you should go back to delimiter configuration and edit it again.
You would notice that the delimiter in the script is automatically changed.
Recommended Use
You should use same delimiters across all the scripts. Best is to you the default one {}. Use global options definition.
To access Global options go to -
VuGen -> Tools -> Options
Scripting Tab -> Parameters
if you want to use some other delimiter, you should go back to delimiter configuration and edit it again.
You would notice that the delimiter in the script is automatically changed.
Recommended Use
You should use same delimiters across all the scripts. Best is to you the default one {}. Use global options definition.
To access Global options go to -
VuGen -> Tools -> Options
Scripting Tab -> Parameters