Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Automate Testing for Power Apps

You're reading from   Automate Testing for Power Apps A practical guide to applying low-code automation testing tools and techniques

Arrow left icon
Product type Paperback
Published in Oct 2023
Publisher Packt
ISBN-13 9781803236551
Length 352 pages
Edition 1st Edition
Tools
Arrow right icon
Authors (2):
Arrow left icon
Carlos de Huerta Carlos de Huerta
Author Profile Icon Carlos de Huerta
Carlos de Huerta
César Calvo César Calvo
Author Profile Icon César Calvo
César Calvo
Arrow right icon
View More author details
Toc

Table of Contents (18) Chapters Close

Preface 1. Part 1:Tools for Power Apps Automated Testing
2. Chapter 1: Software Quality and Types of Testing FREE CHAPTER 3. Chapter 2: Power Apps Studio Techniques and Automation Tools 4. Chapter 3: Power Fx Overview and Usage in Testing 5. Chapter 4: Planning Testing in a Power Apps Project 6. Part 2:Tools for Power Apps Automated Testing
7. Chapter 5: Introducing Test Studio – Canvas Apps Testing with a Sample Case Study 8. Chapter 6: Overview of Test Engine, Evolution, and Comparison 9. Chapter 7: Working with Test Engine 10. Chapter 8: Testing Power Apps with Power Automate Desktop 11. Part 3:Extending Power Apps Automated Testing
12. Chapter 9: PCF and Canvas Component Testing 13. Chapter 10: ALM with Test Studio and Test Engine 14. Chapter 11: Mocks with Test Engine 15. Chapter 12: Telemetry and Power Apps 16. Index 17. Other Books You May Enjoy

Exploring the top test functions in Power Fx

You can use any function available in Power Fx, but there are some top functions you will use in every test. We’ll dive into six important functions: Select, SetProperty, Wait, Assert, Screenshot, and Trace. By the end of this section, you’ll have a firm understanding of how these functions work and how to use them in your apps and code testing.

As we discussed in Chapter 1, a large portion of the testing in your low-code apps will be UI tests, where you reproduce the actions you expect your users will follow. To validate the expected experience and results of your users, you need to follow three steps:

  1. Execute the steps to get and set the data in your app that confirm a defined use case. For example, in a weather app, click on a text box, enter the city’s location, and click on the respective button to get the required weather details.
  2. Validate that data against the expected behavior. In the weather...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €18.99/month. Cancel anytime