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

RadCartesianChart - TrackBallInfoContro

3 Answers 7 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Peter
Top achievements
Rank 1
Peter asked on 03 Apr 2017, 11:23 AM

Hi, 

I need to get a value from this Chart. Can somebody tell me about that how can I get a value?var rCC =

riskAnalyzer.Manager.ActiveApplication.MainWindow.Find.ByName("RadCartesianChart");

3 Answers, 1 is accepted

Sort by
0
Nikolay Petrov
Telerik team
answered on 06 Apr 2017, 08:32 AM
Hello Peter,

Thank you for the screenshot provided. 

Would you provide further information on the location of this element in the DOM. A screenshot of it in the DOM tree would be helpful.

Regards,
Nikolay Petrov
Telerik by Progress
 
Quickly become an expert in Test Studio, check out our new training sessions!
Test Studio Trainings
 
0
Peter
Top achievements
Rank 1
answered on 06 Apr 2017, 08:38 AM

Hi, 

I get the value :) 

            var rCC = riskAnalyzer.Manager.ActiveApplication.MainWindow.Find.ByName("RadCartesianChart");
            rCC.User.Click(MouseClickType.LeftClick, 1000, 20, ArtOfTest.Common.OffsetReference.TopLeftCorner);
 
            var grid = riskAnalyzer.Manager.ActiveApplication.MainWindow.Find.ByName<Grid>("Grid");
            Console.WriteLine(grid.TextBlockContent);

Results: Accounting 97.2%

But here I get only the value of fist row. How can I get all values in Grid ?

0
Elena
Telerik team
answered on 06 Apr 2017, 03:30 PM
Hi Peter,

Let me please interfere into this thread since I noticed your query duplicates the one listed in another forum post of yours. Please refer to it here for further details. 

Thanks for your understanding! 

Regards,
Elena Tsvetkova
Telerik by Progress
 
Quickly become an expert in Test Studio, check out our new training sessions!
Test Studio Trainings
 
Tags
General Discussions
Asked by
Peter
Top achievements
Rank 1
Answers by
Nikolay Petrov
Telerik team
Peter
Top achievements
Rank 1
Elena
Telerik team
Share this question
or