Exercise - Create a testing process

Completed

This exercise is written to use the Cronus sample company from the US version of Business Central. You might need to make adjustments to the steps if you use the sample company from your country or region.

Scenario

In one of this module's demonstrations, we created a Custom Connector for your customization in Dynamics 365 Business Central -- BC Books. But so far, you haven't performed any tests. Before you start to use the connector in the production environment, you want to be sure the connector works properly and you need to provide a testing process for the Create action. If you didn't create the connector, you can use a different connector and follow these steps.

Tasks

  1. Start with Power Apps.

  2. Find the custom connector and pen in the edit mode.

  3. Make the test in the custom connector.

  4. Update the custom connector.

Steps

  1. Start with Power Apps.

    1. Open the Power App in the browser.

    2. Expand Data in the left menu and then select Custom Connectors.

  2. Find the custom connector and pen in edit mode.

    1. Select your custom connector BC Books.

    2. Select the Edit button.

  3. Test the custom connector.

    1. Select the Test tab.

    2. In Operations, select Create.

    3. In the Create section, enter the following information (values can be used only if you used the same data in your Books table and created the app in the demo. If you are using another app, create your own test data for your app).

      1. In the Number box, enter 90.

      2. In the Name box, enter My new book.

      3. In the Author box, enter My new author.

      4. In the ISBN box, enter 1234567890.

    4. Select Test operation.

  4. Update the custom connector.

    1. If you get Status (201), that means you succeeded with the test.

    2. Select Update connector from the bar.

    3. Select Close.