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 3 Question 41 Discussion

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

You ate creating a test codeumt for a company that uses Business Central. The company requites the following list of choices while posting a sales order:

* Ship

* Invoice

* Ship & Invoice

You must create a test codeunit that automatically selects one of these options. You need to create the test codeunit Which handler should you use?

Show Suggested Answer Hide Answer
Suggested Answer: D

StrMenuHandler is used to simulate the selection of an option from a string-based menu, such as the 'Ship,' 'Invoice,' or 'Ship & Invoice' options when posting a sales order. This handler allows you to programmatically select an option during automated testing.

Other handlers, such as SessionSettingsHandler or SendNotificationHandler, do not simulate the selection of menu choices, which is specifically required in this scenario.

For more details on StrMenuHandler and how it simulates user interaction with menu choices, refer to the Test Handlers in Business Central.


Contribute your Thoughts:

0/2000 characters
Jamal
9 days ago
B) SendNotificationHandler, because who doesn't love a good notification these days? It's the new black.
upvoted 0 times
...
Jarod
14 days ago
C) Recall Notification Hand let? Really? That's about as useful as a chocolate teapot.
upvoted 0 times
...
Jill
19 days ago
D) StrMenuHandler seems like the obvious choice here. Gotta love those good old-fashioned menus!
upvoted 0 times
...
Karima
24 days ago
StrMenuHandler sounds familiar, but I can't remember if it was specifically for handling menu options or something else. This is tricky!
upvoted 0 times
...
Eun
29 days ago
I feel like the SendNotificationHandler was mentioned in a context about alerts, but I don't see how it fits here.
upvoted 0 times
...
Mickie
1 month ago
I remember discussing the different handlers, but I can't recall what the SessionSettings Handle actually does. Could it be related to user preferences?
upvoted 0 times
...
Micaela
1 month ago
I think we might have covered something similar in our last practice session, but I'm not entirely sure which handler is the right one for this scenario.
upvoted 0 times
...
Oren
1 month ago
Ugh, these types of questions always trip me up. I'm going to need to really focus and think through the options carefully. Hopefully, I can figure out the right approach.
upvoted 0 times
...
Denny
2 months ago
I've got a good feeling about this. The StrMenuHandler sounds like the perfect fit for this scenario. I'll make sure to test it thoroughly before submitting.
upvoted 0 times
...
Tammy
2 months ago
I'm a bit confused on this one. Do we need to create a custom handler, or can we use one of the built-in handlers? I'll have to double-check the documentation.
upvoted 0 times
...
Nieves
2 months ago
Okay, let's see here. I'm pretty sure the StrMenuHandler is the way to go, since we need to automatically select one of the listed options.
upvoted 0 times
...
Socorro
2 months ago
Hmm, this looks like a tricky one. I think I'll need to carefully review the options and think through the appropriate handler to use.
upvoted 0 times
...

Save Cancel