Page 1 of 1

Click on a dynamic graph

Posted: Fri Sep 06, 2013 11:02 am
by jrob3rts
Hi All,
I've very new to Ranorex, and am trialling right now.
So, my issue. I have a graph displayed on the screen, this is dynamically created and I need to click on the first item within the graph for a subsequent action to occur.

The first item which I am clicking has an ID of: KPISummaryChart-graph-id0-plotset-plot-0-node-0
If I make a change and the graph dynamically updates, it still has the same id.

However the Coords value changes from 35,26,111,34 to 35,26,133,34. Not sure if that is the issue, but it's sticking out like a sore thumb.

All I want to do it click the item with an ID of KPISummaryChart-graph-id0-plotset-plot-0-node-0. Any idea how I do that without it checking the the item length or whatever else is causing issues.

Hope that makes sense.

James

Re: Click on a dynamic graph

Posted: Mon Sep 09, 2013 3:41 pm
by Support Team
Hello,

I am not exactly sure what the issue is. Is Ranorex not able to click the item after it has changed the Coords?
Changing the Coords should not be an issue if there is a unique ID.
Could you please make a Ranorex Snapshot from the item before you click on it and one after the click?
Please read the section "Creating Ranorex Snapshot Files" in order to get more information how to create a snapshot file.
Thank you!

Regards,
Bernhard

Re: Click on a dynamic graph

Posted: Fri Sep 13, 2013 2:32 pm
by jrob3rts
Hi,
For some odd reason, this seems to have resolved itself. if it raises again, I'll let you know.
Very odd.

James