10-07-2008, 04:06 PM
Hi,
We were using FTP and Telnet previously to update the records in SAP. Now we are using FTP and PUTTY. We were using a vbs function previously the same is not working for PUTTY. Now I tried to record it with QTP. But it is not recognizing the screen. So I used the following commands in the script:
It is just showing the screen for inputting the password.
But it is not identifying the object window.
Could anybody please suggest how to code for this.
If you have solution you can even mail me to sudha_abap@sify.com
Thaks and regards,
Sudhakara Reddy.A
We were using FTP and Telnet previously to update the records in SAP. Now we are using FTP and PUTTY. We were using a vbs function previously the same is not working for PUTTY. Now I tried to record it with QTP. But it is not recognizing the screen. So I used the following commands in the script:
Code:
SystemUtil.Run "putty.exe","-load ""M&M T2""","H:\",""
Window("PuTTY").Activate
Window("PuTTY").Type "Forever!"
Window("PuTTY").type micreturn
Window("PuTTY").type "exit"
Window("PuTTY").type micreturn
Window("PuTTY").close
It is just showing the screen for inputting the password.
But it is not identifying the object window.
Could anybody please suggest how to code for this.
If you have solution you can even mail me to sudha_abap@sify.com
Thaks and regards,
Sudhakara Reddy.A