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::LocateAll Method (PropertyExpressionCollection^, PropertyExpressionCollection^)

 

Finds all browsers that match the provided search properties and filter properties, and returns an array of browser service objects for those browsers.

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

public:
virtual array<BrowserService^>^ LocateAll(
	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: array<Microsoft.VisualStudio.TestTools.UITest.Extension::BrowserService^>^

An array of browser service objects.

Return to top
Show: