12-10-2010, 10:43 AM
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
|
12-10-2010, 10:43 AM
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.
12-10-2010, 12:41 PM
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.
12-10-2010, 01:34 PM
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.
12-10-2010, 01:45 PM
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,799 |
03-03-2015, 05:16 PM Last Post: hachem |
|
QTP 11 and Putty objects not recognized | jparson11 | 2 | 6,011 |
06-29-2011, 01:07 AM Last Post: jparson11 |
|
Cannot identify Windows (Putty) object in QTP - Error | kharini | 2 | 5,755 |
08-30-2010, 11:35 AM Last Post: venkatbatchu |
|
open Putty via QTP | Rachna | 3 | 12,531 |
01-05-2010, 08:54 PM Last Post: rdemers25 |