TestRequestPage.GetValidationError([Integer]) Method

Version: Available or changed with runtime version 1.0.

Gets the validation error that occurred on a test page.

Syntax

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

Parameters

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

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

Return Value

Error
 Type: Text
The validation error that occured at the specified index.

See Also

TestRequestPage Data Type
Get Started with AL
Developing Extensions