This documentation is archived and is not being maintained.

ApplicationUnderTest.Launch Method (String, String)

Starts the application by using specified parameters.

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

public static ApplicationUnderTest Launch(
	string fileName,
	string alternateFileName
)

Parameters

fileName
Type: System.String
The file name of the application to start.
alternateFileName
Type: System.String
The alternate file name that has environment variables.

Return Value

Type: Microsoft.VisualStudio.TestTools.UITesting.ApplicationUnderTest
The application that was started.

Show: