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 2 Question 50 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 2 Question 50 Discussion

Actual exam question for Microsoft's MB-820 exam
Question #: 50
Topic #: 2
[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
Kassandra
3 days ago
I think A) SessionSettings Handle is the best choice. It fits the context.
upvoted 0 times
...
Eun
8 days ago
This question is tricky. I feel unsure about the handlers.
upvoted 0 times
...
Katina
13 days ago
Really? I thought we were supposed to use B) SendNotificationHandler!
upvoted 0 times
...
Margart
18 days ago
I’m not so sure about that, A seems more fitting.
upvoted 0 times
...
Thurman
23 days ago
Wait, isn't D) StrMenuHandler more relevant here?
upvoted 0 times
...
Chantell
29 days ago
Totally agree, it makes the most sense!
upvoted 0 times
...
Theron
1 month ago
I think A) SessionSettings Handle is the right choice.
upvoted 0 times
...
Becky
1 month ago
Hmm, I’m not convinced about any of these options.
upvoted 0 times
...
Bernadine
1 month ago
A) SessionSettings Handle is definitely the way to go!
upvoted 0 times
...
Bea
2 months ago
Wait, are we sure about that? I thought it was B) SendNotificationHandler.
upvoted 0 times
...
Bea
2 months ago
I disagree, D) StrMenuHandler seems more appropriate.
upvoted 0 times
...
Octavio
2 months ago
I think A) SessionSettings Handle is the right choice.
upvoted 0 times
...
Curt
2 months ago
I don't recall the specifics of each handler, but I think the Recall Notification Handler might be related to handling user actions. It could be worth considering.
upvoted 0 times
...
Tammy
2 months ago
I'm a bit confused about the options. I feel like the StrMenuHandler might be the right choice since it deals with menu selections, but I need to double-check my notes.
upvoted 0 times
...
Lawanda
3 months ago
I remember practicing a similar question where we had to choose a handler for notifications. I wonder if the SendNotificationHandler could be relevant here?
upvoted 0 times
...
Ryan
3 months ago
I think we might need to use the SessionSettings Handler since it deals with user session preferences, but I'm not entirely sure.
upvoted 0 times
...

Save Cancel