TestPage.OpenView() Method
Version: Available or changed with runtime version 1.0.
Opens a test page in view mode.
Syntax
TestPage.OpenView()
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.
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.
Example
This example requires that you create a 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 Customer Card on the first Customer in the dataset.
CustTestPage.OpenView;
See Also
TestPage Data Type
Get Started with AL
Developing Extensions
Feedback
https://aka.ms/ContentUserFeedback.
Binnenkort beschikbaar: In de loop van 2024 zullen we GitHub-problemen geleidelijk uitfaseren als het feedbackmechanisme voor inhoud en deze vervangen door een nieuw feedbacksysteem. Zie voor meer informatie:Feedback verzenden en weergeven voor