Script to bypass user input automatically

reactancexlreactancexl Posts: 78

I need to call a executable that requires entering a password manually after it is executed. What I want to do is use the external tool to pass in 2 parameters which one of them is the value the executable prompts. I need this to run automatically by entering the password automatically. Has anyone done this type of scenario? I am open to extension tools also. thx



  • benken_parasoftbenken_parasoft Posts: 348 ✭✭✭
    edited January 11

    It depends on how the executable can read those two parameters. If the executable can read them as command line arguments then you can try adding them to the External tool's flag/argument table. Otherwise, if the executable reads those parameters from the standard input (stdin) then you can try putting your arguments in the External tool's Input tab. The standard input (stdin) is typically how a process reads keyboard input, for example.

Sign In or Register to comment.