Highlighted
Absent Member.. Absent Member..
Absent Member..
201 views

<(UFT/Lean FT) Support Tip> Modify the port used by LeanFT

Dear Customer,

 

By default, LeanFT uses port 5095.

 

If another application on your computer needs to use that port, you can modify the port that LeanFT uses.

You must modify the port setting in all of the following locations:

 

LeanFT runtime server settings:

 

On the computer where you plan to run your test, modify the port value in the <LeanFT installation>\bin\LFTRuntime.exe.config XML file.

 

The app.config or leanft.project setting files of your testing projects:

 

In Visual Studio:

Modify the connection address setting in the app.config file referenced by your testing project, and ensure that you deploy the compiled *.config.dll together with your testing project .dll.

If you are working with a centrally maintained testing settings assembly file, update the port in that location. For details, see How do I work with an externally maintained test settings file?

 

In Eclipse:

Modify the connection address setting in the resources\leanft.properties file in your Eclipse project.

If you are working with a centrally maintained testing settings assembly file, update the port in that file. For details, see How do I work with an externally maintained test settings file?

For additional details on working with the testing project app.config and .properites files, see Customize LeanFT test settings

 

LeanFT IDE preferences:

 

The first time you open Visual Studio or Eclipse after installing the relevant LeanFT plugin, a file named Communication.json is created in %appdata%\Hewlett-Packard\LeanFT\Preferences\

Edit the "Port" value in this file.

 

Kind Regards,

“HP Support
If you find that this or any post resolves your issue, please be sure to mark it as an accepted solution.”
Labels (1)
0 Likes
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.