Skip to content

Latest commit

 

History

History
33 lines (24 loc) · 1.8 KB

File metadata and controls

33 lines (24 loc) · 1.8 KB

Overview

This Power Apps Test Engine example shows how to validate and manipulate the values of Media controls such as Video, Audio, and Microphone within a model-driven application form.

Usage

  1. Build the Test Engine Solution
    Ensure the Power Apps Test Engine solution is built and ready to be executed.

  2. Get the URL of the Model-Driven Application Form
    Acquire the URL of the specific Model-Driven Application form that you want to test.

  3. Modify the testPlan.fx.yaml
    Update the YAML file to assert expected values of the Video, Audio, and Microphone controls.

[!NOTE] The controls are referenced using the logical name.

  1. Update the Domain URL for Your Model-Driven Application

    URL Part Description
    appid=a1234567-cccc-44444-9999-a123456789123 The unique identifier of your model-driven application.
    etn= The name of the entity being validated.
    id=26bafa27-ca7d-ee11-8179-0022482a91f4 The unique identifier of the record being edited.
    pagetype=custom The type of page to open.
    UserAuth=storagestate The type of user authentication to use.
    UseStaticContext=True The Flag to represent usage of Static context.
  2. Execute the Test for Custom Page
    Change the example below to the URL of your organization:

cd bin\Debug\PowerAppsEngine
dotnet PowerAppsTestEngine.dll -i ..\..\..\samples\mda_imagecontrol\testPlan.fx.yaml -e 00000000-0000-0000-0000-11112223333 -t 11112222-3333-4444-5555-666677778888 -u storagestate -provider mda -d "https://contoso.crm4.dynamics.com/main.aspx?appid=d67b4662-12fb-ef11-bae2-00224823607e&pagetype=custom&name=cr693_mdamediacontrols_f20f0"