- Open the Task Editor from Tools -> Task Editor
- Double click on the 'Prompt for file'
- Enter the desired caption.
- Enter the custom message for the user to feed in the
file.
- Assign the value to a list variable from the list.
- Expand the 'Loop' command and double click on
List'.
- Select the list variable which you assigned to the
file.
- Double click on 'Insert Keystrokes' command.
- Select the window tile from the list of the file in
which data is to be entered.
- Type your data which you want to insert in
to the file.
- Click on 'Save' button.
Note: This is a procedure for a single file. You can do
the same for multiple files. You will just have to check on 'Enable this
task to run with similar window titles/files' under 'General Tab' under 'Properties'
menu.
Example 2: Prompt
for the folder which contains the setup files
(setup.exe).
- Open the Task Editor from Tools -> Task Editor
- Double click on the 'Prompt for folder'
- Enter the desired caption.
- Enter the custom message for the user to select the folder.
- Assign the value to a value variable from the
list.
- Click 'Save' button.
- Double click on 'Open Program/File'.
- Insert the variable to which the value of the folder
was assigned followed by '\setup.exe' in the Program/File path.
- Click 'Save' button.