Export (0) Print
Expand All

BrowserService Class

Provides methods and properties to automate the browser Microsoft Test Manager.

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

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

public abstract class BrowserService : IDisposable

The BrowserService type exposes the following members.

  NameDescription
Protected methodBrowserServiceInitializes a new instance of the BrowserService class.
Top

  NameDescription
Public propertyDocumentWindowGets the document window of the browser.
Public propertyTopLevelWindowGets the top-level window of the browser.
Public propertyUriGets the uniform resource identifier (URI) for the page that is loaded in the browser.
Public propertyVersionGets the version of the browser.
Top

  NameDescription
Public methodBackNavigates to the previous item in the history list.
Public methodCloseCloses the browser.
Public methodDisposeReleases all resources that are used by the BrowserService.
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 methodForwardNavigates the next page in the history list.
Public methodGetHashCodeServes as a hash function for a particular type. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodNavigateToHomepageNavigates the browser to its registered home page.
Public methodNavigateToUrlNavigates the browser to the specified URI.
Public methodPerformDialogActionExecutes the provided browser dialog action in the browser by using the provided parameter value.
Public methodRefreshReloads the current page in the browser.
Public methodStopPageLoadStops loading the current page into the browser.
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