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

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