You can use test cases to automate the testing of an integration or data migration setup. For example, if D365 FO is updated to a newer version, you can use test cases to easily check if the integration or data migration setup still works properly.
Name | Responsible | Description |
---|---|---|
Create test case for export message |
Application Consultant |
You can use test cases to automate the testing of an integration or data migration setup. For each message, you can create the desired test cases. This topic explains how to create a test case for an export message; the message source document is an internal document. |
Create test case for import message |
Application Consultant |
You can use test cases to automate the testing of an integration or data migration setup. For each message, you can create the desired test cases. This topic explains how to create a test case for an import message; the message target document is an internal document. |
Run test case |
Application Consultant |
To check if a test case works properly, you can run the test case. |
Run message test cases |
Application Consultant |
To check if all test cases of a message work properly, you can run the message test cases. So, no full message run is done. Only the test cases, as defined for the message, are run. |
Create test project |
Application Consultant |
If you want to use automated testing, the best practice is to use separate projects for testing and for the actual integration or data migration. Create a test project in the same way as an integration or data migration project. For the test project, only set up test tasks. |
Set up test tasks for test project |
Application Consultant |
If you have created a test project, set up the tasks for this project. Make sure, you only set up tasks that are used for testing (Run test case is Yes). To each test task, you can add the applicable messages from the integration or data migration project. Make sure, you only add messages with test cases. So, you use the actual integration or data migration messages for testing! |
Run test project |
Application Consultant |
You can use a project to exchange data. To be able to run a project, tasks must be set up for the project. If you run the project, all related tasks are run. Depending on the tasks that are set up for the project, you can use a project to run:
Usually, you run a project in batch. Based on the defined sub-projects and tasks dependencies, tasks are run in parallel. If you do not run the project in batch, all sub-projects and tasks are run sequentially. |
Verify test results |
Application Consultant |
When a test case is run, the results are stored as test case run. For each test case run, you can review the test results, and if applicable do the manual tests. The status is shown in these ways:
A test case can fail, for example, caused by errors or by a test step that must be tested manually. You can review a failed test case and, if applicable, manually test the manual test steps. After reviewing and manual testing, you can manually change the test case run status in line with your findings. |