Showing results for 
Show  only  | Search instead for 
Did you mean: 

Select data pont in chart where the CSS name changes

I'm trying to setup a Browser synthetic test that selects a value in a chart that is displayed.  When I record the test I see the selector as for example #highcharts-ugkagd6-18 svg g:nth-child(11) g:nth-child(2) path:nth-child(2) but then when I try to playback that name doesn't exist and it generates a new name. 

This is an example of the chart that I'm trying to just open any data point in the chart which should pop up another window.



Any help would be greatly appreciated.




DynaMight Legend
DynaMight Legend

@michael_joseph_ are you using browser click paths for this? 


Dynatrace Leader
Dynatrace Leader

For locators with a dynamic id, the monitor will need to find the element using a different method. Is there something about the element that never changes? Usually there are other tags we can use to select the element instead. 

Synthetic SME and community advocate.

I was able to accomplish what I needed by using javascript and getElementbyId and drilling through the childnodes until I identified the one with the innerHTML response that had the data point.

Featured Posts