BrowserFactory.Locate Method

Definition

Overloads

Locate(IntPtr)

Finds the browser that is identified by the provided window handle and returns a browser service object.

Locate(PropertyExpressionCollection, PropertyExpressionCollection)

Finds the browser by using the provided search properties and filter properties.

Locate(IntPtr)

Finds the browser that is identified by the provided window handle and returns a browser service object.

public:
 abstract Microsoft::VisualStudio::TestTools::UITest::Extension::BrowserService ^ Locate(IntPtr handle);
public abstract Microsoft.VisualStudio.TestTools.UITest.Extension.BrowserService Locate (IntPtr handle);
abstract member Locate : nativeint -> Microsoft.VisualStudio.TestTools.UITest.Extension.BrowserService
Public MustOverride Function Locate (handle As IntPtr) As BrowserService

Parameters

handle
IntPtr

nativeint

An IntPtr that identifies a browser window.

Returns

A browser service object.

Applies to

Locate(PropertyExpressionCollection, PropertyExpressionCollection)

Finds the browser by using the provided search properties and filter properties.

public:
 abstract Microsoft::VisualStudio::TestTools::UITest::Extension::BrowserService ^ Locate(Microsoft::VisualStudio::TestTools::UITesting::PropertyExpressionCollection ^ searchProperties, Microsoft::VisualStudio::TestTools::UITesting::PropertyExpressionCollection ^ filterProperties);
public abstract Microsoft.VisualStudio.TestTools.UITest.Extension.BrowserService Locate (Microsoft.VisualStudio.TestTools.UITesting.PropertyExpressionCollection searchProperties, Microsoft.VisualStudio.TestTools.UITesting.PropertyExpressionCollection filterProperties);
abstract member Locate : Microsoft.VisualStudio.TestTools.UITesting.PropertyExpressionCollection * Microsoft.VisualStudio.TestTools.UITesting.PropertyExpressionCollection -> Microsoft.VisualStudio.TestTools.UITest.Extension.BrowserService
Public MustOverride Function Locate (searchProperties As PropertyExpressionCollection, filterProperties As PropertyExpressionCollection) As BrowserService

Parameters

searchProperties
PropertyExpressionCollection

A PropertyExpressionCollection object that contains the search properties criteria.

filterProperties
PropertyExpressionCollection

A PropertyExpressionCollection object that contains the filter properties.

Returns

A browser service object.

Applies to