FindByCustomTControl Method (PredicateTControl)

Progress Software Corporation - Testing Framework 2018.1 Automation Infrastructure
Get a control by using custom predicate. This function will try to eliminate any elements that are not convertable to TControl type.

Namespace:  ArtOfTest.WebAii.Core
Assembly:  ArtOfTest.WebAii (in ArtOfTest.WebAii.dll) Version: 2018.1.116.0 (2018.1.116.0)
Syntax

public TControl ByCustom<TControl>(
	Predicate<TControl> predicate
)
where TControl : new(), Control

Parameters

predicate
Type: SystemPredicateTControl
The predicate.

Type Parameters

TControl
The control type.

Return Value

Type: TControl
The first found control.
See Also

Reference