 | 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
Syntaxpublic virtual string StartApp(
string App,
bool ResetInitialState
)
Public Overridable Function StartApp (
App As String,
ResetInitialState As Boolean
) As String
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:
StringThe value that will be returned by the action invocation.
Exceptions
See Also