TruClient Lite

TruClient Lite is an extension to the Chrome browser that uses your local installation of Chrome to develop scripts. You can find the installation at the Chrome Web Store.

Note: TruClient Lite has been discontinued from version 12.63. TruClient Lite 12.62 is still available in the Chrome Web Store for a period of time, but will be removed in the future. We recommend that you use the TruClient standalone edition instead, available also in Micro Focus Marketplace. Alternatively, you can use the TruClient in VuGen edition.

Advantages of TruClient Lite

  • Can run on both Windows and Mac operating systems.
  • Can be installed on the same computer with other LoadRunner components.
  • The installation package is small.
  • Installation is fast.

Back to top

Installation

Install TruClient Lite on a dedicated Chrome profile.

To create the profile on Windows:

  1. Create a new Chrome shortcut and give it a meaningful name. For example "TCLite".

  2. Create a folder for the Chrome profile. For example, "C:\TCLiteChromeProfile".

  3. Right-click the new shortcut and select Properties. In the Target field, add the following arguments:

    ‑‑user‑data‑dir="<new profile dir>" ‑‑extensions‑on‑chrome‑urls ‑‑silent‑debugger‑extension‑api ‑‑disable‑web‑security ‑‑no‑first‑run

    where <new profile dir> is a folder in your machine.

    Example:  

    "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --user-data-dir="c:\TCLiteChromeProfile" --extensions-on-chrome-urls --silent-debugger-extension-api --disable-web-security --no-first-run

  4. Double click the shortcut to launch Chrome.

  5. Install the TruClient Lite for Chrome extension from the Chrome Store.

    When installing the TruClient Lite for Chrome extension for the first time, you need to create a new dedicated profile to run the extension.

To create the profile on Mac OS:

  1. Open terminate, and run the following command line (input the root user password when prompted):

    sudo mkdir -p -m '+rwx' /Users/$USER/Applications/TCLiteChrome.app/Contents/MacOS/;
    cd /Users/$USER/Applications/TCLiteChrome.app/Contents/MacOS/;
    echo '#!/bin/bash' >> TCLiteChrome;
    echo "open /Applications/Google\ Chrome.app --args --user-data-dir='/Users/$USER/TCLiteChromeProfile' --profile-directory='/Users/$USER/TCLiteChromeProfile' --extensions-on-chrome-urls --silent-debugger-extension-api --no-first-run --disable-web-security --disable-features=IsolateOrigins,site-per-process" >> TCLiteChrome;
    chmod 755 TCLiteChrome;
    cd /Users/$USER/Applications/;
    chmod 755 TCLiteChrome.app;
    osascript -e 'tell application "Finder" to make alias file to POSIX file "/Users/'$USER'/Applications/TCLiteChrome.app" at POSIX file "/Users/'$USER'/Desktop"';

  2. Double-click the TCLiteChrome alias created on the desktop to launch Chrome, and install the TruClient Lite for Chrome extension.

    When installing the TruClient Lite for Chrome extension for the first time, you need to create a new dedicated profile to run the extension.

Back to top

Limitations of TruClient Lite

  • The extension is affected by all restrictions on the Chrome browser.

    For example, because of browser security restrictions, the process of saving and loading scripts has additional steps compared to other editions. See Manage scripts in TruClient Lite.

  • Due to a change in Chrome version 56, JavaScript APIs (VTS and other synchronous APIs) are not supported on TruClient extension internal pages, such as the first opened page, aboutblank.html.
    Workaround: Add a “Navigate” step to an external page before a step with a JavaScript API.

  • Not all versions of Chrome are supported in a given version of TruClient Lite. If the versions are not compatible, the developer window is disabled and message is displayed.

  • The Convert to Code feature is not supported in the TruClient Lite edition.

  • Because of the functionality of the browser, some of the functionality of other TruClient editions cannot be used in the TruClient Lite edition.

  • If you upload a recorded file on a Mac, you must manually change the Path parameter to the real path on the Mac, otherwise the upload will fail.

Back to top

See also: