How to set a custom download path in Chromium in Truclient protocol of Loadrunner

1.2k views Asked by At

I am trying to record a UI in Truclient protocol using its Chromium extension. As part of my workflow, I am downloading a file by clicking a button on UI. While replaying my script the downloaded file is saved in the default download path of Chrome. I can see the settings of Truclient Chromium browser where the path is editable. But as soon as the "develop" mode is exit, the path resets to the old default (which is also the default in system).

I want to control where my file should be saved after download on the load generator. Any advise is appreciated! notes -

  1. I am looking for solutions only specific to Chromium and not for IE or Truclient Browser as my UI is only compatible with Chrome.
  2. LR version - 12.6x
2

There are 2 answers

1
Erxin On

Currently as I known, TruClient still do not support customize the download path in Chromium. You could try to switch to TruClientBrowser which is based on Firefox.

  1. Open TruClientBrowser
  2. Navigate to about:config
  3. Add key value as: enter image description here
  4. Replay and save your script before close the browser
  5. Reopen the script and test the download path again
0
Jiaming Nie On

TC Chrome uses the default download path.

For Windows, this is usually: C:\userName\Downloads and can be changed using

Ctrl+E (Open File Explorer) -> Right Click on Downloads -> Click Location -> Change the Path