Query datapoints in a graph

Technology specific object identification, supported applications, web technologies, and 3rd party controls.
joebartt
Posts: 14
Joined: Wed Oct 05, 2016 12:45 pm

Query datapoints in a graph

Post by joebartt » Thu May 18, 2017 7:23 pm

Is there a way to query all of the datapoints displayed in a graph? I would like to query the same info from a database table and compare the results for a validation test.

Thanks,
Joe

Vega
Posts: 222
Joined: Tue Jan 17, 2023 7:50 pm

Re: Query datapoints in a graph

Post by Vega » Thu May 18, 2017 8:49 pm

It depends on what kind of accessibility the graph provides. If the graph makes these values easy to read with accessibility, this should be no problem. If the graph is basically just a flat image,you may have to resort to image validation. It's hard to say without seeing a snapshot of the graph itself.

joebartt
Posts: 14
Joined: Wed Oct 05, 2016 12:45 pm

Re: Query datapoints in a graph

Post by joebartt » Fri May 19, 2017 12:34 pm

snapshot of graph attached.

btw I am experimenting with the .find method to create the query.
You do not have the required permissions to view the files attached to this post.

joebartt
Posts: 14
Joined: Wed Oct 05, 2016 12:45 pm

Re: Query datapoints in a graph

Post by joebartt » Fri May 19, 2017 12:57 pm

Just clarifying something mentioned in a previous post. FindChild, FindChildren, FindDescendant and FindDescendants are all obsolete methods replaced by .Find, correct?

krstcs
Posts: 2683
Joined: Tue Feb 07, 2012 4:14 pm
Location: Austin, Texas, USA

Re: Query datapoints in a graph

Post by krstcs » Fri May 19, 2017 2:26 pm

That is correct. All FindXXXX<T>() methods are deprecated in favor of Find<T>().
Shortcuts usually aren't...

joebartt
Posts: 14
Joined: Wed Oct 05, 2016 12:45 pm

Re: Query datapoints in a graph

Post by joebartt » Fri May 19, 2017 5:45 pm

Ok, so I need to use the .find method to get the datapoints by searching for the proper adapter type? Is there a comprehensive list of adapter types with descriptions somewhere (besides in the method)?

jma
Posts: 107
Joined: Fri Jul 03, 2015 9:18 am

Re: Query datapoints in a graph

Post by jma » Mon May 22, 2017 11:49 am

Hi joebartt,

You can find this information in the API documentation.

First, open the documentation for Ranorex.Adapter. At the end of the page you'll find a list called 'Inheritance Hierarchy'. This list contains all inherited classes.

I hope that helps.