Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

BrowserFactory::Locate Method (PropertyExpressionCollection^, PropertyExpressionCollection^)

 

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

Namespace:   Microsoft.VisualStudio.TestTools.UITest.Extension
Assembly:  Microsoft.VisualStudio.TestTools.UITest.Extension (in Microsoft.VisualStudio.TestTools.UITest.Extension.dll)

public:
virtual BrowserService^ Locate(
	PropertyExpressionCollection^ searchProperties,
	PropertyExpressionCollection^ filterProperties
) abstract

Parameters

searchProperties
Type: Microsoft.VisualStudio.TestTools.UITesting::PropertyExpressionCollection^

A PropertyExpressionCollection object that contains the search properties criteria.

filterProperties
Type: Microsoft.VisualStudio.TestTools.UITesting::PropertyExpressionCollection^

A PropertyExpressionCollection object that contains the filter properties.

Return Value

Type: Microsoft.VisualStudio.TestTools.UITest.Extension::BrowserService^

A browser service object.

Return to top
Show: