Skip to main content
Community site session details

Community site session details

Session Id :

Automating UI Testing for Canvas Apps with Power Platform Test Engine

Inogic Profile Picture Inogic 1,043 Super User 2025 Season 1

Canvas Apps in Power Platform provide a flexible way to build rich, custom user interfaces using a low-code approach. However, as these apps grow in complexity—handling multiple screens, dynamic logic, and business-critical processes—the need for automated, repeatable UI testing becomes critical.

Automated testing is essential to ensure application reliability by consistently validating functionality across different scenarios. It reduces the need for repetitive manual testing, saving valuable time and resources. Moreover, catching defects and regressions early in the development cycle improves overall code quality and accelerates delivery timelines.

This is where the Power Platform Test Engine comes into the picture.

The Power Apps Test Engine, developed by Microsoft, allows developers to automate end-to-end testing for both Canvas and Model-Driven Apps. Using YAML-based test cases and Power Fx expressions, it simulates user interactions such as filling fields, clicking buttons, and verifying outcomes, before any changes are deployed.

This blog provides a step-by-step guide to setting up and using the Test Engine for Canvas Apps, demonstrating how to utilize basic Power Fx queries and .NET to execute automated tests, using a common form submission scenario as an example.

Prerequisites

Before you begin, ensure that you have the following prerequisites:

  • Latest .NET installed
  • PowerShell (v5.1 or later)
  • Your Canvas App is published and ready in an environment..Read More>>

Comments