Hi Squish Users!
Checkout the latest Squish Tip of the Week on our blog:
Squish tip of the week: How does Squish find objects?

A critical component to any automated gui testing solution is how objects are identified and interacted with

Squish uses the Object Map to store select properties, and their values or othe object real name, which is then referenced by scripts using a symbolic name.

Example: An OK button (see blog for example)


Should the Yes in the button change to Confirm or OK, simply update the property value in the Object Map, and no changes are required in your scripts.

In this case as well, the ‘window’ property value is dynamic, and can be handled with a regular expression or wild card from within the Object Map (or within the script directly) If using an image-based solution, such dynamic changes become a maintenance nightmare.

Changes to objects in an application are handled quickly and from a central location – no updating screenshots or
XPaths to objects (however XPath is supported as an option). Additional properties can be added, or undesired or unneeded properties can be removed from an object’s real name as well. The key is the extensive flexibility the Object Map profiles, along with the accuracy with which it can find and interact with objects.
Learn more about object vs image-based object recognition

Read more about how Squish finds objects below
- What is a symbolic object name?
- How Squish looks up Real Names from Symbolic Names
- Matching Objects with Changeable Texts

Request your free 30 day Squish evaluation
Learn more about Squish
Other Squish Resources (videos, tech articles, user communities and more)