Absent Member.. Absent Member..
Absent Member..

Call Javascript actions or libraries

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.

    lr. loadLibrary (‘external.js’);
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.