Click or drag to resize
Ranorex

HostRunApplication Method (String)

Runs an application with the specified filename.

Namespace:  Ranorex
Assembly:  Ranorex.Core (in Ranorex.Core.dll) Version: 12.7.4-git.38314c06
Syntax
public int RunApplication(
	string fileName
)

Parameters

fileName
Type: SystemString
The file name of the application to run.

Return Value

Type: Int32
The process ID of the started application.
Exceptions
ExceptionCondition
RanorexExceptionThrown if the application cannot be started.
Remarks
Using an AppUserModelId (familyName!appName) instead of a file name activates a Windows 8 App instead.
See Also