NBi
NBi copied to clipboard
Power BI Desktop (January 2021) : Connection Exception
Hello!
Testing Power BI always produces an ConnectionException and I wonder if it could be because in line 53 of NBi.Core.PowerBiDesktop.PowerBiDesktopConnectionStringBuilder the name of the parent process is compared to "Power BI Desktop". However in the latest version I believe the main window title is "Power BI Desktop (January 2021)"
<settings> <default apply-to="system-under-test" > <connectionString> PBIX=dashboard </connectionString> </default> </settings>
Thanks in advance!
As far as I know, this PBI Desktop Version is for later PBI report server deployments. In case you want to use the "normal" power bi desktop (for power bi cloud deployments or just for you locally), you could use that instead and the tests might work without a change in the code? Cheers
Ideally we could relax a bit the constraint on line 53, to only get something containing Power BI Desktop
in the name and not ending with Power BI Desktop
(or better first try with the exact ending and if no result then accepting a result containing the magical words).
Feel free to submit a PR.