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
searchProperties
Type: Microsoft.VisualStudio.TestTools.UITesting.PropertyExpressionCollectionA PropertyExpressionCollection object that contains the search properties criteria.
filterProperties
Type: Microsoft.VisualStudio.TestTools.UITesting.PropertyExpressionCollectionA PropertyExpressionCollection object that contains the filter properties.
Return Value
Type: Microsoft.VisualStudio.TestTools.UITest.Extension.BrowserService
A browser service object.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.