Property Sets in a Browser or App Action

Document created by DPM Admin Employee on Jul 20, 2017Last modified by Jijius Jabez on Aug 10, 2017
Version 2Show Document
  • View in full screen mode

Property Sets provide the ability to take text or data from the Web page or mobile app that you are testing and store it in a custom property for use in a subsequent action.

Using Property Sets you can store the value of an input, the text inside of a table cell, or even complex values such as the result of a JavaScript expression for later use.

Property Sets can be defined for both browser or app actions (as well as for messages) via the lower panel Action Editor for a given action by selecting the Property Set node in the tree. Click the green Plus icon to add a property set if it does not already exist. For an example of using a property set in a message instead of a browser action, refer to Manual Redirection using a Property Set.

Browser action property sets consist of the selected command, the parameters of the selected command, and the property to store the value in.

Adding a Property Set to an Action

    1. IIn the Expanded view, use the mouse to hover over the clip element. or in the lower panel, click the Property Sets  icon.

The Clip Editor, List view for an expanded action (or one of its accessors), corresponds to the lower panel for the same action. If no property sets are attached to the expanded selection, then no property set has been added.

    • Alternately, to open an action in the lower panel, select and then double-click it.
  1. Click the Add toolbar, Property Set icon on the Add toolbar to add a new property set to the selected action in List view. When you do so, a new Property Sets form appears.

The Command drop-down presents the list of available property sets to store. Select from among the available property sets or manually enter the property to set (i.e. clipProperty).

 

  1. Where required, enter a Locator. To do so, first check the Locator drop-down to see if the locator was captured during recording or if to add a locator manually via the <Add New> item. Note that the Locator icon is only active while in record mode. After ruling out the first two options, enter Record mode and then use the Locator icon to repopulate the Locator list.
  2. To choose the Property whose value you want to set, click the Property Chooser button to the right of Property to set field.
  1. The Property Chooser dialog will appear. Create a new custom property or choose an existing property from those listed in the Property Chooser.

Editing a Property Set

A Property Set provides the ability to take text or data from the Web page or mobile app that you are testing and store it in a custom property for use in a subsequent action.

Using Property Sets you can store the value of an input, the text inside of a table cell, or even complex values such as the result of a JavaScript expression for later use.

  1. Locate the Property Set  and expand its attributes.

If a Locator has been specified for a property set then the Property icon is active. You can combine locators with expressions selected from among available property values using the ISSE Editor.

Attachments

    Outcomes