Automates the operations of test applications.
Inheritance Hierarchy
Object
  Microsoft.VisualStudio.TestTools.UITesting.UITestControl
    Microsoft.VisualStudio.TestTools.UITesting.ApplicationBase
      Microsoft.VisualStudio.TestTools.UITesting.ApplicationUnderTest
        Microsoft.VisualStudio.TestTools.UITesting.BrowserWindow
Namespace:  Microsoft.VisualStudio.TestTools.UITesting
Assembly:  Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)
Syntax
'Declaration
<CLSCompliantAttribute(True)> _
Public Class ApplicationUnderTest _
    Inherits ApplicationBase _
    Implements IDisposable
[CLSCompliantAttribute(true)]
public class ApplicationUnderTest : ApplicationBase, 
    IDisposable
[CLSCompliantAttribute(true)]
public ref class ApplicationUnderTest : public ApplicationBase, 
    IDisposable
[<CLSCompliantAttribute(true)>]
type ApplicationUnderTest =  
    class 
        inherit ApplicationBase 
        interface IDisposable 
    end
public class ApplicationUnderTest extends ApplicationBase implements IDisposable
The ApplicationUnderTest type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| .gif) | ApplicationUnderTest | Initializes a new instance of the ApplicationUnderTest class. | 
Top
Properties
| Name | Description | |
|---|---|---|
| .gif) | AlwaysOnTop | Gets a value that indicates whether the application window always appears on top. | 
| .gif) | BoundingRectangle | (Inherited from UITestControl.) | 
| .gif) | ClassName | (Inherited from UITestControl.) | 
| .gif) | CloseOnPlaybackCleanup | (Inherited from ApplicationBase.) | 
| .gif) | Container | (Inherited from UITestControl.) | 
| .gif) | ControlType | (Inherited from UITestControl.) | 
| .gif) | Enabled | (Inherited from UITestControl.) | 
| .gif) | Exists | (Inherited from UITestControl.) | 
| .gif) | FilterProperties | (Inherited from UITestControl.) | 
| .gif) | FriendlyName | (Inherited from UITestControl.) | 
| .gif) | HasFocus | (Inherited from UITestControl.) | 
| .gif) | HasTitleBar | Gets a value that indicates whether the application window has a title bar. | 
| .gif) | Height | (Inherited from UITestControl.) | 
| .gif) | IsTopParent | (Inherited from UITestControl.) | 
| .gif) | Left | (Inherited from UITestControl.) | 
| .gif) | Maximized | Gets or sets a value that indicates whether the application window is maximized. | 
| .gif) | Minimized | Gets or sets a value that indicates whether the application window is minimized. | 
| .gif) | Name | (Inherited from UITestControl.) | 
| .gif) | NativeElement | (Inherited from UITestControl.) | 
| .gif) | Popup | Gets a value that indicates whether the application window is a pop-up window. | 
| .gif) | Process | Gets or sets the underlying Process object. | 
| .gif) | Resizable | Gets a value that indicates whether the application window is resizable. | 
| .gif) | Restored | Gets or sets a value that indicates whether the application window is restored. | 
| .gif) | SearchConfigurations | (Inherited from UITestControl.) | 
| .gif) | SearchProperties | (Inherited from UITestControl.) | 
| .gif) | SearchPropertiesSetExplicitly | (Inherited from UITestControl.) | 
| .gif) | ShowInTaskbar | Gets a value that indicates whether the program icon appears in the taskbar. | 
| .gif) | State | (Inherited from UITestControl.) | 
| .gif) | TechnologyName | (Inherited from UITestControl.) | 
| .gif) | Title | Gets or sets the title of the application that is under test. | 
| .gif) | Top | (Inherited from UITestControl.) | 
| .gif) | TopParent | (Inherited from UITestControl.) | 
| .gif) | Transparent | Gets a value that indicates whether the application window is transparent. | 
| .gif) | Width | (Inherited from UITestControl.) | 
| .gif) | WindowHandle | (Inherited from UITestControl.) | 
| .gif) | WindowTitles | (Inherited from UITestControl.) | 
Top
Methods
| Name | Description | |
|---|---|---|
| .gif) | CaptureImage | (Inherited from UITestControl.) | 
| .gif) | Close | Closes the application that is under test. (Overrides ApplicationBase.Close().) | 
| .gif) | CopyFrom | (Inherited from UITestControl.) | 
| .gif) | Dispose() | Releases all resources that are used by the ApplicationUnderTest. | 
| .gif) | Dispose(Boolean) | Releases all resources that are used by the ApplicationUnderTest. | 
| .gif) | DrawHighlight | (Inherited from UITestControl.) | 
| .gif) | EnsureClickable() | (Inherited from UITestControl.) | 
| .gif) | EnsureClickable(Point) | (Inherited from UITestControl.) | 
| .gif) | Equals | (Inherited from UITestControl.) | 
| .gif) | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | 
| .gif) | Find | Finds this application window in the user interface. (Overrides UITestControl.Find().) | 
| .gif) | FindMatchingControls | (Inherited from UITestControl.) | 
| .gif) .gif) | FromProcess | Creates a reference to an ApplicationUnderTest from an existing process. | 
| .gif) | GetChildren | (Inherited from UITestControl.) | 
| .gif) | GetClickablePoint | (Inherited from UITestControl.) | 
| .gif) | GetHashCode | (Inherited from UITestControl.) | 
| .gif) | GetParent | (Inherited from UITestControl.) | 
| .gif) | GetProperty | (Inherited from UITestControl.) | 
| .gif) | GetType | Gets the Type of the current instance. (Inherited from Object.) | 
| .gif) | GetUITestControlsForSearch | (Inherited from UITestControl.) | 
| .gif) .gif) | Launch(ProcessStartInfo) | Starts the application by using specified parameters. | 
| .gif) .gif) | Launch(String) | Starts the application by using specified parameters. | 
| .gif) .gif) | Launch(String, String) | Starts the application by using specified parameters. | 
| .gif) .gif) | Launch(String, String, String) | Starts the application by using specified parameters. | 
| .gif) .gif) | Launch(String, String, String, String, SecureString, String) | Starts the application by using specified parameters. | 
| .gif) | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | 
| .gif) | SetFocus | (Inherited from UITestControl.) | 
| .gif) | SetProperty | (Inherited from UITestControl.) | 
| .gif) | Shutdown | Forces the application to shut down. | 
| .gif) | ToString | (Inherited from UITestControl.) | 
| .gif) | TryFind | (Inherited from UITestControl.) | 
| .gif) | TryGetClickablePoint(Point%) | (Inherited from UITestControl.) | 
| .gif) | WaitForControlCondition(Predicate<UITestControl>) | (Inherited from UITestControl.) | 
| .gif) | WaitForControlCondition(Predicate<UITestControl>, Int32) | (Inherited from UITestControl.) | 
| .gif) | WaitForControlEnabled() | (Inherited from UITestControl.) | 
| .gif) | WaitForControlEnabled(Int32) | (Inherited from UITestControl.) | 
| .gif) | WaitForControlExist() | (Inherited from UITestControl.) | 
| .gif) | WaitForControlExist(Int32) | (Inherited from UITestControl.) | 
| .gif) | WaitForControlNotExist() | (Inherited from UITestControl.) | 
| .gif) | WaitForControlNotExist(Int32) | (Inherited from UITestControl.) | 
| .gif) | WaitForControlPropertyEqual(String, Object) | (Inherited from UITestControl.) | 
| .gif) | WaitForControlPropertyEqual(String, Object, Int32) | (Inherited from UITestControl.) | 
| .gif) | WaitForControlPropertyNotEqual(String, Object) | (Inherited from UITestControl.) | 
| .gif) | WaitForControlPropertyNotEqual(String, Object, Int32) | (Inherited from UITestControl.) | 
| .gif) | WaitForControlReady() | (Inherited from UITestControl.) | 
| .gif) | WaitForControlReady(Int32) | (Inherited from UITestControl.) | 
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.