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.
Olive
8 months agoYoko
9 months agoTyra
9 months agoMarget
9 months agoLevi
9 months agoJulianna
10 months agoElke
10 months agoJin
10 months agoShawna
10 months agoMyrtie
10 months agoLouvenia
10 months agoLeila
10 months agoJohnna
10 months agoGolda
10 months agoWalker
2 years agoJulieta
2 years agoReyes
2 years agoBrittni
2 years agoElina
2 years agoDevora
2 years agoCarey
2 years agoRobt
2 years agoGerman
2 years agoMelvin
2 years agoTanja
2 years agoLelia
2 years agoPatrick
2 years agoOdette
2 years agoLouvenia
2 years agoAllene
2 years agoAlyce
2 years agoMillie
2 years ago