Having trouble getting your scripts to handle objects with changing text or property values? Or concerned about automating portions of your application with dynamic text?
The Squish Object Map lets you adjust entries to better handle those ever changing objects!
Incorporating a wildcard or regular expression in an object’s property value within the Object Map, instructs Squish to look for the object, however match the adjusted property based on the updated criteria.
For example, does a portion of text in the title bar of your application change regularly? No problem! Change the ‘text’ property value of the title bar object to either search for the constant portion of the text, followed by a wildcard, or search the entire text of the title bar using a regular expression matching the dynamic portions of the text.
Checkout a more detailed example and steps as well as other related articles here: Adjust object names for objects with changeable texts early