Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Automate Testing for Power Apps
  • Table Of Contents Toc
  • Feedback & Rating feedback
Automate Testing for Power Apps

Automate Testing for Power Apps

By : César Calvo, Carlos de Huerta
4.8 (12)
close
close
Automate Testing for Power Apps

Automate Testing for Power Apps

4.8 (12)
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)
close
close
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

Running tests and accessing results

To start testing, we need to open Command Prompt, change to the directory where the TestEngine GitHub repository was downloaded, and locate the src folder. Go into the PowerAppsTestEngine folder with the project that we want to run.

The key steps are as follows:

  1. Open Command Prompt.
  2. Navigate to <downloaded_repo_path>\src\PowerAppsTestEngine.
  3. Run the PowerAppsTestEngine project.
Figure 7.8 – Folder of the TestEngine project

Figure 7.8 – Folder of the TestEngine project

This is the same folder in which we should have the config.dev.json file, as described in the initial requirements section. Note that in this file, we are specifying different folders to locate the test file and the output directory, in addition to the tenant ID and environment ID of the app.

Take note of the output directory you have specified, as we will inspect this folder after the test run.

Now, let’s initiate the test execution. In our case, we...

Unlock full access

Continue reading for free

A Packt free trial gives you instant online access to our library of over 7000 practical eBooks and videos, constantly updated with the latest in tech

Create a Note

Modal Close icon
You need to login to use this feature.
notes
bookmark search playlist download font-size

Change the font size

margin-width

Change margin width

day-mode

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Delete Bookmark

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete

Delete Note

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete

Edit Note

Modal Close icon
Write a note (max 255 characters)
Cancel
Update Note

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY