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 Exam MB-820 Topic 5 Question 26 Discussion

Actual exam question for Microsoft's MB-820 exam
Question #: 26
Topic #: 5
[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:

Alpha
1 months ago
I see your point, but I still think A) SessionSettings Handle makes more sense in this scenario.
upvoted 0 times
...
Willetta
1 months ago
I'm not sure, but maybe A) SessionSettings Handler could work? It sounds like it might have something to do with the session settings, which could be relevant for selecting the options.
upvoted 0 times
...
Yuonne
1 months ago
D) StrMenuHandler is the correct answer here. We need to create a handler that can display a menu of options for the user to select from, and StrMenuHandler is the appropriate choice for that.
upvoted 0 times
Oren
15 days ago
D) StrMenuHandler is the correct answer here. We need to create a handler that can display a menu of options for the user to select from, and StrMenuHandler is the appropriate choice for that.
upvoted 0 times
...
Jerilyn
19 days ago
D) StrMenuHandler
upvoted 0 times
...
Maybelle
22 days ago
C) Recall Notification Hand let
upvoted 0 times
...
Alberto
24 days ago
B) SendNotificationHandler
upvoted 0 times
...
Wenona
28 days ago
A) SessionSettings Handle
upvoted 0 times
...
...
Kerrie
1 months ago
I disagree, I believe the correct answer is C) Recall Notification Handler.
upvoted 0 times
...
Alpha
2 months ago
I think the answer is A) SessionSettings Handle.
upvoted 0 times
...

Save Cancel