web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Test Engine - [Error]:...
Power Apps
Unanswered

Test Engine - [Error]: Access to the path '...' is denied

(0) ShareShare
ReportReport
Posted on by 14

Hello, I am trying to set up TestEngine but I ran into the following error while running command "dotnet run" to start the tests.

 

Unhandled exception. System.UnauthorizedAccessException: Access to the path '...' is denied.

 --->System.IO.IOException: Permission denied

   --- End of inner exception stack trace ---

 

I set the variables in Power Shell to the email and password I use for PowerApps.

 

I understand this is an access/rights issue, but I don't know how to set the right access.

This is my personal machine I am using and TestEngine folder is stored locally.

Categories:
I have the same question (0)
  • iAm_ManCat Profile Picture
    18,228 Most Valuable Professional on at

    Where are you running that command from - looks like the parent folder it is trying to access (...), is not an accessible folder under that command.

     

    Also, if you are running CMD - have you elevated it? (Run as administrator)

  • gabo773 Profile Picture
    14 on at

     I am running the command from where the project is located, 

    /Users/User/PowerApps-TestEngine/src/PowerAppsTestEngine .

    I am running it on a Mac. I tried to run in as root and got the same error message. 

  • iAm_ManCat Profile Picture
    18,228 Most Valuable Professional on at

    I would raise it as an issue via their github repo directly - the TestEngine is an experimental feature and they won't be looking at these Power Apps forums for any support issues, so your best bet is to raise it directly:

    Issues · microsoft/PowerApps-TestEngine (github.com)

  • Verified answer
    gabo773 Profile Picture
    14 on at

    Solved. The field "testPlanFile" in config.json needs to be given the file name also, not only the path to the folder: "/Users/User/PowerApps-TestEngine/samples/basicgallery/testPlan.fx.yaml"

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 796 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 327 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard