Skip to content

Latest commit

 

History

History
43 lines (35 loc) · 1.36 KB

testpage-getvalidationerror-method.md

File metadata and controls

43 lines (35 loc) · 1.36 KB
title description ms.author ms.date ms.topic author ms.reviewer
TestPage.GetValidationError([Integer]) Method
Gets the list of all validation error that occurred on a test page as a string.
solsen
05/14/2024
reference
SusanneWindfeldPedersen
solsen

TestPage.GetValidationError([Integer]) Method

Version: Available or changed with runtime version 1.0.

Gets the list of all validation error that occurred on a test page as a string.

Syntax

Error :=   TestPage.GetValidationError([Index: Integer])

Parameters

TestPage
 Type: TestPage
An instance of the TestPage data type.

[Optional] Index
 Type: Integer
The index of the validation error that occurred on the test page.

Return Value

Error
 Type: Text
A string where each line represents a validation error that occured on the test page.

See Also

TestPage Data Type
Get Started with AL
Developing Extensions