web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested Answer

Handlers not working with TestRunner in BC16

(0) ShareShare
ReportReport
Posted on by 5

Hello,

I created a testcodeunit to test the MessageHandler and it works fine as expected, it was able to catch the message successfully.

I’ve created a testrunner codeunit which runs the testcodeunit i’ve created above. Run this codeunit and it gives me the error Unhandled UI.

Has anyone encountered this issue in BC16?

I have the same question (0)
  • Suggested answer
    THE Italian Profile Picture
    on at

    You could write directly your inquiry in the Test Tool Yammer thread

    www.yammer.com/.../

    (this might be private and you need to sign in)

    You could also use your twitter account and type [tag:bcalhelp] to submit your inquiry there.

  • Mohsin Abbas Profile Picture
    525 on at

    Hi
    Could you please provide a little more information about this error? Someone might be able to help you better if they can reproduce the issue.
    Thanks

  • daayvh Profile Picture
    5 on at

    Will put the inquiry in yammer. Thanks.

  • daayvh Profile Picture
    5 on at

    Hi Moshin,

    I believe the information in the description is sufficient and simple to follow to be able to replicate the issue.

    Just a testcodeunit with message and handler, and another codeunit is testrunner which runs the first codeunit.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

News and Announcements

Season of Giving Solutions is Here!

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 1,594

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 1,594

#3
YUN ZHU Profile Picture

YUN ZHU 748 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans