Dependency on coordinate clicks on WPF View Control - Query
SOLVED- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
Solved! Go to Solution.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
/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
================================
