New-Session

Create a new session.

Powershell

Create a new session. The session will install and launch the application on the device.

Syntax

New-Session [[-appVersion] ] [[-clearAppSettings] ] [[-reinstallApplication] ] [[-reuseExistingSession] ] [[-recordingPrestart] ] [[-takesScreenshot] ] []

Parameters

name description
appVersion The version of the application to be used. The version can be queried by perfoming the Get-App commmand or by clicking on the application in the frontend.
clearAppSettings Indicates whether the application settions should be cleared before installing the application.
reinstallApplication Indicates whether the application should reinstalled.
reuseExistingSession Indicates whether an existing session should be reused. A session is only reused when the appId, appVersion and deviceId are equal
recordingPrestart
takesScreenshot

Examples

New-Session -appId demo.quamotion.Acquaint -appVersion "1.51" -deviceId $iPhone6 -reuseExistingSession $true