Won't Fix
Last Updated: 03 Sep 2015 10:34 by ADMIN
ADMIN
Cody
Created on: 27 Jul 2015 22:12
Type: Bug Report
0
Test Studio fails to find element in popup window of customer WPF app
1) Use the attached WPF sample application as the application under test
2) Create a new WPF test and configure it for the attached sample application
3) Start recording
4) Click the big "Display Second Window" button - this opens a new popup window
5) Click the text "Name0" in the popup window
6) Play back the freshly recorded test

Expected: The test to pass
Actual: The test fails on step 2 saying it cannot find element
Attached Files:
2 comments
ADMIN
Konstantin Petkov
Posted on: 03 Sep 2015 10:34
Another option is to disable the RadGridView automation peers in the application as explained in the related feedback item here:
http://feedback.telerik.com/Project/161/Feedback/Details/66317-issue-with-the-recorded-find-logic-of-textbox-in-a-wpf-application-for-gridview-i
ADMIN
Pavel
Posted on: 03 Sep 2015 10:10
Unfortunately this is a RadGridView automation issue we have no control over. Basically we detect AutomationId during recording but it is missing on playback. The work-around is to change the find logic to not use AutomationID - in this case use find logic like XamlTag=textblock,TextContent=Name0.