Micro Focus QTP (UFT) Forums

Full Version: Telnet command not recognized
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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
Put some Wait(2) before the telnet statement.