Ask a Question

Dependency on coordinate clicks on WPF View Control - Query

SOLVED
Rakeshyadav09
Occasional Contributor

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.

2 REPLIES 2
tphillips
Frequent Contributor

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


--------------------
Senior SQA Automation Engineer
AlexKaras
Champion Level 2

Hi,

 

TestComplete cannot identify the elements inside this WPF View Control.

Generally speaking, WPF applications should be open for TestComplete.

Can you talk to developers and ask them if the problematic control is the composite one?

https://support.smartbear.com/testcomplete/docs/app-testing/desktop/wpf/template-support.html

 

Regards,
  /Alex [Community Champion]
____
[Community Champions] 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 Champions]
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 Champion] signature is assigned on quarterly basis and is used with permission by SmartBear Software.
https://community.smartbear.com/t5/Community-Champions/About-the-Community-Champions-Program/gpm-p/252662
================================
cancel
Showing results for 
Search instead for 
Did you mean: