What can happen if the screen resolution changes during test execution when using the coordinate method?

Prepare for the Tricentis Tosca Automation Specialist Level 1 (AS1) Test. Enhance your skills with multiple choice questions and explanations. Be exam ready!

Multiple Choice

What can happen if the screen resolution changes during test execution when using the coordinate method?

Explanation:
Coordinate-based recognition relies on fixed pixel positions on the screen. Those positions depend on the current screen resolution and scaling, so if the resolution changes during test execution, the same x,y coordinates can point to a different place (or nothing at all). As a result, the test may fail to locate the control because the UI has shifted. This method doesn’t automatically adapt to a new resolution, and while reconfiguring anchors is a different approach to make recognition more robust, the coordinate method itself doesn’t handle resolution changes. To avoid this, tests often keep the same resolution, or use more robust techniques like anchors or relative positioning within a window.

Coordinate-based recognition relies on fixed pixel positions on the screen. Those positions depend on the current screen resolution and scaling, so if the resolution changes during test execution, the same x,y coordinates can point to a different place (or nothing at all). As a result, the test may fail to locate the control because the UI has shifted.

This method doesn’t automatically adapt to a new resolution, and while reconfiguring anchors is a different approach to make recognition more robust, the coordinate method itself doesn’t handle resolution changes. To avoid this, tests often keep the same resolution, or use more robust techniques like anchors or relative positioning within a window.

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy