Every solution that is built needs to be validated against a set of test cases to ensure that it does what it was created to deliver. Power Automate offers a very good platform to test the flow logic. The testing process actually runs the business logic, and so you shouldn't test flows on your production (live) system. The flow user interface (as demonstrated in the How to do it...section) can be used to observe inputs and outputs, as well as investigate errors.
Presently, the feature only lets you test the last five flow runs.
Only the flow owner can test the flows, which means that you will need to be added as a co-owner if you want to test the flow.
How to do it...
- Go to the Power Automate landing page.
- Select the flow that you want to test and click Edit.
- Click on the top right-hand corner to test the flow: