Share via


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)

Syntax

'Declaration
Public MustOverride Function Locate ( _
    searchProperties As PropertyExpressionCollection, _
    filterProperties As PropertyExpressionCollection _
) As BrowserService
public abstract BrowserService Locate(
    PropertyExpressionCollection searchProperties,
    PropertyExpressionCollection filterProperties
)
public:
virtual BrowserService^ Locate(
    PropertyExpressionCollection^ searchProperties, 
    PropertyExpressionCollection^ filterProperties
) abstract
abstract Locate : 
        searchProperties:PropertyExpressionCollection * 
        filterProperties:PropertyExpressionCollection -> BrowserService
public abstract function Locate(
    searchProperties : PropertyExpressionCollection, 
    filterProperties : PropertyExpressionCollection
) : BrowserService

Parameters

Return Value

Type: Microsoft.VisualStudio.TestTools.UITest.Extension.BrowserService
A browser service object.

.NET Framework Security

See Also

Reference

BrowserFactory Class

Locate Overload

Microsoft.VisualStudio.TestTools.UITest.Extension Namespace

BrowserService

PropertyExpressionCollection