New Year Sale 2026! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Microsoft MB-820 Exam - Topic 4 Question 27 Discussion

Actual exam question for Microsoft's MB-820 exam
Question #: 27
Topic #: 4
[All MB-820 Questions]

A company has a test application.

A user observes the following error messages when running the test:

* "Unhandled Ul: Message'

* "Unhandled Ul: Confirm"

You need to resolve the errors. Which action should you take?

Show Suggested Answer Hide Answer
Suggested Answer: B

A user observes error messages such as:

'Unhandled UI: Message'

'Unhandled UI: Confirm'

These messages indicate that the test code is not handling system prompts like Message and Confirm dialogs, which can appear during test execution.

Options Explanation=

Message Handler and Confirm Handler methods are used to intercept and handle these UI prompts during automated testing.

These methods should be added to the test runner codeunit, which is responsible for running the tests and handling these system-level interactions.


Contribute your Thoughts:

0/2000 characters
Justine
3 months ago
Unhandled UI errors? That's surprising!
upvoted 0 times
...
Nicolette
3 months ago
I'm not sure about D, that could lead to more issues.
upvoted 0 times
...
Shawana
3 months ago
Wait, why not just go with C? Seems simpler.
upvoted 0 times
...
Kenny
4 months ago
Definitely agree with B!
upvoted 0 times
...
Mariann
4 months ago
I think option B makes the most sense.
upvoted 0 times
...
Roosevelt
4 months ago
I vaguely remember something about needing separate codeunits for better organization, but I can't decide if that applies here or not.
upvoted 0 times
...
Keith
4 months ago
I feel like option B makes sense since it mentions creating the methods directly in the test runner, which seems like a good approach to handle those errors.
upvoted 0 times
...
Beckie
5 months ago
I think we practiced a question where we had to create handler methods, but I can't recall if they should be in a separate test runner or just in the test codeunit itself.
upvoted 0 times
...
Hyun
5 months ago
I remember we discussed how handling messages is crucial in test applications, but I'm not sure if it should be in a separate codeunit or the same one.
upvoted 0 times
...
Nell
5 months ago
I'm feeling pretty confident about this one. I think option C is the way to go - create a separate test codeunit with the necessary handlers. That seems like the most straightforward and maintainable solution.
upvoted 0 times
...
Robt
5 months ago
Based on the question, it seems like creating a separate test codeunit with the Message Handler and Confirm Handler methods would be the best approach. That way, I can keep my test logic and my handler logic separate and organized.
upvoted 0 times
...
Dean
5 months ago
Wait, I'm a bit confused. Do I need to create a separate test runner codeunit, or can I just put the handlers in the test codeunit itself? I want to make sure I understand the requirements properly.
upvoted 0 times
...
Ammie
5 months ago
Okay, I think I've got this. The key is to handle those unhandled UI messages, so I'll need to create some kind of handler for them.
upvoted 0 times
...
Ricki
5 months ago
Hmm, this looks like a tricky one. I'll need to think through the different options carefully to make sure I choose the right approach.
upvoted 0 times
...
Annice
1 year ago
I think I'll go with creating a separate test runner codeunit as well. It seems like the best option.
upvoted 0 times
...
Kattie
1 year ago
I see your point, Ngoc. But having a separate test runner codeunit can help with better code maintenance.
upvoted 0 times
...
Ngoc
1 year ago
But wouldn't it be easier to just create the methods in the test codeunit?
upvoted 0 times
...
Annice
1 year ago
I agree with Kattie. It would be more organized that way.
upvoted 0 times
...
Kattie
1 year ago
I think we should create a separate test runner codeunit with Message Handler and Confirm Handler methods.
upvoted 0 times
...
Sharen
1 year ago
I'm going with C on this one. Separating the test codeunit with the handlers just makes sense for better organization and maintainability. Plus, it'll look great on my resume!
upvoted 0 times
Johanna
1 year ago
User 2: Yeah, having separate test codeunit with handlers is a good practice.
upvoted 0 times
...
Daniel
1 year ago
User 1: I think C is the best option too. It will definitely help with organization.
upvoted 0 times
...
...
Annelle
1 year ago
B is the way to go here. Keep it simple and add the handlers right into the test runner codeunit. Efficiency is key, folks.
upvoted 0 times
...
Aleshia
1 year ago
Looks like we need to create a separate test runner codeunit to handle those pesky UI errors. Gotta love those cryptic error messages, am I right?
upvoted 0 times
Donette
1 year ago
C: Let's go ahead and implement that to resolve the issue with the error messages.
upvoted 0 times
...
Frank
1 year ago
B: Yeah, that sounds like the best solution to handle those UI errors.
upvoted 0 times
...
Rebbeca
1 year ago
A: I think we should create a separate test runner codeunit with Message Handler and Confirm Handler methods.
upvoted 0 times
...
...

Save Cancel