Cyber Monday 2024! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Microsoft Exam MB-820 Topic 5 Question 25 Discussion

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

You must simulate the user interaction of selecting a posting option. The options must include:

* Ship

* Invoice

* Ship & Invoice

You need to create a test codeunit to run the test.

What should you use?

Show Suggested Answer Hide Answer
Suggested Answer: B

Handler methods are used in tests to simulate user interactions, such as responding to dialogs, confirmation messages, or option selections. Since you need to simulate the user interaction of selecting a posting option (Ship, Invoice, Ship & Invoice), a Handler method would be the appropriate choice for capturing this kind of user input.

Normal attribute and Test attribute are used for marking methods for test execution, but they do not simulate user interaction, making Handler method the correct answer.

For more details, see the Microsoft Docs on Test Codeunits and Handler Methods.


Contribute your Thoughts:

Patrick
5 days ago
I think the correct answer is B) Handler method. This allows you to create a test method that can intercept and handle the posting logic.
upvoted 0 times
...
Millie
7 days ago
I think we should use a Handler method for this.
upvoted 0 times
...

Save Cancel
az-700  pass4success  az-104  200-301  200-201  cissp  350-401  350-201  350-501  350-601  350-801  350-901  az-720  az-305  pl-300  

Warning: Cannot modify header information - headers already sent by (output started at /pass.php:70) in /pass.php on line 77