This is a migrated thread and some comments may be shown as answers.

Coded UI + RadCartesianChart

3 Answers 12 Views
Chart
This is a migrated thread and some comments may be shown as answers.
Peter
Top achievements
Rank 1
Peter asked on 31 Mar 2017, 11:44 AM

Hi, 

I would like to ask how can I find RadCartesianChart on Visual Studio 2015 + Coded UI Test. 

http://www.telerik.com/teststudio/visual-studio-testing-plugin-benefits - This is same example for Grid. 

I try his but I can't have that option Find.ById

RadCartesianChart radCartesianChart = Find.

3 Answers, 1 is accepted

Sort by
0
Milena
Telerik team
answered on 05 Apr 2017, 07:54 AM
Hello Peter,

Before I answer your question I would like to ask you which type of testing you are using, because you have written Coded UI , but also send a link and a picture with code-snippet for TestStudio and Telerik TestingFramework? And also how you are using it - you have installed via plug-in for Visual Studio or you have installed the whole TestStudio product?

If you are using the Telerik TestingFramework, then you can choose how to find it - by name, by id, etc. You can find more information in our help article Getting started with WPF UI Automation

If you are using Telerik UI for WPF and Telerik TestingFramework you can also take advantage of the integration between there products and have built in types of RadCartesianChart, RadGridView and their properties. 

I'm looking forward to your reply. 

Regards,
Milena
Telerik by Progress
Want to extend the target reach of your WPF applications, leveraging iOS, Android, and UWP? Try UI for Xamarin, a suite of polished and feature-rich components for the Xamarin framework, which allow you to write beautiful native mobile apps using a single shared C# codebase.
0
Peter
Top achievements
Rank 1
answered on 05 Apr 2017, 08:50 AM

Hi, 
 I try this fork fine.

            var grid = riskAnalyzer.Manager.ActiveApplication.MainWindow.Find.ByName<Grid>("Grid");
            Console.WriteLine(grid.TextBlockContent);

My results:
Accounting 97.2%

But I get only firts value how can I get all vaules ?

Regards,
Peter

0
Milena
Telerik team
answered on 06 Apr 2017, 03:27 PM
Hello Peter,

I saw that there is a duplicate post in Testing Framework Forum on the same topic. This is why I will close this one and we will answer your questions in RadCartesianChart - TrackBallInfoContro forum post. 

I would ask you to keep the communication for a particular topic in a single thread. This way we will be able to track the issue easier, organize our communication history better and assist you in a more convenient manner. We appreciate your understanding in this matter.

Regards,
Milena
Telerik by Progress
Want to extend the target reach of your WPF applications, leveraging iOS, Android, and UWP? Try UI for Xamarin, a suite of polished and feature-rich components for the Xamarin framework, which you to write beautiful native mobile apps using a single shared C# codebase.
Tags
Chart
Asked by
Peter
Top achievements
Rank 1
Answers by
Milena
Telerik team
Peter
Top achievements
Rank 1
Share this question
or