How to test svg pie charts and graphs using protractor?
I was wondering if some one could direct me how to test svg pie charts and graphs using protractor .
I have to read data on pie charts when hovered on it or read data on graphs when hovered to the data points .
I am curious how it could be done correctly. When hovering over pie charts, the results are inconsistent and it complains about other element receives the click since pie chart are not a rectangle shape.
On Tue, Mar 10, 2015 at 5:02 PM, snehacharkha [email protected] wrote:
I was wondering if some one could direct me how to test svg pie charts and graphs using protractor .
I have to read data on pie charts when hovered on it or read data on graphs when hovered to the data points .
— Reply to this email directly or view it on GitHub https://github.com/angular/protractor/issues/1915.
Agreed according to the attached screen shot , the svg spreads across two other svgs . How can we garb the right path and hover on it

Please read the contributing guidelines; these types of questions are ill-suited for GitHub. Thanks!
That said - can you add ids or classes to your svg elements to get a hold of them? They should act like other elements from WebDrivers' point of view.
@snehacharkha Could you paste the link to your StackOverflow question when you will ask it please ? That's a very interesting one and I would like to follow the discussion. Thanks! :smile:
Here you go :)
http://stackoverflow.com/questions/28973918/how-to-test-svg-pie-charts-and-graphs-using-protractor
On Wed, Mar 11, 2015 at 2:07 AM, Gilles Lepretre [email protected] wrote:
@snehacharkha https://github.com/snehacharkha Could you paste the link to your StackOverflow question when you will ask it please ? That's a very interesting one and I would like to follow the discussion. Thanks! [image: :smile:]
— Reply to this email directly or view it on GitHub https://github.com/angular/protractor/issues/1915#issuecomment-78227279.