Starting December 3, join live sessions with database experts and the Microsoft product team to learn just how easy it is to get started
Learn moreGet certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now
Hey all,
I am trying to automate dadhboard testing using Selinium (Gradle and java). I was able to log directly in (after just entering my email) about 2 weeks ago, but now it is sending me to the Fabric Free pages (sometimes it is "sign in" to get fabric free, and sometimes it is "get started". But either way I am running into issues with the buttons - I have tried about 40 permutations of the locators but nothing is working - even more frustrating is when I manually select the buttons ("sign in" takes me to "get started" and "get started" starts the process of asking for my email address again - in a new tab - pressung the new "Get Started button finally re-directs me to the dashboard. I need help either 1 - finding a locator that will work with Gradle, or 2 - just getting straight to my dashboard (which is obviously preferred)
Solved! Go to Solution.
Ok so I stumbled on a not great solution- if I try to load a de-published report I can wait for 30 seconds the. Redirect to the report I want - it is allowing me to directly access the report. I will look into using the APi for validation when I complete my POC and circle back
Hi, @Brad_Seibert
Since you prefer direct access to Power BI dashboards, I recommend using the Power BI REST API for authentication and navigation in your automation scripts
First, you'll need to authenticate and get an access token, and once you've passed the authentication, you can use the Power BI REST API to list dashboards and retrieve the specific dashboard you want to test. For more information, you can view the following documents:
Dashboards - REST API (Power BI Power BI REST APIs) | Microsoft Learn
How to Get Your Question Answered Quickly
Best Regards
Yongkang Hua
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Ok so I stumbled on a not great solution- if I try to load a de-published report I can wait for 30 seconds the. Redirect to the report I want - it is allowing me to directly access the report. I will look into using the APi for validation when I complete my POC and circle back
I did neglect to mention that when I manually launch the web browser and open power bi - it takes me directly to the dashboard - without entering anything
Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.
User | Count |
---|---|
37 | |
30 | |
18 | |
13 | |
8 |
User | Count |
---|---|
50 | |
39 | |
32 | |
16 | |
13 |