Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Starts the application by using specified parameters.
Namespace: Microsoft.VisualStudio.TestTools.UITesting
Assembly: Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)
Syntax
'Declaration
Public Shared Function Launch ( _
fileName As String, _
alternateFileName As String, _
arguments As String, _
userName As String, _
password As SecureString, _
domain As String _
) As ApplicationUnderTest
public static ApplicationUnderTest Launch(
string fileName,
string alternateFileName,
string arguments,
string userName,
SecureString password,
string domain
)
public:
static ApplicationUnderTest^ Launch(
String^ fileName,
String^ alternateFileName,
String^ arguments,
String^ userName,
SecureString^ password,
String^ domain
)
static member Launch :
fileName:string *
alternateFileName:string *
arguments:string *
userName:string *
password:SecureString *
domain:string -> ApplicationUnderTest
public static function Launch(
fileName : String,
alternateFileName : String,
arguments : String,
userName : String,
password : SecureString,
domain : String
) : ApplicationUnderTest
Parameters
fileName
Type: StringThe file name of the application to start.
alternateFileName
Type: StringThe alternate file name together with environment variables.
arguments
Type: StringThe arguments to pass to the application.
userName
Type: StringThe user name to use to start the application.
password
Type: SecureStringThe password to use to start the application.
domain
Type: StringThe domain of the user.
Return Value
Type: Microsoft.VisualStudio.TestTools.UITesting.ApplicationUnderTest
The application that was started.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.