Skip to main content

Microsoft Dynamics 365

Note:
  • Please note that the integration will work for most users but has not been tested for every use case.

This tutorial demonstrates how Katalon Studio automates testing for Microsoft Dynamics 365 applications, including test cases for PowerBI. Due to the very dynamic nature of the PowerBI DOM structure, you may need to adjust settings before recording the test cases.

Automate Microsoft Dynamics 365 applications

This project includes a sample Git repository, which you can access to follow along with the steps. Additionally, a video demonstration of these steps is available for reference.

  • Katalon Studio installed.
  • An active Microsoft 365 account.

In this use case, we will create and delete a lead in Microsoft 365 account. Follow these steps:

  1. Go to Project > Settings > Test Design > Web UI and change the priority of XPath locators.
    change Xpath Locators priority in Katalon Studio project settings
  2. Record test script via Katalon Recorder and save test objects and test cases. See Record web utility in Katalon Studio.
  3. Update the application URL, username, and password inside the Default profile. Update URL, username, password in the Default profile
  4. Run the test execution. See Execute tests with Katalon Studio overview.
  5. Verify the test execution result. See View a test run summary.
If the test execution fails because of "Element not interactable" exception, you can change the keyword Click to Enhanced Click.Katalon Studio keyword enhanced click