TestAction.Invoke() Method
Version: Available or changed with runtime version 1.0.
Invokes an action on a test page.
Syntax
TestAction.Invoke()
Parameters
TestAction
Type: TestAction
An instance of the TestAction data type.
Remarks
All actions that are available on the page are also available on the test page.
Example
var
InvtDocumentHeader: Record "Invt. Document Header";
InvtShipment: TestPage "Invt. Shipment";
begin
// Open Item Shipment page
InvtShipment.OpenEdit;
InvtShipment.GotoRecord(InvtDocumentHeader);
// Push "Print" on the page ribbon.
InvtShipment.Print.Invoke();
end;
See Also
TestAction Data Type
No Method
Get Started with AL
Developing Extensions
Comentários
https://aka.ms/ContentUserFeedback.
Em breve: Ao longo de 2024, eliminaremos os problemas do GitHub como o mecanismo de comentários para conteúdo e o substituiremos por um novo sistema de comentários. Para obter mais informações, consulteEnviar e exibir comentários de