Hi @AengusHeaney, I'm currently investigating the possibility to use Test Studio for Dynamics 365 model-driven app.
I understand that testing component behavior is not supported by Test Studio yet. However I'm curious whether Test Studio team has any roadmap regarding this feature. Specifically, whether Test Studio can be expected to test Dynamics 365 model-driven app behavior in the near future.
I have made a lot of tests the past days and I think I have figured out what could cause my "stuck" issue.
It seems that it is due to a Timer control on my first screen.
This Timer control auto starts on the first screen and increment a context variable every second. When this Timer control is set to "Auto start", Test Studio stays stuck on the first step. I have to switch to another tab of my browser to make it works again. But when I come back to Test Studio it's stuck again.
When I "disable" the Timer Control by setting it to "Auto start" = false, everthing just works fine.
In the documentation for the Trace function it says:
All Trace messages can also be viewed in the Power Apps Monitor tool, which will help in debugging or identifying issues for real-time diagnostic sessions for your app.
I've tried adding Trace steps to my cases but nothing appears in the Monitor tool.
@AengusHeaney , to give you more information on my issue, the Timer control I use updates multiple labels (acting as time counters) on the sceen every second. I think the fact that the screen is continuously updating impact the way the Test Studio runs.
@LauraGB, I'll update the docs to clarify this statement. The Monitor tool provides a list of activities happening in your app when the app is played from the Canvas studio. If you have Trace messages in the app, these will be visible in the events shown in the Monitor tool.
Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.
Fill out a quick form to claim your user group badge now!
Attend for two days of expert-led learning and innovation on topics like AI and Analytics, powered by Dynamic Communities
Features releasing from October 2019 through March 2020
Join us for the Microsoft Business Applications Virtual Launch Event on Thursday, April 2, 2020, at 8:00 AM PST.
Innovate, Collaborate, Grow - The top training and networking event across the globe for Microsoft Business Applications