BrowserFactory.LocateAll Method

Definition

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

public:
 abstract cli::array <Microsoft::VisualStudio::TestTools::UITest::Extension::BrowserService ^> ^ LocateAll(Microsoft::VisualStudio::TestTools::UITesting::PropertyExpressionCollection ^ searchProperties, Microsoft::VisualStudio::TestTools::UITesting::PropertyExpressionCollection ^ filterProperties);
public abstract Microsoft.VisualStudio.TestTools.UITest.Extension.BrowserService[] LocateAll (Microsoft.VisualStudio.TestTools.UITesting.PropertyExpressionCollection searchProperties, Microsoft.VisualStudio.TestTools.UITesting.PropertyExpressionCollection filterProperties);
abstract member LocateAll : Microsoft.VisualStudio.TestTools.UITesting.PropertyExpressionCollection * Microsoft.VisualStudio.TestTools.UITesting.PropertyExpressionCollection -> Microsoft.VisualStudio.TestTools.UITest.Extension.BrowserService[]
Public MustOverride Function LocateAll (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

An array of browser service objects.

Applies to