Execute Shell Scripts from Parasoft SOATest Tool
Hi,
I have to execute few shell script commands using GIT BASH to encrypt and decrypt key. I tried to automate this using SOATest tol. I have added external tool and passed the path of git bash as below
After this GIT bash is opened, I want to type few commands automatically like below:
ssh userID@10.1XX.52.XX -p 22
I passed this value in input section. But I don't see this command getting typed in the bash command prompt. Could you please guide me how to type this command in the opened prompt and also how to pass next few lines of command for typing the password and capturing the key that got generated.
Comments
-
What you are trying to do would only work if you can pass the commands as command-line arguments to git-bash. The External Tool simply runs the executable, passing along any arguments that are specified in the table.
0 -
As an argument to your bash.exe, I would pass the path to a script containing the commands you want bash to execute. Either that, or create multiple External Tools, one for every command you want executed.
0