Documentation

LoadJavascript

Loadjavascript command is used to load a Javascript file in memory. The file path should be mentioned in the parameter section and the loaded file can be referred by a name mentioned in the element key section.

Select LOADJAVASCRIPT command from the action drop down, leave Screen name blank, Give variable name in the Element key which will be used to refer the file and provide file path in parameter section as shown below:

After completing this step, test step will look as below:

Now you can use this javascript file in RUNJAVASCIPT command to execute your javascript as shown below:

Was this page helpful?