ApplicationUnderTest.FromProcess Method

Creates a reference to an ApplicationUnderTest from an existing process.

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

public static ApplicationUnderTest FromProcess(
	Process processToWrap
)

Parameters

processToWrap
Type: System.Diagnostics.Process
The process from which to create an ApplicationUnderTest reference.

Return Value

Type: Microsoft.VisualStudio.TestTools.UITesting.ApplicationUnderTest
A reference to an application from an existing process.

Community Additions

ADD
Show: