Completed
Last Updated: 10 Jan 2014 11:14 by ADMIN
ADMIN
Boyan Boev
Created on: 29 Oct 2013 09:54
Type: Bug Report
0
Test Studio records elements with incorrect IDs in a specific SL application
Steps to reproduce:

1. Navigate to http://demos.devexpress.com/democenter/Silverlight/?BarsDemo#Simple_Pad
2. Click on all align buttons successively (i.e. align center, right and left).
3. Playback the test.

Actual: The test is failing because Test Studio has recorded a wrong find expression (i.e. the ID of the parent element is incorrect).

Expected: All buttons are pressed.

The workaround is to change those IDs to the correct ones.
1 comment
ADMIN
Daniel Djambov
Posted on: 10 Jan 2014 11:14
Telerik: The problem is that the buttons have 3-states(NotPressed/Hovered/Pressed) and the visual tree changes between template switch. So when you hover for the click the template changes and the recorded element is then missing in playback. This is an old SL/WPF problem and requires the FEB to be changed - the second clause from:
 'BarCheckItemLink0bCenter'
 to:
 'bCenter'
 
Also a mouse hover on the element before the click also did the job.