Locate a dot with the same xpath in a highchart

classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

Locate a dot with the same xpath in a highchart

amartin
Hi guys!

I have a highchart in a graphic with dots and I need to get the data inside every dot but I can't be able to achieve the different dots because they have all the same xpath!!!
I show you:


How could I locate the different dots if they all have the same xpath??

Thanks so much for your help!!!!!

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/d19a32b0-7380-46ed-bd3a-698c063d6d06%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Locate a dot with the same xpath in a highchart

amartin
Nobody knows about it? :(


El viernes, 2 de junio de 2017, 11:43:53 (UTC+2), [hidden email] escribió:
Hi guys!

I have a highchart in a graphic with dots and I need to get the data inside every dot but I can't be able to achieve the different dots because they have all the same xpath!!!
I show you:

<a href="https://lh3.googleusercontent.com/-wvj94T8P5K0/WTEzDCBqx3I/AAAAAAAAAGA/hy9_4CmoYOcghE4xpJa8CtZycB4FCwMugCLcB/s1600/Screenshot_8.jpg" style="margin-left:1em;margin-right:1em" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://lh3.googleusercontent.com/-wvj94T8P5K0/WTEzDCBqx3I/AAAAAAAAAGA/hy9_4CmoYOcghE4xpJa8CtZycB4FCwMugCLcB/s1600/Screenshot_8.jpg&#39;;return true;" onclick="this.href=&#39;https://lh3.googleusercontent.com/-wvj94T8P5K0/WTEzDCBqx3I/AAAAAAAAAGA/hy9_4CmoYOcghE4xpJa8CtZycB4FCwMugCLcB/s1600/Screenshot_8.jpg&#39;;return true;">

<a href="https://lh3.googleusercontent.com/-tM1sqYzVZyo/WTEzE1eSFnI/AAAAAAAAAGE/katElCqqPQogCT9S3atoy3ghDnFCyc0aQCLcB/s1600/Screenshot_9.jpg" style="margin-left:1em;margin-right:1em" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://lh3.googleusercontent.com/-tM1sqYzVZyo/WTEzE1eSFnI/AAAAAAAAAGE/katElCqqPQogCT9S3atoy3ghDnFCyc0aQCLcB/s1600/Screenshot_9.jpg&#39;;return true;" onclick="this.href=&#39;https://lh3.googleusercontent.com/-tM1sqYzVZyo/WTEzE1eSFnI/AAAAAAAAAGE/katElCqqPQogCT9S3atoy3ghDnFCyc0aQCLcB/s1600/Screenshot_9.jpg&#39;;return true;">

<a href="https://lh3.googleusercontent.com/-74bj90l3PPM/WTEzG5TeAXI/AAAAAAAAAGI/c-jhHqcf3fkMa7LkjexepLcoXgECeZsOgCLcB/s1600/Screenshot_10.jpg" style="margin-left:1em;margin-right:1em" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://lh3.googleusercontent.com/-74bj90l3PPM/WTEzG5TeAXI/AAAAAAAAAGI/c-jhHqcf3fkMa7LkjexepLcoXgECeZsOgCLcB/s1600/Screenshot_10.jpg&#39;;return true;" onclick="this.href=&#39;https://lh3.googleusercontent.com/-74bj90l3PPM/WTEzG5TeAXI/AAAAAAAAAGI/c-jhHqcf3fkMa7LkjexepLcoXgECeZsOgCLcB/s1600/Screenshot_10.jpg&#39;;return true;">


How could I locate the different dots if they all have the same xpath??

Thanks so much for your help!!!!!

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/34078145-8d24-4fc2-bb49-3b796ede7552%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Locate a dot with the same xpath in a highchart

amartin
It's the same case that this: https://www.highcharts.com/demo/spline-plot-bands

How could I locate the different dots in that case?? I'm turning crazy...

Thanks so much... 

El lunes, 5 de junio de 2017, 9:00:30 (UTC+2), [hidden email] escribió:
Nobody knows about it? :(


El viernes, 2 de junio de 2017, 11:43:53 (UTC+2), [hidden email] escribió:
Hi guys!

I have a highchart in a graphic with dots and I need to get the data inside every dot but I can't be able to achieve the different dots because they have all the same xpath!!!
I show you:

<a href="https://lh3.googleusercontent.com/-wvj94T8P5K0/WTEzDCBqx3I/AAAAAAAAAGA/hy9_4CmoYOcghE4xpJa8CtZycB4FCwMugCLcB/s1600/Screenshot_8.jpg" style="margin-left:1em;margin-right:1em" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://lh3.googleusercontent.com/-wvj94T8P5K0/WTEzDCBqx3I/AAAAAAAAAGA/hy9_4CmoYOcghE4xpJa8CtZycB4FCwMugCLcB/s1600/Screenshot_8.jpg&#39;;return true;" onclick="this.href=&#39;https://lh3.googleusercontent.com/-wvj94T8P5K0/WTEzDCBqx3I/AAAAAAAAAGA/hy9_4CmoYOcghE4xpJa8CtZycB4FCwMugCLcB/s1600/Screenshot_8.jpg&#39;;return true;">

<a href="https://lh3.googleusercontent.com/-tM1sqYzVZyo/WTEzE1eSFnI/AAAAAAAAAGE/katElCqqPQogCT9S3atoy3ghDnFCyc0aQCLcB/s1600/Screenshot_9.jpg" style="margin-left:1em;margin-right:1em" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://lh3.googleusercontent.com/-tM1sqYzVZyo/WTEzE1eSFnI/AAAAAAAAAGE/katElCqqPQogCT9S3atoy3ghDnFCyc0aQCLcB/s1600/Screenshot_9.jpg&#39;;return true;" onclick="this.href=&#39;https://lh3.googleusercontent.com/-tM1sqYzVZyo/WTEzE1eSFnI/AAAAAAAAAGE/katElCqqPQogCT9S3atoy3ghDnFCyc0aQCLcB/s1600/Screenshot_9.jpg&#39;;return true;">

<a href="https://lh3.googleusercontent.com/-74bj90l3PPM/WTEzG5TeAXI/AAAAAAAAAGI/c-jhHqcf3fkMa7LkjexepLcoXgECeZsOgCLcB/s1600/Screenshot_10.jpg" style="margin-left:1em;margin-right:1em" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://lh3.googleusercontent.com/-74bj90l3PPM/WTEzG5TeAXI/AAAAAAAAAGI/c-jhHqcf3fkMa7LkjexepLcoXgECeZsOgCLcB/s1600/Screenshot_10.jpg&#39;;return true;" onclick="this.href=&#39;https://lh3.googleusercontent.com/-74bj90l3PPM/WTEzG5TeAXI/AAAAAAAAAGI/c-jhHqcf3fkMa7LkjexepLcoXgECeZsOgCLcB/s1600/Screenshot_10.jpg&#39;;return true;">


How could I locate the different dots if they all have the same xpath??

Thanks so much for your help!!!!!

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/9d5e7b15-5f44-4e3a-90ce-7538f8f699e7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Locate a dot with the same xpath in a highchart

Selenium - Users mailing list
Ima take a look later for you, what language you using?

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/f42023dc-7698-457e-8842-d61096e2e712%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Locate a dot with the same xpath in a highchart

thivyae
In reply to this post by amartin
Hi,

Instead of testing this in UI layer,please see if you can cover this testing in API layer..
You cannot test charts like this with xpaths..You will have to use a visual comparison tool like sikuli for image comparison 

On Friday, June 2, 2017 at 3:13:53 PM UTC+5:30, [hidden email] wrote:
Hi guys!

I have a highchart in a graphic with dots and I need to get the data inside every dot but I can't be able to achieve the different dots because they have all the same xpath!!!
I show you:

<a href="https://lh3.googleusercontent.com/-wvj94T8P5K0/WTEzDCBqx3I/AAAAAAAAAGA/hy9_4CmoYOcghE4xpJa8CtZycB4FCwMugCLcB/s1600/Screenshot_8.jpg" style="margin-left:1em;margin-right:1em" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://lh3.googleusercontent.com/-wvj94T8P5K0/WTEzDCBqx3I/AAAAAAAAAGA/hy9_4CmoYOcghE4xpJa8CtZycB4FCwMugCLcB/s1600/Screenshot_8.jpg&#39;;return true;" onclick="this.href=&#39;https://lh3.googleusercontent.com/-wvj94T8P5K0/WTEzDCBqx3I/AAAAAAAAAGA/hy9_4CmoYOcghE4xpJa8CtZycB4FCwMugCLcB/s1600/Screenshot_8.jpg&#39;;return true;">

<a href="https://lh3.googleusercontent.com/-tM1sqYzVZyo/WTEzE1eSFnI/AAAAAAAAAGE/katElCqqPQogCT9S3atoy3ghDnFCyc0aQCLcB/s1600/Screenshot_9.jpg" style="margin-left:1em;margin-right:1em" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://lh3.googleusercontent.com/-tM1sqYzVZyo/WTEzE1eSFnI/AAAAAAAAAGE/katElCqqPQogCT9S3atoy3ghDnFCyc0aQCLcB/s1600/Screenshot_9.jpg&#39;;return true;" onclick="this.href=&#39;https://lh3.googleusercontent.com/-tM1sqYzVZyo/WTEzE1eSFnI/AAAAAAAAAGE/katElCqqPQogCT9S3atoy3ghDnFCyc0aQCLcB/s1600/Screenshot_9.jpg&#39;;return true;">

<a href="https://lh3.googleusercontent.com/-74bj90l3PPM/WTEzG5TeAXI/AAAAAAAAAGI/c-jhHqcf3fkMa7LkjexepLcoXgECeZsOgCLcB/s1600/Screenshot_10.jpg" style="margin-left:1em;margin-right:1em" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://lh3.googleusercontent.com/-74bj90l3PPM/WTEzG5TeAXI/AAAAAAAAAGI/c-jhHqcf3fkMa7LkjexepLcoXgECeZsOgCLcB/s1600/Screenshot_10.jpg&#39;;return true;" onclick="this.href=&#39;https://lh3.googleusercontent.com/-74bj90l3PPM/WTEzG5TeAXI/AAAAAAAAAGI/c-jhHqcf3fkMa7LkjexepLcoXgECeZsOgCLcB/s1600/Screenshot_10.jpg&#39;;return true;">


How could I locate the different dots if they all have the same xpath??

Thanks so much for your help!!!!!

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/458e3f65-b8cb-4e54-9be4-fdcc39cf5980%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Locate a dot with the same xpath in a highchart

amartin
In reply to this post by Selenium - Users mailing list
I'm using Eclipse with Java.

Thanks!

El lunes, 5 de junio de 2017, 20:04:54 (UTC+2), Daryl Flowers escribió:
Ima take a look later for you, what language you using?

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/b3ea86ea-ac99-4630-93e9-981644fe31b2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Locate a dot with the same xpath in a highchart

amartin
In reply to this post by thivyae
Hi! Sorry, but I'm pretty new here. I usually use Eclipse with Java to build tests. 
How is your way?

Thanks a lot!!!


El martes, 6 de junio de 2017, 8:23:03 (UTC+2), [hidden email] escribió:
Hi,

Instead of testing this in UI layer,please see if you can cover this testing in API layer..
You cannot test charts like this with xpaths..You will have to use a visual comparison tool like sikuli for image comparison 

On Friday, June 2, 2017 at 3:13:53 PM UTC+5:30, [hidden email] wrote:
Hi guys!

I have a highchart in a graphic with dots and I need to get the data inside every dot but I can't be able to achieve the different dots because they have all the same xpath!!!
I show you:

<a href="https://lh3.googleusercontent.com/-wvj94T8P5K0/WTEzDCBqx3I/AAAAAAAAAGA/hy9_4CmoYOcghE4xpJa8CtZycB4FCwMugCLcB/s1600/Screenshot_8.jpg" style="margin-left:1em;margin-right:1em" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://lh3.googleusercontent.com/-wvj94T8P5K0/WTEzDCBqx3I/AAAAAAAAAGA/hy9_4CmoYOcghE4xpJa8CtZycB4FCwMugCLcB/s1600/Screenshot_8.jpg&#39;;return true;" onclick="this.href=&#39;https://lh3.googleusercontent.com/-wvj94T8P5K0/WTEzDCBqx3I/AAAAAAAAAGA/hy9_4CmoYOcghE4xpJa8CtZycB4FCwMugCLcB/s1600/Screenshot_8.jpg&#39;;return true;">

<a href="https://lh3.googleusercontent.com/-tM1sqYzVZyo/WTEzE1eSFnI/AAAAAAAAAGE/katElCqqPQogCT9S3atoy3ghDnFCyc0aQCLcB/s1600/Screenshot_9.jpg" style="margin-left:1em;margin-right:1em" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://lh3.googleusercontent.com/-tM1sqYzVZyo/WTEzE1eSFnI/AAAAAAAAAGE/katElCqqPQogCT9S3atoy3ghDnFCyc0aQCLcB/s1600/Screenshot_9.jpg&#39;;return true;" onclick="this.href=&#39;https://lh3.googleusercontent.com/-tM1sqYzVZyo/WTEzE1eSFnI/AAAAAAAAAGE/katElCqqPQogCT9S3atoy3ghDnFCyc0aQCLcB/s1600/Screenshot_9.jpg&#39;;return true;">

<a href="https://lh3.googleusercontent.com/-74bj90l3PPM/WTEzG5TeAXI/AAAAAAAAAGI/c-jhHqcf3fkMa7LkjexepLcoXgECeZsOgCLcB/s1600/Screenshot_10.jpg" style="margin-left:1em;margin-right:1em" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://lh3.googleusercontent.com/-74bj90l3PPM/WTEzG5TeAXI/AAAAAAAAAGI/c-jhHqcf3fkMa7LkjexepLcoXgECeZsOgCLcB/s1600/Screenshot_10.jpg&#39;;return true;" onclick="this.href=&#39;https://lh3.googleusercontent.com/-74bj90l3PPM/WTEzG5TeAXI/AAAAAAAAAGI/c-jhHqcf3fkMa7LkjexepLcoXgECeZsOgCLcB/s1600/Screenshot_10.jpg&#39;;return true;">


How could I locate the different dots if they all have the same xpath??

Thanks so much for your help!!!!!

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/cc4e53f4-000c-42be-afa3-7b4d8734ea25%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Locate a dot with the same xpath in a highchart

amartin
In reply to this post by thivyae
So, isn't there any other solution? Only with sikuli??

Thanks in advance.


El martes, 6 de junio de 2017, 8:23:03 (UTC+2), [hidden email] escribió:
Hi,

Instead of testing this in UI layer,please see if you can cover this testing in API layer..
You cannot test charts like this with xpaths..You will have to use a visual comparison tool like sikuli for image comparison 

On Friday, June 2, 2017 at 3:13:53 PM UTC+5:30, [hidden email] wrote:
Hi guys!

I have a highchart in a graphic with dots and I need to get the data inside every dot but I can't be able to achieve the different dots because they have all the same xpath!!!
I show you:

<a href="https://lh3.googleusercontent.com/-wvj94T8P5K0/WTEzDCBqx3I/AAAAAAAAAGA/hy9_4CmoYOcghE4xpJa8CtZycB4FCwMugCLcB/s1600/Screenshot_8.jpg" style="margin-left:1em;margin-right:1em" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://lh3.googleusercontent.com/-wvj94T8P5K0/WTEzDCBqx3I/AAAAAAAAAGA/hy9_4CmoYOcghE4xpJa8CtZycB4FCwMugCLcB/s1600/Screenshot_8.jpg&#39;;return true;" onclick="this.href=&#39;https://lh3.googleusercontent.com/-wvj94T8P5K0/WTEzDCBqx3I/AAAAAAAAAGA/hy9_4CmoYOcghE4xpJa8CtZycB4FCwMugCLcB/s1600/Screenshot_8.jpg&#39;;return true;">

<a href="https://lh3.googleusercontent.com/-tM1sqYzVZyo/WTEzE1eSFnI/AAAAAAAAAGE/katElCqqPQogCT9S3atoy3ghDnFCyc0aQCLcB/s1600/Screenshot_9.jpg" style="margin-left:1em;margin-right:1em" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://lh3.googleusercontent.com/-tM1sqYzVZyo/WTEzE1eSFnI/AAAAAAAAAGE/katElCqqPQogCT9S3atoy3ghDnFCyc0aQCLcB/s1600/Screenshot_9.jpg&#39;;return true;" onclick="this.href=&#39;https://lh3.googleusercontent.com/-tM1sqYzVZyo/WTEzE1eSFnI/AAAAAAAAAGE/katElCqqPQogCT9S3atoy3ghDnFCyc0aQCLcB/s1600/Screenshot_9.jpg&#39;;return true;">

<a href="https://lh3.googleusercontent.com/-74bj90l3PPM/WTEzG5TeAXI/AAAAAAAAAGI/c-jhHqcf3fkMa7LkjexepLcoXgECeZsOgCLcB/s1600/Screenshot_10.jpg" style="margin-left:1em;margin-right:1em" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://lh3.googleusercontent.com/-74bj90l3PPM/WTEzG5TeAXI/AAAAAAAAAGI/c-jhHqcf3fkMa7LkjexepLcoXgECeZsOgCLcB/s1600/Screenshot_10.jpg&#39;;return true;" onclick="this.href=&#39;https://lh3.googleusercontent.com/-74bj90l3PPM/WTEzG5TeAXI/AAAAAAAAAGI/c-jhHqcf3fkMa7LkjexepLcoXgECeZsOgCLcB/s1600/Screenshot_10.jpg&#39;;return true;">


How could I locate the different dots if they all have the same xpath??

Thanks so much for your help!!!!!

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/2ea54615-269e-4c00-bf26-41a4f2a06f0e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.