To incorporate the DateJS functionality into my script I did the following:
Run-Time Settings > Internet Protocol > Preferences > Set advanced options > Options
- Added my date.js code into the script using Solution Explorer.
Right-click “Extra Files” node in Solution Explorer
then choosing the option to "Add files to script"
I added my sample script to my GitHub repository so that other people can see just how easy this is and potentially benefit from the new date/time functions in this sample LoadRunner script. You can download the script here: https://github.com/richardbishop/LoadRunnerSamples/tree/master/DateJS