Quantcast
Channel: LoadRunner Practitioners Forum topics
Viewing all articles
Browse latest Browse all 3978

How to obtain the name of the current running script?

$
0
0

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?

 

 


Viewing all articles
Browse latest Browse all 3978

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>