You must simulate the user interaction of selecting a posting option. The options must include:
* Ship
* Invoice
* Ship & Invoice
You need to create a test codeunit to run the test.
What should you use?
Handler methods are used in tests to simulate user interactions, such as responding to dialogs, confirmation messages, or option selections. Since you need to simulate the user interaction of selecting a posting option (Ship, Invoice, Ship & Invoice), a Handler method would be the appropriate choice for capturing this kind of user input.
Normal attribute and Test attribute are used for marking methods for test execution, but they do not simulate user interaction, making Handler method the correct answer.
For more details, see the Microsoft Docs on Test Codeunits and Handler Methods.
Walker
8 days agoJulieta
16 days agoReyes
18 days agoCarey
3 days agoRobt
21 days agoGerman
22 days agoMelvin
20 hours agoTanja
6 days agoLelia
29 days agoPatrick
1 months agoLouvenia
16 days agoAllene
17 days agoAlyce
22 days agoMillie
1 months ago