- Subscribe to RSS Feed
- Bookmark
- Subscribe
- Email to a Friend
- Printer Friendly Page
- Report Inappropriate Content
Viewing Session Templates and Packages
|
Session templates and packages that have been applied to a test clip show within that clip in the Clip Editor > Properties tab on the lower panel.
|
|
|
|
Clip-Level Custom Properties
All of the properties created by the Session Template Package wizard are shown. The values are blank so that the extracted values can be inserted at runtime. |
|
Message-Level Property Paths and Property Sets
|
|
|
|
Session templates use Property Sets to store values for use in a subsequent message. Depending on the test clip these values can be inputs such as the text inside of a table cell, regular expressions, or even complex values such as the result of a JavaScript expression. Whenever the lower panel “Selected: MessageName” tab is active, Property Sets can be viewed via the Property list, Property Sets node (). |
|
|
When the top Property Sets node is selected, all of its children are displayed in the panel on the right. Use the scroll bars to view the entire set, or select any item under Property Sets to view it. In the example above an Output Field was retrieved from an HTML (HTTP) response using XPath and then stored in a custom property by name with the test clip as Owner. |
|
Testing the Property SetCloudTest now includes the ability to test out XPaths and SubStrings for a property set on both the recorded response and on the played response. For example, this feature provides the ability to change an XPath or SubString if the page changes so that the original XPath or Substring continues to return the proper variable. Testing the Recorded Response for a Property Set
|
|
In the shot on the right, Show xpath has been clicked to display the XPath for the selection. |
|
| The operation section for the given item displays on the right. |
|
|
|
Testing the Played Response for a Property Set
|
|
|
|
|
The operation section for the given item displays on the right. |
|
|
|
|
|
|
When you do so, the Message Editor switches to the results tab and the message response is displayed once it is received.
|
|














