JSLibrariesToInject\JSLibrary Element
Important Information
- Specify the location of any external JavaScript library whose functions you call in the JavaScript support functions that you design.
- When UFT is open with your toolkit support set loaded, UFT injects this library into every Web page that opens in a browser.
Name | Type | Use | Default | Description |
---|---|---|---|---|
path | string | required | The file system path to the library (a .js file).
You can specify a file path relative to the UFT installation folder, by providing a file path that begins with the string INSTALLDIR, where INSTALLDIR replaces the UFT installation folder path. If you do not provide a full file system path or use the INSTALLDIR string, then UFT searches for the specified file path under <UFT_One_installdir>\dat\Extensibility\Web\Toolkits\<Toolkit name> folder. |
|