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.
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
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.
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).
- 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.
- To choose the Property whose value you want to set, click the Property Chooser button to the right of Property to set field.
- The Property Chooser dialog will appear. Create a new custom property or choose an existing property from those listed in the Property Chooser.
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.
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.