TestPage.FindFirstField(TestField, Any) Method

Version: Available or changed with runtime version 1.0.

Finds the first field in the data set that is displayed on a test page.

Syntax

[Ok := ]  TestPage.FindFirstField(Field: TestField, Value: Any)

Parameters

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

Field
 Type: TestField
The field to find.

Value
 Type: Any
The value of the field.

Return Value

[Optional] Ok
 Type: Boolean
true if the operation was successful; otherwise false. If you omit this optional return value and the operation does not execute successfully, a runtime error will occur.

See Also

TestPage Data Type
Get Started with AL
Developing Extensions