Click or drag to resize
Ranorex

IosAppStartApp Method

Starts an app on the device.

Namespace:  Ranorex
Assembly:  Ranorex.Plugin.Mobile (in Ranorex.Plugin.Mobile.dll) Version: 12.7.4-git.38314c06
Syntax
public virtual string StartApp(
	string App,
	bool ResetInitialState
)

Parameters

App
Type: SystemString
The package name of the application to start e.g. 'ranorex.services'. Use the FetchStartableApps command to get a list of valid values from the device.
ResetInitialState
Type: SystemBoolean
Indicates if the app should be restarted on launch or just brought to the foreground in case the app is already running.

Return Value

Type: String
The value that will be returned by the action invocation.
Exceptions
ExceptionCondition
ActionFailedExceptionThrown if invoking the action failed.
See Also