New to Telerik Test Studio? Download free 30-day trial

Click Action is Offset

Problem

When executing a test with real user actions, like SimulateRealClick, SimulateRealTyping or desktop click, the click action is offset. As a result the expected button is not triggered, or text is not entered in the input field, and the test fails.

Click Offset

Solution

  1. Calibrate your browser. Test Studio tests are meant to always be run with the browser zoom level at 100%.

  2. Set the monitor's DPI setting at Smaller or 100% as well.

Windows 10

  1. Go to Control Panel -> Appearance and Personalization -> Display

  2. Click on set a custom scaling level (refer to the highlighted)

  3. Select 100% from the dropdown

win 10

Windows 8

  1. Go to Control Panel -> Appearance and Personalization -> Display

  2. Check Let me choose one scaling level for all my displays check box

  3. Select Smaller - 100% and click Apply

win 8

Windows 7

  1. Go to Control Panel -> Appearance and Personalization -> Display

  2. Select Smaller - 100% and click Apply

win 7

In this article
Not finding the help you need? Improve this article