Skip to content

/AWS1/CL_DFM=>CREATEREMOTEACCESSSESSION()

About CreateRemoteAccessSession

Specifies and starts a remote access session.

Method Signature

IMPORTING

Required arguments:

IV_PROJECTARN TYPE /AWS1/DFMAMAZONRESOURCENAME /AWS1/DFMAMAZONRESOURCENAME

The Amazon Resource Name (ARN) of the project for which you want to create a remote access session.

IV_DEVICEARN TYPE /AWS1/DFMAMAZONRESOURCENAME /AWS1/DFMAMAZONRESOURCENAME

The ARN of the device for which you want to create a remote access session.

Optional arguments:

IV_INSTANCEARN TYPE /AWS1/DFMAMAZONRESOURCENAME /AWS1/DFMAMAZONRESOURCENAME

The Amazon Resource Name (ARN) of the device instance for which you want to create a remote access session.

IV_SSHPUBLICKEY TYPE /AWS1/DFMSSHPUBLICKEY /AWS1/DFMSSHPUBLICKEY

Ignored. The public key of the ssh key pair you want to use for connecting to remote devices in your remote debugging session. This key is required only if remoteDebugEnabled is set to true.

Remote debugging is no longer supported.

IV_REMOTEDEBUGENABLED TYPE /AWS1/DFMBOOLEAN /AWS1/DFMBOOLEAN

Set to true if you want to access devices remotely for debugging in your remote access session.

Remote debugging is no longer supported.

IV_REMOTERECORDENABLED TYPE /AWS1/DFMBOOLEAN /AWS1/DFMBOOLEAN

Set to true to enable remote recording for the remote access session.

IV_REMOTERECORDAPPARN TYPE /AWS1/DFMAMAZONRESOURCENAME /AWS1/DFMAMAZONRESOURCENAME

The Amazon Resource Name (ARN) for the app to be recorded in the remote access session.

IV_NAME TYPE /AWS1/DFMNAME /AWS1/DFMNAME

The name of the remote access session to create.

IV_CLIENTID TYPE /AWS1/DFMCLIENTID /AWS1/DFMCLIENTID

Unique identifier for the client. If you want access to multiple devices on the same client, you should pass the same clientId value in each call to CreateRemoteAccessSession. This identifier is required only if remoteDebugEnabled is set to true.

Remote debugging is no longer supported.

IO_CONFIGURATION TYPE REF TO /AWS1/CL_DFMCREREMOTEACCSESS01 /AWS1/CL_DFMCREREMOTEACCSESS01

The configuration information for the remote access session request.

IV_INTERACTIONMODE TYPE /AWS1/DFMINTERACTIONMODE /AWS1/DFMINTERACTIONMODE

The interaction mode of the remote access session. Valid values are:

  • INTERACTIVE: You can interact with the iOS device by viewing, touching, and rotating the screen. You cannot run XCUITest framework-based tests in this mode.

  • NO_VIDEO: You are connected to the device, but cannot interact with it or view the screen. This mode has the fastest test execution speed. You can run XCUITest framework-based tests in this mode.

  • VIDEO_ONLY: You can view the screen, but cannot touch or rotate it. You can run XCUITest framework-based tests and watch the screen in this mode.

IV_SKIPAPPRESIGN TYPE /AWS1/DFMBOOLEAN /AWS1/DFMBOOLEAN

When set to true, for private devices, Device Farm does not sign your app again. For public devices, Device Farm always signs your apps again.

For more information on how Device Farm modifies your uploads during tests, see Do you modify my app?

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_DFMCREREMOTEACCSESSRS /AWS1/CL_DFMCREREMOTEACCSESSRS