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

Testing mock scenarios with a Power Parse app

A Power Parse app will be the demo app that will be run in all tests. Let’s describe its main screens briefly. You can see the home page describing how to use it in Figure 11.12.

Figure 11.12 – The Power Parse home page with the user guide

Figure 11.12 – The Power Parse home page with the user guide

Once you configure the Power Parse app, and use or create the prompts and content, it will send a request to Azure OpenAI Service or the Hugging Face BLOOM Model, getting a generative AI response based on the prompt and content sent. Basically, it will send a metaprompt as a result of the concatenation of both pieces of information – Prompt or instruction\n\nContext Content. Figure 11.13 shows the screen where choosing a prompt and its corresponding context generates an email text with the selected model.

Figure 11.13 – The Power Parse generative AI question screen

Figure 11.13 – The Power Parse generative AI question screen

We created this app to include all the mocks needed...