RadCartesianChart - TrackBallInfoContro

4 posts, 0 answers
  1. Peter
    Peter avatar
    17 posts
    Member since:
    Mar 2017

    Posted 03 Apr 2017 Link to this post

    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");

  2. Nikolay Petrov
    Admin
    Nikolay Petrov avatar
    308 posts

    Posted 06 Apr 2017 Link to this post

    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
     
  3. Peter
    Peter avatar
    17 posts
    Member since:
    Mar 2017

    Posted 06 Apr 2017 in reply to Nikolay Petrov Link to this post

    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 ?

  4. Elena Tsvetkova
    Admin
    Elena Tsvetkova avatar
    938 posts

    Posted 06 Apr 2017 Link to this post

    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
     
Back to Top