Completed
Last Updated: 02 Dec 2013 15:43 by ADMIN
Smita
Created on: 26 Nov 2013 09:54
Type: Bug Report
0
unable to created recorded autoamtion test case for wpf application with deep control hierarchy
Hi,

Our project is using .net framework, Telerik and WPF controls 
I wanted to automated the functional  test cases of the application. I  tried VSTS coded UI test ,but  it requires lot of C# coding and it fails to locate element as our application is  having deep wpf and telerik control hierarchy.
So I  tried to use telerik test studio but with test studio alos I m  getting  error
as follows, please  help
----------------------------------------------------------------------------------------

'2013-11-26 3:05:19 PM' - 'Fail' : 9. Verify image of 'Item21Image'. Allow 1% error tolerance.
------------------------------------------------------------
Failure Information: 
~~~~~~~~~~~~~~~
Unable to locate element. Details: Attempting to find [Wpf] element using 
Find logic 
 (Wpf): [automationid 'Exact' CellElement_0_0] AND [XamlTag 'Exact' canvas][XamlPath 'Exact' /contentcontrol[0]/stackpanel[automationid=CameraControl]/contentcontrol[0]/grid[0]/image[2]]

Unable to locate element. Search failed!

Learn more about finding elements here:
http://www.telerik.com/automated-testing-
1 comment
ADMIN
Konstantin Petkov
Posted on: 02 Dec 2013 15:43
Hello,

The deep XAML hierarchy should not be a problem. Please contact the support team (submit a support ticket from your telerik.com account) so that they can help you further. It will help if you can also send them a sample test they can run locally to be able to identify the problem shortly and get back to you with suggestions on how to overcome the problem.

Regards!