Interface
ISupportSearchHost

Implemented by hosts that support search

Definition

Namespace:ArtOfTest.Common

Assembly:ArtOfTest.WebAii.dll

Syntax:

cs-api-definition
public interface ISupportSearchHost

Derived Classes: AspNetHostBrowserBrowserDesktopApplicationPopupDesktopApplicationWindowSilverlightAppWpfWindowVisualTreeHost

Methods

LocateAllInHost(string[])

Find all target elements from the root of this host.

Declaration

cs-api-definition
IList<ITargetElement> LocateAllInHost(string[] expression)

Parameters

expression

string[]

The expression to match

Returns

IList<ITargetElement>

The list of matching elements

LocateInHost(string[])

Find a target element from the root of this host.

Declaration

cs-api-definition
ITargetElement LocateInHost(string[] expression)

Parameters

expression

string[]

The expression parameters to use.

Returns

ITargetElement