Communication Exception – Error in connecting to leanft runtime engine
♥ 0 |
Hi Friends, I am new to leanft. i just installed UFT along with leanft plugin. when i try to start the leanft engine thru code it says ” Communication Exception – Error in connecting to leanft runtime engine”. when i double click the LFTruntime.exe in this path C:\Pgmfiles(x86)\HP\bin, leanft icon is shown in the system tray which means leanft engine is started…. after that when i run the code, it says “Communication Exception – Error in connecting to leanft runtime engine”.
Kindly help me how to start the leanft engine thru JAVA code by using leanft API
Marked as spam
|
Private answer
Can you please clarify what you mean by you "try to start the leanft engine thru code"? What code are you using to try to start LeanFT (UFT Developer)? Please provide a sample. See this link for Instructions to start LeanFT Runtime Engine. Also, make sure port 5095 is open. UFT Developer needs this port open to work properly. You can see information on the port at this link. Marked as spam
|
|||
Private answer
I tried to launch Internet explorer by using the below program. package edu.aspire.test; import java.io.File; public class IElaunchTest { } } ========== Softwares I have in my PC: UFT along with leanft plugin( version 12.54.2159), Windows, JAVA 8 , eclipse Mars 2 release (4.5.2) When i run the above program i am gettng below error com.hp.lft.sdk.internal.communication.CommunicationException. Error in connecting to leanft runtime engine on ws:<ipaddress>:5095 at com.hp.lft.sdk.internal.communication.DefultSockerConnection.connect(DefaultSocketConnection.java:72)
Marked as spam
|