Selenium Automated Test for "Highcharts JS"

3,309 views
Skip to first unread message

Ripon Al Wasim

unread,
Feb 8, 2012, 9:06:16 AM2/8/12
to seleniu...@googlegroups.com
Dear All,

Does anybody have the idea or experience how to automate  "Highcharts JS" using Selenium RC? Please help me.

some Highcharts URL:



Or,
Hw can I automate Graph related stuff?

br,
Ripon Al Wasim

Juan Luna

unread,
Feb 22, 2012, 5:29:22 PM2/22/12
to seleniu...@googlegroups.com
Wasin,

I am having the same challenge....if you know/discover something, please let me know. I will do the same. Thanks!

Juan Luna

Selenium user

unread,
May 3, 2012, 5:44:00 PM5/3/12
to seleniu...@googlegroups.com

Selenium user

unread,
May 3, 2012, 5:44:48 PM5/3/12
to seleniu...@googlegroups.com
Hi,

Could someone find a solution for this ? I am now testing application with highcharts. any input would be great.

Thanks,
Vasavi 


On Wednesday, February 8, 2012 6:06:16 AM UTC-8, Ripon Al Wasim wrote:

varun rajasekar

unread,
May 30, 2012, 7:06:33 PM5/30/12
to seleniu...@googlegroups.com
Hi All,

Could you please provide me the solution for the same. As I wanted to automate HighCharts

Regards,
Varun

NARASIMHA

unread,
May 31, 2012, 1:51:04 AM5/31/12
to seleniu...@googlegroups.com
Folks,

Be specific in what do you need to automate ?

Narasimha


--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/selenium-users/-/0U8LKaDe9W0J.

To post to this group, send email to seleniu...@googlegroups.com.
To unsubscribe from this group, send email to selenium-user...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/selenium-users?hl=en.

var

unread,
Jul 31, 2012, 3:46:15 PM7/31/12
to seleniu...@googlegroups.com
Hi Narasimha,
I wanted to do couple of things which are given below:
1. Assert whether the HighChart is present
2. Get the Tool tip value of the high chart
What I have done:
I tried to get the Xpath of the High chart, where the SVG elements are present and tried to assert it. Web driver is not recognizing the elements of high charts.
I tried to get the property name of the tool tip and tried to assert with basic hovering function in web driver.

It will be great if you can give me a lead/ solution for this problem.
Thanks
Rajasekar

Oscar Rieken

unread,
Jul 31, 2012, 3:52:17 PM7/31/12
to seleniu...@googlegroups.com
if you can get the element you can access its attributes in webdriver you can do something like
all_g_tags = driver.find_elements(:tag_name => 'g')
all_g_tags.each do |my_g|
  if my_g.attribute('whatever') == "something specific about that locator"
    return my_g #or do something with it
  end
end

I was able to do 
driver.action.move_to(my_g) #and it hovered over the g that i wanted and the tool tip popped up

the problem is in the demo is no unique way to identify the actual rect's no id's or names or names for the groupings that is unique enough to locate the exact object using xpath "might" work but it would still be brittle if the data or positioning changed it would fail the test with something like a chart i would imagine that the data changes periodically. but i will play around with it more this weekend

taken from this thread 

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To post to this group, send email to seleniu...@googlegroups.com.
To unsubscribe from this group, send email to selenium-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/selenium-users/-/Ox5Q6gPmUhwJ.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Prabhakar Pandey

unread,
Sep 3, 2015, 10:00:45 PM9/3/15
to Selenium Users
Reply all
Reply to author
Forward
0 new messages