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
3 months agoYoko
3 months agoTyra
3 months agoMarget
4 months agoLevi
4 months agoJulianna
4 months agoElke
4 months agoJin
4 months agoShawna
5 months agoMyrtie
5 months agoLouvenia
5 months agoLeila
5 months agoJohnna
5 months agoGolda
5 months agoWalker
1 year agoJulieta
1 year agoReyes
1 year agoBrittni
1 year agoElina
1 year agoDevora
1 year agoCarey
1 year agoRobt
1 year agoGerman
1 year agoMelvin
1 year agoTanja
1 year agoLelia
1 year agoPatrick
1 year agoOdette
1 year agoLouvenia
1 year agoAllene
1 year agoAlyce
1 year agoMillie
1 year ago