Forum Discussion

Rakeshyadav09's avatar
Occasional Contributor
4 years ago

Dependency on coordinate clicks on WPF View Control - Query

We have a desktop application. In our desktop application, we have the View Control panel of WPF. This panel has a diagrammatic interface. We are using coordinate clicks to automate the steps on this WPF View Control because TestComplete cannot identify the elements inside this WPF View Control.


The development team increased the height of this WPF View Control panel by 1px to fix an issue in the application. So, all the coordinate base clicks we are using in automation testing are impacted because of this change.


Is there any way to fix this problem without needing to update the coordinates? Please suggest.


Thank you.

  • The easiest way to do this would be to use variables to define the coordinate positions, or have some sort of universal offset that you apply to all coordinates

2 Replies