BrowserWindow Methods

The BrowserWindow type exposes the following members.

  NameDescription
Public method Back Makes the Web browser go back to the previous Web page.
Public method CaptureImage Captures the image of the UITestControl. The UITestControl must be present on the screen. (Inherited from UITestControl.)
Public method Static member ClearCache Clears the cache of the Web browser.
Public method Static member ClearCookies Clears the cookies of the Web browser.
Public method Close Closes the application that is under test. (Inherited from ApplicationUnderTest.)
Public method CopyFrom Creates a user interface (UI) control object that references the same element on the user interface as the original control. (Overrides UITestControl.CopyFrom(UITestControl).)
Public method Dispose() Releases all resources that are used by the ApplicationUnderTest. (Inherited from ApplicationUnderTest.)
Protected method Dispose(Boolean) Releases the unmanaged resources that are used by the BrowserWindow and optionally releases the managed resources. (Overrides ApplicationUnderTest.Dispose(Boolean).)
Public method DrawHighlight Highlights the control. (Inherited from UITestControl.)
Public method EnsureClickable() Scrolls the user interface to make sure that the control is clickable. (Inherited from UITestControl.)
Public method EnsureClickable(Point) Scrolls the user interface to a specific point to make sure that the control is clickable. (Inherited from UITestControl.)
Public method Equals Determines whether the specified UITestControl is equal to the current UITestControl. (Inherited from UITestControl.)
Protected method Finalize Finalizer for ApplicationUnderTest. (Inherited from ApplicationUnderTest.)
Public method Find Finds this application window in the user interface. (Inherited from ApplicationUnderTest.)
Public method FindMatchingControls Returns a collection of all UITestControls that match the specified SearchProperties and FilterProperties. (Inherited from UITestControl.)
Public method Forward Makes the Web browser go forward to the next page in the history list.
Public method Static member FromProcess Creates a reference to a Web browser window that is running in an existing process.
Public method GetChildren Returns a collection of all first-level children of the current UITestControl. (Inherited from UITestControl.)
Public method GetClickablePoint Returns a clickable point on the control. (Inherited from UITestControl.)
Public method GetHashCode Returns a unique value that represents the current UITestControl instance. (Inherited from UITestControl.)
Public method GetParent Returns the parent of the current UITestControl. (Inherited from UITestControl.)
Public method GetProperty Gets the value of the specified property. (Inherited from UITestControl.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method GetUITestControlsForSearch Returns an array of UITestControl objects that will be used for searching. (Inherited from UITestControl.)
Public method Static member Launch() Launches a Web browser window and returns the Web browser window object.
Public method Static member Launch(String[]) Launches a Web browser window by using the given array of command-line arguments and returns the browser window object.
Public method Static member Launch(Uri) Launches a Web browser window by using the given URI and returns the Web browser window object.
Public method Static member Locate Finds a Web browser window by using the window title and returns a corresponding browser window object.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method NavigateToHomepage Opens the home page in the Web browser window.
Public method NavigateToUrl Opens the specified Web page in the Web browser.
Public method PerformDialogAction(BrowserDialogAction) Searches for a scripted Web dialog and performs the specified action.
Public method PerformDialogAction(BrowserDialogAction, Object) Searches for a scripted Web dialog and performs the specified action by using the provided parameter value.
Public method Refresh Refreshes the Web browser window.
Public method SetFocus Sets the keyboard focus to the UITestControl. (Inherited from UITestControl.)
Public method SetProperty Sets the value of a given property. (Inherited from UITestControl.)
Protected method Shutdown Forces the application to shut down. (Inherited from ApplicationUnderTest.)
Public method StopPageLoad Stops loading the page in the Web browser window.
Public method ToString Returns a String that represents the current UITestControl. (Inherited from UITestControl.)
Public method TryGetClickablePoint Returns a clickable point in the UITestControl. If the control is not clickable, this method returns false. (Inherited from UITestControl.)
Public method WaitForControlCondition(Predicate<UITestControl>) Blocks the current thread until this control meets the specified condition, or until the default time-out expires. (Inherited from UITestControl.)
Public method WaitForControlCondition(Predicate<UITestControl>, Int32) Blocks the current thread until this control meets the specified condition, or until the specified time-out expires. (Inherited from UITestControl.)
Public method WaitForControlEnabled() Blocks the current thread until this control is enabled, or until the default time-out expires. (Inherited from UITestControl.)
Public method WaitForControlEnabled(Int32) Blocks the current thread until this control is enabled, or until the specified time-out expires. (Inherited from UITestControl.)
Public method WaitForControlExist() Blocks the current thread until this control occurs in the user interface, or until the default time-out expires. (Inherited from UITestControl.)
Public method WaitForControlExist(Int32) Blocks the current thread until this control occurs in the user interface, or until the specified time-out expires. (Inherited from UITestControl.)
Public method WaitForControlNotExist() Blocks the current thread until this control no longer exists in the user interface, or until the default time-out expires. (Inherited from UITestControl.)
Public method WaitForControlNotExist(Int32) Blocks the current thread until this control no longer occurs in the user interface, or until the specified time-out expires. (Inherited from UITestControl.)
Public method WaitForControlPropertyEqual(String, Object) Blocks the current thread until the specified property of this control is equal to the specified value, or until the default time-out expires. (Inherited from UITestControl.)
Public method WaitForControlPropertyEqual(String, Object, Int32) Blocks the current thread until the specified property of this control is equal to the specified value, or until the specified time-out expires. (Inherited from UITestControl.)
Public method WaitForControlPropertyNotEqual(String, Object) Blocks the current thread until the specified property of this control is not equal to the specified value, or until the default time-out expires. (Inherited from UITestControl.)
Public method WaitForControlPropertyNotEqual(String, Object, Int32) Blocks the current thread until the specified property of this control is not equal to the specified value, or until the specified time-out expires. (Inherited from UITestControl.)
Public method WaitForControlReady() Blocks the current thread until this control is ready to receive mouse or keyboard input, or until the default time-out expires. (Inherited from UITestControl.)
Public method WaitForControlReady(Int32) Blocks the current thread until this control is ready to receive mouse or keyboard input, or until the specified time-out expires. (Inherited from UITestControl.)
Top

Community Additions

ADD
Show: