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

Call Javascript actions or libraries

$
0
0

Starting on LR 12.5 the script code can be generated in JavaScript format and all the commands and code is generated using this programing lagnguage.

 

Following next is described the method for call another action from the script or an external library.

 

  1. lr.loadLibrary() is used to “include” a single file into the script, the code inside the included file will be loaded and evaluated.
    All definitions inside it will be added to the global scope of runtime context.
    It can be used for browser based libraries.

    Example:
    lr. loadLibrary (‘external.js’);

Viewing all articles
Browse latest Browse all 3978

Trending Articles



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