New Year Sale ! 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:

Currently there are no comments in this discussion, be the first to comment!


Save Cancel