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 moreShape the future of the Fabric Community! Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions. Take survey.
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
User | Count |
---|---|
36 | |
31 | |
20 | |
11 | |
8 |
User | Count |
---|---|
52 | |
43 | |
28 | |
12 | |
11 |