Data Driving Dialog Box
Relevant for: API testing only
Enables you to populate the input property and checkpoint values for a step, with data expressions.
To access |
|
Relevant tasks |
The following elements are included:
UI Elements |
Description |
---|---|
Data Provider |
The source type of the data: Excel or XML. |
Data Driven Section - for Input/Checkpoint properties |
The type of properties upon which to apply the data driving. These options are available when data driving standard input and output checkpoints properties.
Note: Activities that do not have output parameters, such as Report Message and System type activities, will only show the Input option. |
Data Driven Section - for Request/Response |
The schema to data drive. These options are available when data driving XSD schema files for an HTTP, SOAP Request, CoAP, or REST step.
Note: These options are only available after importing a schema into the Input and/or Checkpoints sections. |
Data Driven Section - for SOAP Fault properties |
Fault Properties. The SOAP Fault properties to data drive. This option is available when invoking data driving in the Properties pane's SOAP Fault view. Note: These options are only available for Web Service and SOAP Request steps. |
Data Driven Section - for Multipart properties |
The multipart properties to data drive. These options are available for an HTTP step with a multipart message.
|
Use the same data source for both sections |
Uses the same data source for the Input/Checkpoint properties or Request/Response body. When selected, UFT One creates a single Excel worksheet with columns for both the Input and Output properties. For example, for the sample application's CreateFlightOrder step, UFT One creates a single worksheet with columns for the Input properties: Class, CustomerName, DepartureDate, FlightNumber, NumberofTickets, and the Output properties: OrderNumber, and TotalPrice. Note: This option is available only when selecting the Both option, for an Excel Data Provider type. |
Configure 'Test Flow/Loop' as a ForEach loop using the new data source |
Runs the steps in the Test Flow or Loop using a For Each type loop, with the values from the newly created data source. The number of iterations is determined by the number of rows in the data source—it performs one iteration for each row. This setting is applied to the innermost loop containing the data-driven step. Note: This option overrides the configuration that you may have set for the Test Flow/Loop settings. |