Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

BrowserFactory.LocateAll Method

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 abstract BrowserService[] LocateAll(
	PropertyExpressionCollection searchProperties,
	PropertyExpressionCollection filterProperties
)

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[]
An array of browser service objects.

Community Additions

ADD
Show:
© 2015 Microsoft