Preselecting a file to read, Prompting at runtime for a file to read – MTS Multipurpose Elite User Manual
Page 467
Description
Property
The File Name of the XML file that contains the
variables to read. If the file is not defined as a
variable, the Update from File button is available.
File Name
Required if not prompting at runtime for a file.
Updates the variables to read from the specified File
Name.
Update from File
Note:
If the Prompt at Runtime for File Name
check box is selected, or the File Name is
defined as a variable, the Update from File
button is disabled.
Select to ignore specified variables that are missing
from the file so they are not logged as errors.
Ignore Missing
Variables
Lists the selected variables to read from a file.
Variable List
Preselecting a File to Read
To pre-select the file from which to read variables without operator intervention during a test run:
1. Add a Read Variables From File activity to the desired location in the test workflow.
2. If you do not want to use the default location, browse to the desired Folder Path where the XML file to
read is stored.
3. Enter the File Name of the XML file for the MTS TestSuite application to read.
4. Add variables to the Variable List:
•
To add all the variables specified in the XML file, click Update From File.
•
To add specific variables, click the plus (+) icon and select specific variables as desired.
Prompting at Runtime for a File to Read
Follow these steps to configure the Read Variables from File activity to prompt an operator at runtime
for the selected file name. By default, the select window filters by the .xml extension but an operator can
select any file type.
1. Add a Read Variables From File activity to the desired location in the test workflow.
2. Select the Prompt at Runtime for File Name check box. During a test run, the operator is prompted
to select the file name from which to read variables.
•
If an operator selects an invalid file, a prompt appears to select another file.
•
If the selected file cannot be parsed by the MTS TestSuite application, an error message is logged
and the operator can continue with their workflow.
MTS TestSuite | 467
Test Activities