Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ApplicationUnderTest::Launch Method (String^, String^, String^, String^, SecureString^, 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,
	String^ arguments,
	String^ userName,
	SecureString^ password,
	String^ domain
)

Parameters

fileName
Type: System::String^

The file name of the application to start.

alternateFileName
Type: System::String^

The alternate file name together with environment variables.

arguments
Type: System::String^

The arguments to pass to the application.

userName
Type: System::String^

The user name to use to start the application.

password
Type: System.Security::SecureString^

The password to use to start the application.

domain
Type: System::String^

The domain of the user.

Return Value

Type: Microsoft.VisualStudio.TestTools.UITesting::ApplicationUnderTest^

The application that was started.

Return to top
Show: