Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. 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
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
38 | |
26 | |
23 | |
19 | |
17 |