Export (0) Print
Expand All

ApplicationUnderTest Class

Automates the operations of test applications.

Namespace:  Microsoft.VisualStudio.TestTools.UITesting
Assembly:  Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)

[CLSCompliantAttribute(true)]
public class ApplicationUnderTest : ApplicationBase, 
	IDisposable

The ApplicationUnderTest type exposes the following members.

  NameDescription
Public methodApplicationUnderTestInitializes a new instance of the ApplicationUnderTest class.
Top

  NameDescription
Public propertyAlwaysOnTopGets a value that indicates whether the application window always appears on top.
Public propertyBoundingRectangle (Inherited from UITestControl.)
Public propertyClassName (Inherited from UITestControl.)
Public propertyCloseOnPlaybackCleanup (Inherited from ApplicationBase.)
Public propertyContainer (Inherited from UITestControl.)
Public propertyControlType (Inherited from UITestControl.)
Public propertyEnabled (Inherited from UITestControl.)
Public propertyExists (Inherited from UITestControl.)
Public propertyFilterProperties (Inherited from UITestControl.)
Public propertyFriendlyName (Inherited from UITestControl.)
Public propertyHasFocus (Inherited from UITestControl.)
Public propertyHasTitleBarGets a value that indicates whether the application window has a title bar.
Public propertyHeight (Inherited from UITestControl.)
Public propertyIsTopParent (Inherited from UITestControl.)
Public propertyLeft (Inherited from UITestControl.)
Public propertyMaximizedGets or sets a value that indicates whether the application window is maximized.
Public propertyMinimizedGets or sets a value that indicates whether the application window is minimized.
Public propertyName (Inherited from UITestControl.)
Public propertyNativeElement (Inherited from UITestControl.)
Public propertyPopupGets a value that indicates whether the application window is a pop-up window.
Public propertyProcessGets or sets the underlying Process object.
Public propertyResizableGets a value that indicates whether the application window is resizable.
Public propertyRestoredGets or sets a value that indicates whether the application window is restored.
Public propertySearchConfigurations (Inherited from UITestControl.)
Public propertySearchProperties (Inherited from UITestControl.)
Protected propertySearchPropertiesSetExplicitly (Inherited from UITestControl.)
Public propertyShowInTaskbarGets a value that indicates whether the program icon appears in the taskbar.
Public propertyState (Inherited from UITestControl.)
Public propertyTechnologyName (Inherited from UITestControl.)
Public propertyTitleGets or sets the title of the application that is under test.
Public propertyTop (Inherited from UITestControl.)
Public propertyTopParent (Inherited from UITestControl.)
Public propertyTransparentGets a value that indicates whether the application window is transparent.
Public propertyWidth (Inherited from UITestControl.)
Public propertyWindowHandle (Inherited from UITestControl.)
Public propertyWindowTitles (Inherited from UITestControl.)
Top

  NameDescription
Public methodCaptureImage (Inherited from UITestControl.)
Public methodCloseCloses the application that is under test. (Overrides ApplicationBase.Close().)
Public methodCopyFrom (Inherited from UITestControl.)
Public methodDispose()Releases all resources that are used by the ApplicationUnderTest.
Protected methodDispose(Boolean)Releases all resources that are used by the ApplicationUnderTest.
Public methodDrawHighlight (Inherited from UITestControl.)
Public methodEnsureClickable() (Inherited from UITestControl.)
Public methodEnsureClickable(Point) (Inherited from UITestControl.)
Public methodEquals (Inherited from UITestControl.)
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 methodFindFinds this application window in the user interface. (Overrides UITestControl.Find().)
Public methodFindMatchingControls (Inherited from UITestControl.)
Public methodStatic memberFromProcessCreates a reference to an ApplicationUnderTest from an existing process.
Public methodGetChildren (Inherited from UITestControl.)
Public methodGetClickablePoint (Inherited from UITestControl.)
Public methodGetHashCode (Inherited from UITestControl.)
Public methodGetParent (Inherited from UITestControl.)
Public methodGetProperty (Inherited from UITestControl.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodGetUITestControlsForSearch (Inherited from UITestControl.)
Public methodStatic memberLaunch(ProcessStartInfo)Starts the application by using specified parameters.
Public methodStatic memberLaunch(String)Starts the application by using specified parameters.
Public methodStatic memberLaunch(String, String)Starts the application by using specified parameters.
Public methodStatic memberLaunch(String, String, String)Starts the application by using specified parameters.
Public methodStatic memberLaunch(String, String, String, String, SecureString, String)Starts the application by using specified parameters.
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodSetFocus (Inherited from UITestControl.)
Public methodSetProperty (Inherited from UITestControl.)
Protected methodShutdownForces the application to shut down.
Public methodToString (Inherited from UITestControl.)
Public methodTryFind (Inherited from UITestControl.)
Public methodTryGetClickablePoint(Point) (Inherited from UITestControl.)
Public methodWaitForControlCondition(Predicate<UITestControl>) (Inherited from UITestControl.)
Public methodWaitForControlCondition(Predicate<UITestControl>, Int32) (Inherited from UITestControl.)
Public methodWaitForControlEnabled() (Inherited from UITestControl.)
Public methodWaitForControlEnabled(Int32) (Inherited from UITestControl.)
Public methodWaitForControlExist() (Inherited from UITestControl.)
Public methodWaitForControlExist(Int32) (Inherited from UITestControl.)
Public methodWaitForControlNotExist() (Inherited from UITestControl.)
Public methodWaitForControlNotExist(Int32) (Inherited from UITestControl.)
Public methodWaitForControlPropertyEqual(String, Object) (Inherited from UITestControl.)
Public methodWaitForControlPropertyEqual(String, Object, Int32) (Inherited from UITestControl.)
Public methodWaitForControlPropertyNotEqual(String, Object) (Inherited from UITestControl.)
Public methodWaitForControlPropertyNotEqual(String, Object, Int32) (Inherited from UITestControl.)
Public methodWaitForControlReady() (Inherited from UITestControl.)
Public methodWaitForControlReady(Int32) (Inherited from UITestControl.)
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.
Show:
© 2014 Microsoft