When a test step is selected, this tab is displayed. You can use the tab to specify input and checkpoint properties for the selected test step.
The tab's user interface elements are described below (unlabeled elements are shown in angle brackets).
UI Elements
|
Description
|
<properties list>
|
A list of all available properties. The fields differ per step type:
-
For most activities: The activity's Input properties.
-
For Web Service, REST Service, and WADL methods:
- the properties as designed in the WSDL or WADL file (for Web Service or Web Application methods),
- The custom input or output properties defined for your REST method in the REST Service editor. For details on creating input or output properties for REST Service methods, see Define custom properties - optional.
|
<checkpoint list>
|
A list of the step's output properties/parameters, displaying the following columns:
-
Checkpoints. A list of the output properties/parameters.
-
Validate. When selected, UFT One validates the current output properties/parameters when running the step. When cleared, UFT One does not check the output properties/parameters.
-
Expected Value. The expected value for the output parameter. Select the down arrow to view a drop down list of comparison operators, number scrolling, and boolean values. You can also manually enter the expected value into the cell.
Additional checkpoint properties include:
-
Trim whitespace (from start and end of string). Removes whitespace before and after the text.
-
Ignore case. When looking for a match, ignores the case.
-
Stop test if checkpoint fails. Exits the test run if the checkpoint fails. You set this individually for each checkpoint.
Note: You must click on a row in the Checkpoint section to see these properties. The first two properties are available only for string data types.
|
<checkpoints list> (available for- Web Service and SOAP Request steps)
|
Checkpoints options for Web Service and SOAP request steps include:
-
Send request to service. Sends the step's request to the service when running the test. This is the normal behavior for Web Services and most types of actions. It is enabled by default.
Note: To send messages using JMS transport, clear this check box. Link a subsequent JMS step to the output of this step. For Web services, you can set the security settings and include attachments, and send this over JMS.
-
Validate Structure. Validates that the service's response—either for the response defined in the operation or a SOAP Fault response-- is in conformance with the schema defined in the imported XSD for the service. The run results indicate whether or not the validation succeeded.
Note: This checkpoint does not validate the XML schema values, just the tags of the XML schema
This option is available only when the Send request to server option is enabled. It is enabled by default.
Note: If you modify the elements in the response, this will not affect the response schema. For example, adding array elements, selecting specific Choice elements, changing the derived type, affect only the response—not the schema. To validate the element values, specify expected values in the Value column or use an XPath expression.
- Validate WS-I. Adds a checkpoint to verify that the SOAP response in compliance with WS-I standards. The run results indicate whether the response was in compliance. It also provides a View Report link that opens the WS-I Validation report in a separate window.
|
<XPath checkpoint options> (available for steps with XML output properties)
|
For steps with XML output properties (such as String to XML), the following additional options are relevant:
-
XML tab. A grid representation of the response's schema. In this section you can enter the expected response values. Use the following options to enter your XML:
-
Import Schema. Imports a schema for the XML response.
-
Load XML. Loads an XML file as a basis for the schema of the response.
-
Clear. Removes the displayed schema.
-
XPath tab. A list of XPath expressions used to evaluate the XML response. Use the following options to use XPath expressions:
-
Adds a line for a new XPath expression.
-
Removes the selected XPath expression.
-
Ignore namespaces: Ignores namespaces in the XPath validation, allowing you to use simple XPath expressions. For details, see Set XPath checkpoints.
|