I have a requirement to automate ksh script which is located in remote linux server. The shell script is used to call PL/SQL script. I have done automation of PL/SQL scripts but for this requirement i can't run PL/SQL directly since it requires root privilege. Manual testing team uses putty to run ksh file and also they need to use sudo su to run it with root privileges. I tried putty and plink command line utilities and i was able to automate it to some extent but i got stuck in automating sudo su command as it prompts for a password. Has anyone of you automated sudo su command using devtest? Could you please help me if there is any other approach?
Please refer my last comment in the following post to understand the issue in detail.