I want to execute shell scripts .sh & .ksh present on unix server using QTP 11 on windows local machine. I tried using plink,but the scripts are not executing.
Also, someone please share the code to make QTP tool wait till shell script execution is completed. It is critical & ******. Please some one help me. How do we check shell script executed.
you need to write your own code.. we have used extra putty and we read the text values from the putty. We write a code where it iterates untill the putty displays the expecting text.
when things gets harder ,the harder gets going
i have written code using plink to execute shell script.It is not working. I have used wscript.shell object. Please some one share the code to execute shell scripts on unix server from QTP on windows machine
Do you mean to say that the Shell Script works fine when you execute it manually, without QTP but fails with QTP?
Originally Posted by bhaktaqa123
i have written code using plink to execute shell script.It is not working.
I've used Plink from QTP before, show your code, if it fails indicate where.
Are you willing to explore STAF framework? If so please let me know.