-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating

Automate Testing for Power Apps
By :

Let’s begin exploring the elements that form the foundation of Test Engine. We’ll start by discussing the ability to create tests using the Power Fx language, which we reviewed in Chapter 3 of this book.
Power Fx is a low-code language for Power Platform and it is also used for Test Engine.
Defining your tests doesn’t require programming languages such as C# or JavaScript. Instead, tests are specified using straightforward YAML files that incorporate the well-known Power Fx language. Familiar Power Fx functions, such as Select
, Assert
, SetProperty
, and Index
—which you might recognize from Test Studio—can be used to outline the steps in your test case.
Here’s an example of a Test Engine test step using these functions:
Figure 6.1 – Power Fx syntax for test steps
Any documented Power Fx functions can be used within Test Engine. In addition to...