exam questions

Exam MB-820 All Questions

View all questions & answers for the MB-820 exam

Exam MB-820 topic 1 question 99 discussion

Actual exam question from Microsoft's MB-820
Question #: 99
Topic #: 1
[All MB-820 Questions]

A company has a test application.

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

• “Unhandled UI: Message”
• “Unhandled UI: Confirm”

You need to resolve the errors.

Which action should you take?

  • A. Create a separate test codeunit that has Message Handler and Confirm Handler methods.
  • B. Create the Message Handler and Confirm Handler methods in the test runner codeunit.
  • C. Create a separate test runner codeunit that has Message Handler and Confirm Handler methods.
  • D. Create the Message Handler and Confirm Handler methods in the test codeunit.
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
e9eacea
2 months, 1 week ago
Selected Answer: D
Answer is D
upvoted 1 times
...
Olafur
4 months, 2 weeks ago
Selected Answer: D
I am pretty sure the answer is D: "A test method can only call handler methods that are defined in the same test codeunit as the test method." https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/attributes/devenv-handlerfunctions-attribute
upvoted 3 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...