ssa
11 years agoOccasional Contributor
How to execute SCP and SSH commands from TC.
Hi Team,
I am trying to Prepare Environment to automate a test and for that i need to run "scp" and "ssh" command from TC.
Note: After doing ssh i also need to execute some other commands on that linux box(SLES).
Currently i am doing it manually from cygwin. Not sure how can i do from TC.
Followed this article
http://support.smartbear.com/viewarticle/62782/
Tried like below
var p, w;
p = Sys.Process("C:\\cygwin64\\bin\\mintty.exe");
w = p.Window("ConsoleWindowClass", "*");
Getting this Error message.
The process "C:\cygwin64\bin\mintty.exe" was not found.
Any idea or pointer how can i do this?