The Choose Random HTML Attribute filter lets you store the text of a random selection from a set in a property. The attribute can occur anywhere in the result, including scripting code.
Complete the following fields:
The name of the property to consider as the last response for the step. If the property is not in the pull-down menu, you can enter it. The property must exist.
The outer element that contains the list from which to pick. For example, to select a drop-down list, enter the text "select".
The occurrence of the outer tag. For example, to select the second drop-down list, enter the text "2".
The tag to pick the attribute from, randomly. To pick a random item in the drop-down list, enter the text "option".
An optional field to specify attribute names to exclude from the pick list.
An optional field to specify attribute values to exclude from the pick list.
The attribute from which to retrieve text. If this field is blank, the child text of the inner tag is returned.
The property to store the text of the attribute.
Displays the property and values that result from running the filter.
To run and execute the filter, click Run Filter. The results appear in the Filter Run Results section.
Copyright © 2014 CA Technologies.
All rights reserved.
|
|