Skip to main content

Squish tip of the week: Updating changed objects

Periodically (or frequently) objects change in applications. Having a time-efficient approach to updating your automated test suite is important.

The Object Not Found tool in Squish helps users update any changed objects by prompting the user for the new or changed object when tests are run from the IDE.

In the following scenario, a button with the text Add was changed to have the text OK in the new version
BDD Feature File

click to zoom

Implementation File

click to zoom

When the test ran, the Object Not Found tool appeared, indicating the object Squish was unable to find, and providing options to resolve

click to zoom

Using the Pick New Object button, you can select the updated object

click to zoom

Once selected, the new object properties appear next to the existing object properties for review

click to zoom

Click Retry to continue running the script with the new object properties

click to zoom

The updated object properties are automatically updated in the object map if the step passes, and all scripts using the same object do not need any updates

click to zoom

Should the updated object properties not resolve the issue, then you are returned to the Object Not Found dialog and can try additional troubleshooting options.

See the Object Not Found Tool Video Tutorial to learn more about the Object Not Found tool.

Comments

    The Qt Company acquired froglogic GmbH in order to bring the functionality of their market-leading automated testing suite of tools to our comprehensive quality assurance offering.