Deal of The Day! 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

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 & InvoiceYou must create a test codeunit that automatically selects one of these options. You need to create the test codeunit Which handler should you use?
D) StrMenuHandler
A) SessionSettings Handle'
B) SendNotificationHandler
C) Recall Notification Hand let

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
Bethanie
1 month ago
Good point! But what about B) SendNotificationHandler? It could also be relevant.
upvoted 0 times
...
Aleta
1 month ago
I’m leaning towards D) StrMenuHandler. It seems to fit the options provided.
upvoted 0 times
...
Lorean
1 month ago
I feel like A) SessionSettings Handle is the right choice. It manages session states.
upvoted 0 times
...
Bethanie
2 months ago
This question is tricky. I think it’s about user interaction.
upvoted 0 times
...
Barney
2 months ago
Not sure about this... why not just let users choose?
upvoted 0 times
...
Lorrie
2 months ago
Totally agree with A, it makes the most sense.
upvoted 0 times
...
Bettina
2 months ago
Wait, is D) StrMenuHandler even relevant here?
upvoted 0 times
...
Cheryl
2 months ago
I think B) SendNotificationHandler could work too.
upvoted 0 times
...
Phil
2 months ago
A) SessionSettings Handle is the right choice!
upvoted 0 times
...
Leonida
3 months ago
D) StrMenuHandler for sure. It's the menu that keeps on giving, like a never-ending buffet of options.
upvoted 0 times
...
Freeman
3 months ago
A) SessionSettings Handle' - wait, what? I'm more confused than a chameleon in a bag of Skittles.
upvoted 0 times
...
Jamal
3 months ago
B) SendNotificationHandler, because who doesn't love a good notification these days? It's the new black.
upvoted 0 times
...
Jarod
4 months ago
C) Recall Notification Hand let? Really? That's about as useful as a chocolate teapot.
upvoted 0 times
...
Jill
4 months ago
D) StrMenuHandler seems like the obvious choice here. Gotta love those good old-fashioned menus!
upvoted 0 times
...
Karima
4 months 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
4 months 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
4 months 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
4 months 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
5 months 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
5 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
5 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
5 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
5 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
Germaine
25 days ago
This is definitely tricky. I’m leaning towards SessionSettings Handle.
upvoted 0 times
...
...

Save Cancel