In order to output some important results from runs with loadrunner 12.50 using TruClient I am using the command "Evaluate JavaScript" with the following content:
IO.write(TC.outputDir+"outputScript.txt", orderNumber, false)
to write some text to a file named "outputScript.txt". But, since I use multiple scripts, it would be better if I can output the text to a file that is named like the TruClient Script. For example, the name of the script is
GUI_automate_1
then is there a variable I can access in TruClient which contains the same text?
GUI_automate_1
Or do I have to manually define it myself somewhere in the script?