Book Image

Automate Testing for Power Apps

By : César Calvo, Carlos de Huerta
Book Image

Automate Testing for Power Apps

By: César Calvo, Carlos de Huerta

Overview of this book

Low-code testing helps build better applications, freeing developers from frustrating problems faced while enhancing app features. Automate Testing for Power Apps will help you use automation testing to build better Canvas apps. You’ll start by understanding the fundamentals of automation testing, different approaches for low-code testing, and its application to Power Apps. Next, you’ll learn how to use Test Studio, Power Automate Desktop, and other tools to automate testing for your Canvas apps. You'll find out how to incorporate testing into your deployment processes for faster and more reliable releases. Additionally, this book covers advanced topics such as PCF components testing and model-driven apps. You’ll discover the new open-source project, Power Apps Test Engine, that’ll provide you with a single automated testing platform for all Power Apps. You'll learn how to test these more complex components to ensure the highest quality and business value for your Power Apps. By the end of this book, you'll have become a pro at using automation testing to build better Power Apps, reduce app release times, and increase the quality of your applications.
Table of Contents (18 chapters)
1
Part 1:Tools for Power Apps Automated Testing
6
Part 2:Tools for Power Apps Automated Testing
11
Part 3:Extending Power Apps Automated Testing

Test Studio terminology

In the world of test automation, several terms are commonly used to describe the elements that are part of it.

Among them, all of which are related to Test Studio, we have the following:

  • Test cases: When developing an application, we segment it into various use cases, which essentially represent the different functionalities we aim to incorporate within the application. These use cases form the basis of our test cases.

    For example, if we are working with an expense tracking app, we need to ensure that only allowed expenses can be submitted for a given user profile. In this case, the test case would have to cover the necessary interactions to demonstrate that this requirement is always met. Test cases are composed of a series of steps, which we will call test steps. These test steps are written using Power Fx, the coding language that’s used across Power Platform (https://learn.microsoft.com/en-us/power-platform/power-fx/overview).

  • Test suites...