Hi, I need to ssh to an appliance (i.e linux box or any unix flavour) and run a command. Is this possible in QTP. Can anyone throw some light on this.
Working with putty
|
yes this is possible.
You need to create string (command you want to execute) and then run it by shell command. Eg: Code: exeCommand = "C:\putty.exe cd/home UID@Server -pw PWD your unix command" for each command you need to create seprate commands and then execute them.
Thanks Amit for the quick reply. I just tried the steps.
I got an Invalid Port no message, Is there any option to specify port number.
We never faced this issue related to port number. You can google it, and see if you get some help.
|
« Next Oldest | Next Newest »
|
Possibly Related Threads… | |||||
Thread | Author | Replies | Views | Last Post | |
QTP(UFT) and putty | hachem | 0 | 3,839 |
03-03-2015, 05:16 PM Last Post: hachem |
|
QTP 11 and Putty objects not recognized | jparson11 | 2 | 6,100 |
06-29-2011, 01:07 AM Last Post: jparson11 |
|
Cannot identify Windows (Putty) object in QTP - Error | kharini | 2 | 5,812 |
08-30-2010, 11:35 AM Last Post: venkatbatchu |
|
open Putty via QTP | Rachna | 3 | 12,628 |
01-05-2010, 08:54 PM Last Post: rdemers25 |
Users browsing this thread: 1 Guest(s)