Power bi Dashboards Update

I am trying of creating a robot that performs the update of some dashboards on Microsoft Power bi,
the robot must open power bi Desktop, open the file and select the option Update “actualizar” in spanish

I tryed whit the example of “Spotify Windows desktop application robot” Im trying changing the Variables to open Power Bi but this application takes a while to open and gives an error

*** Settings ***
Documentation Update Power Bi Desktop Dashboard
Library RPA.Desktop.Windows

*** Variables ***
{EXECUTABLE_NAME}= Power Bi {WINDOW_TITLE}= Microsoft Power BI Desktop

*** Keywords ***
Open the Spotify desktop application
Open From Search {EXECUTABLE_NAME} {WINDOW_TITLE}

Error:

Robocode Lab :: Update Power Bi Desktop Dashboard

Open Power bi | FAIL |
ValueError: No window with title ‘Microsoft Power BI Desktop’

Robocode Lab :: Update Power Bi Desktop Dashboard | FAIL |
1 critical test, 0 passed, 1 failed
1 test total, 0 passed, 1 failed

Hi @Mike_Caruso! Sorry to hear about your problem. The Open From Search and Open Using Run Dialog keywords need a support for timeout parameter. At the moment both work with fixed 10 second timeout, which can be ofc problematic when program start takes longer time.

We will fix those keywords and hopefully fix release will be available already later today.

There is now timeout parameter support for keywords Open From Search and Open Using Run Dialog starting from rpaframework 6.2.0.

3 Likes

Perfect, I’ll try it, thank you!

1 Like