title | description | ms.author | ms.date | ms.topic | author | ms.reviewer |
---|---|---|---|---|---|---|
TestPage.OpenEdit() Method |
Opens a test page in edit mode. |
solsen |
05/14/2024 |
reference |
SusanneWindfeldPedersen |
solsen |
Version: Available or changed with runtime version 1.0.
Opens a test page in edit mode.
TestPage.OpenEdit()
TestPage
Type: TestPage
An instance of the TestPage data type.
If TestPage is already open, then a run-time error occurs, and the outcome of the test method is FAILURE.
If the page to which TestPage refers is a card page, then the data that is loaded on the page is from the first row in the dataset.
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 the TestPage in edit mode.
CustTestPage.OpenEdit()
TestPage Data Type
Get Started with AL
Developing Extensions