07-08-2009, 12:28 PM
Hi,
I want to execute commands on unix box through QTP.
Can anyone help me on this.
Thanks
Hema
I want to execute commands on unix box through QTP.
Can anyone help me on this.
Thanks
Hema
How to Interact Unix through QTP
|
07-08-2009, 12:28 PM
Hi,
I want to execute commands on unix box through QTP. Can anyone help me on this. Thanks Hema
07-08-2009, 05:48 PM
Can anyone know the solution to the above request
03-06-2011, 03:24 AM
Use SystemUtil.Run "C:/Putty.exe" to start a Putty session.
Then use Window.Type to interact with Putty.
03-07-2011, 02:03 PM
You can use putty, i am not sure how effective it is to interact with putty on QTP, but i use, java's javacraft package to connect to unix environment and then interact with unix. You can run that jar from QTP.I can put it up if you really need it.
Basanth
Give a fish to a man and you feed him for a day..Teach a man how to fish and you feed him for life.
HI,
You need to use terminal emulator Addin to interact with Putty tool. QTP 10 does not support Putty tool. Only QTP 11 supports Putty. Below are few details on automating Unix box :- 1. QTP 11 with PuTTY tool :- PuTTY is a free and open source terminal emulator application which can connect to Unix Box to execute Shell script commands. We can automate Putty only using QTP v11.0. Advantages of Putty : • Putty is open source tool and hence we can download it for free. Disadvantages:- • Putty can be automated only using QTP v11 and QTP v10.0 does not support putty. • Putty does not support HLLAPI dll as it is free tool. We cannot make use of few important methods on QTP to automate putty. This will make automation difficult task to identify the success or error messages while running the shell scripts in Unix. 2. QTP 10 with Passport tool (or any other non open source tools):- Passport supports HLLAPI dll while connecting to Unix box to execute shell scripts. Passport is not a open source tool. Advantages of Passport: • Passport can be automated using QTP v10.0. • Supports HLLAPI dll. We can make use of all the method (getcursor position or set cursor position) on QTP to automate Unix commands and it is easy to identify the success or error messages while running the shell scripts in Unix. Disadvantage:- • Passport is not a open source tool hence amgen should buy the tool. Thanks, Vinod Kumar K Hi Basanth, Can you please share "java's javacraft package to connect to unix environment" ? Thanks Vinod |
« Next Oldest | Next Newest »
|
Possibly Related Threads… | |||||
Thread | Author | Replies | Views | Last Post | |
Downloading files from Unix server | elango87 | 0 | 3,295 |
12-13-2012, 06:25 PM Last Post: elango87 |
|
Connect QTP 10.0 with Unix | phabloxar | 1 | 3,421 |
09-20-2012, 09:32 PM Last Post: phabloxar |
|
How to read a unix flat file from a unix server using QTP | vinayjames.b05 | 3 | 9,574 |
06-18-2012, 11:12 PM Last Post: gunaseakaran |