12
Currently, you have to define a handler function for any page or confirm or message that would show up during an automated test. If the handler function is not executed, the test fails.

There are some instances where - if you do more than just a unit test with a single value - you don't know, if the confirm or message will or will not show up. In this case, it would be ideal that you can define a handler function that either should only be executed under a certain condition or that is optional.

And then, you should be able to validate in code, if the handler function was executed or not and if it should have been.
Category: Development
STATUS DETAILS
Needs Votes
Ideas Administrator

Thank you for this suggestion! Currently this is not on our roadmap. We are tracking this idea and if it gathers more votes and comments we will consider it in the future.

Best regards,
Business Central Team