Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Provides methods and properties to automate the browser Microsoft Test Manager.
Inheritance Hierarchy
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)
Syntax
'Declaration
Public MustInherit Class BrowserService _
Implements IDisposable
public abstract class BrowserService : IDisposable
public ref class BrowserService abstract : IDisposable
[<AbstractClass>]
type BrowserService =
class
interface IDisposable
end
public abstract class BrowserService implements IDisposable
The BrowserService type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() |
BrowserService | Initializes a new instance of the BrowserService class. |
Top
Properties
Name | Description | |
---|---|---|
![]() |
DocumentWindow | Gets the document window of the browser. |
![]() |
TopLevelWindow | Gets the top-level window of the browser. |
![]() |
Uri | Gets the uniform resource identifier (URI) for the page that is loaded in the browser. |
![]() |
Version | Gets the version of the browser. |
Top
Methods
Name | Description | |
---|---|---|
![]() |
Back | Navigates to the previous item in the history list. |
![]() |
Close | Closes the browser. |
![]() |
Dispose | Releases all resources that are used by the BrowserService. |
![]() |
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
![]() |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() |
Forward | Navigates the next page in the history list. |
![]() |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() |
GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() |
NavigateToHomepage | Navigates the browser to its registered home page. |
![]() |
NavigateToUrl | Navigates the browser to the specified URI. |
![]() |
PerformDialogAction | Executes the provided browser dialog action in the browser by using the provided parameter value. |
![]() |
Refresh | Reloads the current page in the browser. |
![]() |
StopPageLoad | Stops loading the current page into the browser. |
![]() |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.