User-Defined Database Property Sets using Substring

Use the following steps if the default, Substring, was chosen above.



How to

  1. Specify the Leading Text before the string by selecting it and clicking Insert Selected on that row. This will include it in the string search.
  2. Specify the Trailing Text after the string by selecting it to include and clicking Insert Selected on that row. Using Trailing Text will further delimit the sub-string search.
  3. Optionally, specify the value length to search.
  4. Accept the default Multi-Match, all value(s), or select from any of the following values:
    • the first – Use the first value matched
    • the last– Use the last value matched
    • specific index - Pick the nth value, where n is entered. When specific index is selected, an entry field appears for the user to specify the nth value. Indexes start at 1. 0 is not allowed.
    • one at random - Randomly pick one of the matched values to populate the property.
    • all values – The all values field will place all values into a non-array. This option has the functionality formerly found in the pre-CloudTest 50 "all values (array)" field--only the label has been changed. If the match will necessarily be an array, use all values (array) instead
      • all values (array) – This field is new as of CloudTest 50, but uses the old label all values (array). This "new and improved" version of all values (array) will always create an array (whereas prior to CloudTest 50 using the field with this label did NOT always create an array).
  5. Specify the No Match failure action from among:
    • fail the Clip Element
    • return null
  6. If the property to store the extracted value doesn't yet exist. Create it now, before proceeding. the Click Property to set to access the Property Chooser box. If the property to store the extracted value doesn't yet exist, create it here by Manually If you're creating a custom property, you can also do so in advance of creating your property set so that you can select it here.