Micro Focus QTP (UFT) Forums
Telnet command not recognized - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: UFT / QTP Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners)
+--- Thread: Telnet command not recognized (/Thread-Telnet-command-not-recognized)



Telnet command not recognized - Sanjana1987 - 09-18-2017

Hi,

I' m trying to connect to device telnet from UFT 12.54 but it says "Telnet is an unrecognized command".
Although. it is working fine when tried manually.
Please share any information on this.

PS: 
1. I have enabled Telnet Client and Server from Windows Control Panel
2. Command Used in UFT: 

Code:
 SystemUtil.Run "C:\WINDOWS\system32\cmd.exe"
Set oShell = CreateObject ("WSCript.shell") 
oShell.SendKeys "telnet"
oShell.SendKeys "{Enter}"

3. Terminal Emulator Add-in is installed.

Thanks,
Sanjana


RE: Telnet command not recognized - Ankur - 09-20-2017

Put some Wait(2) before the telnet statement.