Muokkaa

Jaa


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