Unable to locate elements in GeoLocation(Map View)

1 Answer 68 Views
Test Recording WPF Testing
Sreelakshmi
Top achievements
Rank 1
Iron
Iron
Sreelakshmi asked on 22 Feb 2023, 12:05 PM

Issue :

Unable to locate elements in geo location.

Scenarios :

  • We have  a pre placed Device on the map  that needs to be clicked on irrespective of the location.
  • Telerik identified the elements for the first time when we click, but when the location changes of the devices does not gets identified by Telerik.

Additional Informations:

Application is built with WPF.

 

1 Answer, 1 is accepted

Sort by
0
Elena
Telerik team
answered on 22 Feb 2023, 04:50 PM

Hello Sreelakshmi,

Thank you for describing the encountered issue in details - this explanation is really helpful. 

Here are some notes about elements in Test Studio - these are being identified in the tested app through the element's find exoression. I guess that you will need to modify the automatically generated find expression for that element and use something which is unique only for it - this could be name or text content, for example. (Here is a list of the XAML element attributes)

Please, check if you can set a find expression which will be independent from the element's location and give it a try on the test runs. Let me know if that worked for you. 

Regards,
Elena
Progress Telerik

Virtual Classroom is the free self-paced technical training portal that gets you up to speed with Telerik and Kendo UI products including Telerik Test Studio! Check it out at https://learn.telerik.com/.
Tags
Test Recording WPF Testing
Asked by
Sreelakshmi
Top achievements
Rank 1
Iron
Iron
Answers by
Elena
Telerik team
Share this question
or