We’re now in the new world of D365 “OneVersion” – A world in which we can benefit from continuous Microsoft investment without having to re-implement ERP ever again. But the new world also requires a solid Regression Testing Strategy to control the cost for consuming new updates. Here’s where Microsoft stepped in giving us the Regression Suite Automation Tool (RSAT). Although this tool is a good starting point, anyone who ever worked with RSAT will probably recognise one or more of the following limitations:
- I don’t want to go into a VM to run test cases!
- How can I test my D365 interfaces???
- How can I run multiple test cases/test suites in parallel (in other words: multi threaded)??
- I don’t want my chained tests to be scripted in Powershell, but in Azure DevOps (low code/no code solution!)
- How can I run mixed tests of process and interface? – e.g. to support E2E scenarios like: my e-com platform creates a sales order through an interface into D365 which is Released to warehouse through RSAT?
We can of course wait for Microsoft to come up with solutions to overcome these limitations. In my case, I decided to accept the challenge to leverage the Power Platform to fill the gaps. In this series of blog posts I’ll gradually tackle each of the above limitations one by one.
Key step in the overall solution is to find a way to move away from executing our D365 test cases directly from the RSAT tool and to bring this into a higher control layer with broader capabilities than RSAT alone… Please welcome an RSAT connector for Microsoft Flow!
Get started with the QuickStart Guide I published on my OneDrive:
Patick Daxböck
september 26, 2019 @ 11:44
Hi Patrick, that is an great example!
Sadly i cant get the PS running!? And i have no idea what to do :). Do you have an advice? Thx.
Patrick Mouwen
september 26, 2019 @ 20:18
Hi Patrick – I’ve added a Quick Start Guide to my Github which highlights the steps: link
Hope this helps!
Patrick
vasanthKumar
september 29, 2019 @ 14:45
Hi Patrick Mouwen , I was not able to find the StartRsat.Xml file
Patrick Mouwen
oktober 17, 2019 @ 14:10
Hi Vasanth,
You can find startRSAT.ps1 (the Powershell script here): https://github.com/pmouwen/Public/tree/master/Run%20RSAT%20from%20Flow
I did not export the Flow definition as you can easily replicate this by the steps highlighted in the video?
Let me know if you run into trouble.
Patrick
Patrick Mouwen
februari 4, 2020 @ 21:58
Hi Vasanth,
Multiple people have reported issues finding/using the file – As it turned out the files on my GitHub were corrupted. Apologies for that. You can find the files on my OneDrive now: https://patrickmouwen-my.sharepoint.com/:f:/p/contact/Et8WFY5ROuJIhoofYibujkgBamZCCILr9GWLjqx5-GCn9w?e=4ObGL8
Apologies for the file corruption!
Patrick
Patrick Daxböck
oktober 1, 2019 @ 05:42
Thx Patrick, in the meantime i managed it 🙂
Thank you for the great tutorial.
Regards Patrick
Patrick Mouwen
februari 4, 2020 @ 21:59
Hi Patrick,
Multiple people have reported issues finding/using the file – As it turned out the files on my GitHub were corrupted. Apologies for that. You can find the files including a Quickstart Guide on my OneDrive now: https://patrickmouwen-my.sharepoint.com/:f:/p/contact/Et8WFY5ROuJIhoofYibujkgBamZCCILr9GWLjqx5-GCn9w?e=4ObGL8
Patrick
Thomas Dehlendorff
oktober 29, 2019 @ 11:24
Hi Patrick
I have tried to Run the PS script you are referring to but it is not working.
Looking at the downloaded PS script I cannot see any relations to the screen shot of the PS code of the task scheduler picture in your demo. The PS script doesn’t seem to contain the actual script needed to execute ? or how should I understand the it ?
Thomas
Patrick Mouwen
oktober 30, 2019 @ 20:48
Hi Thomas,
Did you follow the Quickstart Guide on my Github: https://github.com/pmouwen/Public/blob/master/Run%20RSAT%20from%20Flow/Run%20RSAT%20from%20MS%20FLOW%20-%20Quickstart%20Guide.pdf
Hopefully that does it for you!
Patrick
Patrick Mouwen
februari 4, 2020 @ 21:56
Hi Thomas,
Multiple people have reported issues finding/using the file – As it turned out the files on my GitHub were corrupted. Apologies for that. You can find the files on my OneDrive now: https://patrickmouwen-my.sharepoint.com/:f:/p/contact/Et8WFY5ROuJIhoofYibujkgBamZCCILr9GWLjqx5-GCn9w?e=4ObGL8
Apologies for the file corruption!
Patrick