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
10 months agoYoko
10 months agoTyra
10 months agoMarget
11 months agoLevi
11 months agoJulianna
11 months agoElke
11 months agoJin
12 months agoShawna
12 months agoMyrtie
12 months agoLouvenia
12 months agoLeila
12 months agoJohnna
12 months agoGolda
12 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