Silk Mobile

Table of Contents (Homepage)

OpenDevice

openDevice()

images/images/os-icons/os_ios_150x150.png

images/images/os-icons/os_android_150x150.png

images/images/os-icons/os_windows_150x150.png

images/images/os-icons/os_blackberry_150x150.png

Description

The command will open the reflection of the active device under test during runtime

Parameters

No parameters

Usage

Note: This command is available only from and external testing framework.

Scenario : In the following example I will open the reflection of the device during runtime. First need to specify the device. Then to open its reflection.

Java Example
client.setDevice("ios_app:iPhone6");
client.openDevice();