ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 86 - MB-820 discussion

Report
Export

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?

A.

SessionSettings Handle'

Answers
A.

SessionSettings Handle'

B.

SendNotificationHandler

Answers
B.

SendNotificationHandler

C.

Recall Notification Hand let

Answers
C.

Recall Notification Hand let

D.

StrMenuHandler

Answers
D.

StrMenuHandler

Suggested answer: D

Explanation:

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.

asked 13/10/2024
Arthur Moron
31 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first