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
1 months agoJulieta
2 months agoReyes
2 months agoBrittni
16 days agoElina
21 days agoDevora
24 days agoCarey
1 months agoRobt
2 months agoGerman
2 months agoMelvin
1 months agoTanja
1 months agoLelia
2 months agoPatrick
2 months agoOdette
1 months agoLouvenia
2 months agoAllene
2 months agoAlyce
2 months agoMillie
2 months ago