Find and modify dialog
You use the Find and Modify dialog to search for test objects in a test object map based on a property, a value, or either. After the object is found, you can make several types of modifications to its properties and values.
The Find and Modify dialog has the following controls:
Find criteria:
- Quick Find
- Select to search a test object map for an object based on the property or value you enter.
- Find
- Enter the string you want to search for.
- Match Case
- Select to find only the text that matches the case of the string you entered in the Find field.
- property
- Select to search only properties for the text you entered.
- value
- Select to search only values for the text you entered.
- either
- Select to search properties or values for the text you entered.
- Find By Filter
- Select a filter to use for searching the test object map, to create or edit a filter, and to delete an existing filter.
- Filter
- Lists the names of all the active find criteria available. The default is Test Object is New, which searches the test object map for all New objects.
- Create
- Opens the Define Find Filter Properties dialog, which enables you to specify properties for a new set of find criteria.
- Edit
- Opens the Define Find Filter Properties dialog, which enables you to change properties for the selected find criteria.
- Delete
- Deletes the selected find filter from the list.
Modify actions:
- Action
- Select the modification to make to the test object: Add Property, Remove Property, Change Value, Change Weight, or Change Value and Weight.
- Property
- Select the property you want to add, delete, or modify.
- Value
- Add the value of a new property or edit the value of an existing property.
- Weight
- Enter a number from 0 to 100 to indicate the importance of the property when searching for it in an application-under-test. For more information about test object weight, see Using ScriptAssure(TM). Read-only properties do not have a weight.
- Next
- Finds the next test object in the map that meets the find criterion.
- Modify
- Makes the changes you specified in the Modify actions section and moves to the next test object that matches the find criterion.
- Modify All
- Applies the changes in the Modify actions section to all the test objects in the object map that match the criterion.