Quantcast
Channel: Developer topics
Viewing all articles
Browse latest Browse all 18014

Clicking on a PowerBi Dashboard reports with Selenium

$
0
0

Hello there,

I posted a message yesterday but it seems to have disapeared, i'm new here...

 

Ok, my problem is that I dont success to click on a Dashboard widget (ChartPie for example) using selenium.

 

When the PowerBi widget is not embedded in Html (generally has a Id in the Html code, <div id="container" class="e-datavisualization-chart e-js"....... ), I can easily click on it or on a particular object in the widget (for example a point in a Graph). but when it comes to get to slices in a chartPie (BUT On which we can perform a Focus Mode,  or Export Data on it... ), I cant get them.

 

In fact, its html code is very different as the other one, (embedded code) and there are no id tags (a lot of div and class, though, like: <div class="visualContainer unselectable ng-isolate-scope......... ). I failed to grab an Element using all the Get choices in Selenium (other Bys, like CssSlector, tagname, class, even XPath isnt working), do you know why? I cant click on any widget in the mainwindow (central) Does someone know how to click on a particular embedded report object??

 

Thank you for helping me out!


Viewing all articles
Browse latest Browse all 18014

Trending Articles