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

Announcements

No record found.

News and Announcements icon
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
    Microsoft Employee 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

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 1,965 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,125 Super User 2026 Season 1

#3
Dhiren Nagar Profile Picture

Dhiren Nagar 961 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans