TestedApplication.FindObject

Syntax:

FindObject(<Type>, <Title>, <Name>, <Timeout>)

Parameters:

<Type> (optional)

Type: Type.
The type of object you want to find.
Default value: Undefined.

<Title> (optional)

Type: String.
The object title, if applicable. May contain the wildcard characters "*" and "?".

<Name> (optional)

Type: String.
The object name, if applicable. May contain the wildcard characters "*" and "?".

<Timeout> (optional)

Type: Number.
The time period (in seconds) during which the search for object is performed. If the parameter value is not specified, the time is unlimited.
Default value: 0.

Returned value:

Type: TestedClientApplicationWindow; TestedForm; TestedFormGroup; TestedFormButton; TestedFormTable; TestedFormField; TestedFormDecoration; Undefined.
The first found object or Undefinedif the object cannot be found.

Description:

Performs search among the hierarchy of subordinated objects by specified parameters.

Availability:

Thin client, thick client.

    

1C:Enterprise Developer's Community