Ask a Question

TestComplete scripts are failing with Different Screen Resolutions.

Occasional Contributor

TestComplete scripts are failing with Different Screen Resolutions.



I have the below query related to TestComplete:


 I have created Testcomplete scripts with Machine Screen Resolution lets say (1366 *768) and I am able to run the scripts successfully and the same scripts are failing if another user trying to run the scripts with different screen resolution.


Query: Is there is any impact in Results if there is a change in Screen Resolution. Would be great full if anyone confirm on this.

Community Hero

Yes, if you are using screen coordinates in your test, then they are likely to fail on different screen resolutions.  You should be working with objects rather than coordinates.

[Community Hero]
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
SmartBear Alumni (Retired)

Thank you Marsha!


Hi @thoshima ! Does this answer your question?

Sonya Mihaljova
Community and Education Specialist

Frequent Contributor

if your screen resolution are changing please fixed the application sized on the launch so try to use some common size in which you have recorded the script.

Window.Position(0, 0, 1366 ,768); // this is to fill all standard recommended display screen

Occasional Contributor

Thank You so much everyone.


I got the solution for this and instead of x,y coordinates, I have provided calculative coordinates ie., Object identification using unique properties and now my script is working fine.


@anupamchampati - Yeah I will try this way as well. Thanks

Showing results for 
Search instead for 
Did you mean: