How do I-UFT

I am very new to UFT, and would appreciate any assistance. I am trying to automate a process in which a batch file is run , and the user must provide input to the file.  How would i automate that?

For example, the file is called dog.bat

when it runs it will ask "what is your name"?

then the user provides their name.

Then the prompt will ask "are you sure, y or n"

then the user presses N.


is it possible to automate this? I can get the batch file to run by doing the follwoing "C:\Desktop\dog.bat"

but do not know how to automate the user input.


Thanks in advance :)


Parents Reply Children