Supported actions

This section provides information on basic device interaction during live testing. It specifies:

  • The actions currently supported for mobile, virtual, and desktop web devices, available from the device toolbar.
  • Keyboard options and mouse actions you can use to interact with the device.

Device toolbar

The following table describes the options available on the device toolbar.

Option

Description

Real device

Virtual device

Deskto web device

Click to retrieve device information, including OS, device ID, location, and so on, and generate capabilities. The available information is different for each device type.

Click to copy the session ID. See also Share a session with an IDE script.

Click to draw a frame around the desktop image.



Click to install, run, stop, delete, or look for an application on the device. For details, see Manage apps.


Click to start and stop image injection.



 

Click to inject a fingerprint (iPhone 8 or earlier) or face ID (iPhone X or later). For details, see Inject a fingerprint or face ID.



Click to set a location.



Click to perform text analysis.



Click to perform visual analysis.



Click to inject an audio file.



Click to turn audio on or off for the device. Unavailable if the device does not support audio.

   

 

Click to connect the device to or disconnect the device from DevTunnel.



Click to initiate network virtualization.



Click to initiate a call to this device.



Click to initiate an SMS to this device.



Click to collect device or application vitals.



Click to transfer, download, upload, or delete a file.



Click to view the device log.


Click to rotate the device from portrait to landscape and vice versa. 

Note

On virtual devices, rotation only works if the screen supports it. For example, the Home screen only supports portrait mode. If you launch an app, perform a touch action, or press the Home button, the rotation may change. In addition, a rotated device switches back from landscape mode to portrait mode when you access a screen that does not support rotation, such as the home screen. 


Click to restart the device, for example when the device freezes or for a fresh start.



Click to open a case with Perfecto Support. The link opens in the context of your open device session.


Click to spy objects on the device screen. This opens the Object Spy in the right pane. 



Keyboard options

When you type numeric or alphabetic characters on the physical desktop keyboard, Perfecto instantly sends them to the mobile device. In addition, the keys listed in the following table are supported and may be helpful while editing text on a real and virtual mobile devices.

Keyboard key

Command description

Real & virtual device

Up

Moves cursor up

(Android only)

Down

Moves cursor down

(Android only)

Left

Moves cursor left

(Android only)

Right

Moves cursor right

(Android only)

Backspace

Deletes the last character 

(Android only)

Delete

Deletes the next character

(Android only)

Enter

Adds a new line/Submits/Searches

(Android only)

Mouse actions

The table lists the mouse actions currently supported on real and virtual mobile devices.

Mouse action

Command description

Real device

Virtual device

Alt+Wheel forward

Zooms in

Alt+Wheel backward

Zooms out (pinch)

Wheel forward/backward

Scrolls

Click+Pointer move

Swipes (horizontal/vertical)

Left click

Taps

Long left click (> 2 seconds)

Presses long

Alt+Click

Activates 3D Touch

 (Simulator/iOS only)


Shift+Click

Double-tap