Export (0) Print
Expand All

BrowserFactory Class

Provides a base class for browser factories that create BrowserService objects for specific browsers.

System.Object
  Microsoft.VisualStudio.TestTools.UITest.Extension.BrowserFactory

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

public abstract class BrowserFactory

The BrowserFactory type exposes the following members.

  NameDescription
Protected methodBrowserFactoryInitializes a new instance of the BrowserFactory class.
Top

  NameDescription
Public propertyNameGets the name of this browser factory.
Public propertySupportedVersionsGets a list of browser versions that are supported by this browser factory.
Public propertyTechnologyManagerTypeNameGets the type name for the user interface technology manager to use for this browser factory.
Top

  NameDescription
Public methodEqualsDetermines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetBrowserHelperReturns a browser helper for the browsers that this factory supports.
Public methodGetBrowserSupportLevelReturns the numerical support level for the specified browser.
Public methodGetHashCodeServes as a hash function for a particular type. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodLaunch()Launches the browser and returns a browser service object.
Public methodLaunch(String[])Launches the browser by using the provided arguments and returns a browser service object.
Public methodLaunch(Uri)Launches the browser by using the provided uniform resource identifier (URI) and returns a browser service object.
Public methodLocate(IntPtr)Finds the browser that is identified by the provided window handle and returns a browser service object.
Public methodLocate(PropertyExpressionCollection, PropertyExpressionCollection)Finds the browser by using the provided search properties and filter properties.
Public methodLocateAllFinds all browsers that match the provided search properties and filter properties, and returns an array of browser service objects for those browsers.
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Top

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Community Additions

ADD
Show:
© 2014 Microsoft