ApplicationUnderTest.Launch Method (ProcessStartInfo)

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 ( _
    startInfo As ProcessStartInfo _
) As ApplicationUnderTest
public static ApplicationUnderTest Launch(
    ProcessStartInfo startInfo
)
public:
static ApplicationUnderTest^ Launch(
    ProcessStartInfo^ startInfo
)
static member Launch : 
        startInfo:ProcessStartInfo -> ApplicationUnderTest
public static function Launch(
    startInfo : ProcessStartInfo
) : ApplicationUnderTest

Parameters

  • startInfo
    Type: ProcessStartInfo

    The process start information.

Return Value

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

.NET Framework Security

See Also

Reference

ApplicationUnderTest Class

Launch Overload

Microsoft.VisualStudio.TestTools.UITesting Namespace