March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.
Register NowGet certified in Microsoft Fabric—for free! For a limited time, the Microsoft Fabric Community team will be offering free DP-600 exam vouchers. Prepare 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
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.
Check out the November 2024 Power BI update to learn about new features.
User | Count |
---|---|
47 | |
39 | |
34 | |
33 | |
20 |