TestPage.OpenNew() Method
Version: Available or changed with runtime version 1.0.
Opens a blank test page in edit mode.
Syntax
TestPage.OpenNew()
Parameters
TestPage
Type: TestPage
An instance of the TestPage data type.
Remarks
If TestPage is already open, then a run-time error occurs, and the outcome of the test method is FAILURE.
Example
This example requires that you create a TestPage variable named CustTestPage with a Subtype of Customer List and that the codeunit in which you write the code is a test codeunit.
// Opens a blank Customer Card test page.
CustTestPage.OpenNEW;
See Also
TestPage Data Type
Get Started with AL
Developing Extensions
Athugasemdir
https://aka.ms/ContentUserFeedback.
Væntanlegt: Á árinu 2024 munum við hætta með GitHub-mál sem ábendingaleið fyrir efni og skipta því út fyrir nýtt ábendingakerfi. Frekari upplýsingar er að finna hér:Senda inn og skoða endurgjöf fyrir