Page tree
Skip to end of metadata
Go to start of metadata

Last updated: Apr 08, 2021 13:54

The Manual Testing view displays all devices in the Perfecto lab, either in list or tile format. You can sort the order of appearance, for example by availability. For each device, Perfecto indicates:

  • Model
  • Audio support  (only available for mobile devices)
  • SIM card installation  (only available for mobile devices)
  • DevTunnel connected  (only available for mobile devices) 
  • Current user, if the device is in use
    If you need to contact the user locking the device, you can move the pointer over the user icon and select Send email to contact the current user.
    If the device is IN ERROR status, you can click CONTACT US to open a ticket with Perfecto Support.
  • Operating system
  • Device ID (only available in list view)
  • Browser (only available for desktop web devices)
  • Resolution (only available for desktop web devices)
  • Location (only available in list view)

On this page:

The left pane contains folders that you can select to focus on only mobile or web devices, or only devices of a specific OS. You can minimize this pane by clicking the left arrow .

You can open a mobile device, a virtual device, or a web device for manual testing or to generate capabilities for automated testing. Up to 6 sessions can run in parallel. A device session times out after 15 minutes of inactivity. If it is not in use by another user, you can reconnect to the device from the My Devices tab. 

Display device information

Perfecto displays detailed basic information on the selected device in the details pane on the right. 

To display device information:

  • In the list or tile view, click a device to select it.
    The details pane for the device opens on the right. Clicking More details (if available) reveals additional information.

Mobile deviceVirtual mobile deviceWeb device
Basic info
  • Availability: The status (Available or In Use)
  • Operating system: The type of OS and the version number
  • Device ID: The identifier of the device
  • Location: The location of the data center where the device is connected
  • Description: The content of the Description field (if available)
  • Availability: The status (In Use)
  • Version: The type of OS and the version number
  • Resolution: The display resolution of the virtual device
  • Availability: The status (Available or In Use)
  • Operating System: The version for Windows or the OS-Name for Mac
  • Browser: The selected browser and version (see a list of supported versions here)
  • Resolution: The display resolution of the VM
  • Location: The hosting location of the VM (for Windows devices)
More details
  • Network: The carrier (if the device is connected to a wireless carrier)
  • Phone number: The phone number of the device (if the device is connected to a wireless carrier)
  • Firmware: The firmware version installed on the device
  • Distributor: The company responsible for the device
  • IMSI: The International Mobile Subscriber Identity (IMSI) number of the device
  • Automation: The automation framework used

Open a device for testing

You can open any mobile device in the lab or resume a recent virtual device session or web session on a VM that is currently not in use. For virtual devices, you can start a new device session, and for desktop web devices, you can start a new web session. Every device opens on its own, dedicated tab.

If your cloud requires a reservation to open a real mobile device, you can create the reservation directly from the Manual Testing view.

Important: If the popup blocker is active in the browser, you may need to click Always Allow to permit Perfecto to generate the new tab for the device session.

To open a device for testing (mobile, virtual, or web)
  1. On the left, select a folder.
  2. Do one of the following:
    • Double-click a list row or tile.
    • In list view, move the pointer over a row to display the Open button; then click Open
    • In tile view, in the tile for the desired device, click Open.

To create a reservation for a real mobile device (only available if required to open a device)
  1. Do one of the following:
    • In tile view, click the calendar icon  for the device you want to reserve.
    • In row view, move the pointer over the row of the device you want to reserve and then click the calendar icon .
  2. In the Reservation panel on the right, select a time slot for the device.
  3. (Optional) Add a description.
  4. Click CREATE & OPEN.

To open a new virtual device
  1. In the Virtual device folder, click OPEN A NEW VIRTUAL DEVICE.
  2. In the Open a new virtual device form, select the device operating system, manufacturer, device type, and platform version.

  3. (Optional) Click View capabilities to view the generated capabilities in the panel on the left and copy them into your automation test.
  4. Click OPEN. The device that opens is a one-time instance.

Watch this short video for a demo.

For more information, see Supported actions.

To start a new web session
  1. In the Web folder, click OPEN NEW WEB SESSION.
  2. In the Open new web session form, select the platform (Mac or Windows), the operating system, the browser and version, the resolution, and the location.

     Click to view image
  3. (Optional) Enter the URL you want to test.
  4. (Optional) Click View capabilities to view the generated capabilities in the panel on the right and copy them into your automation test.
  5. Click OPEN.

For more information, see Test web apps on desktop browsers.

Generate capabilities

In the details pane on the right, on the Capabilities tab, you can auto-generate the capabilities required for automated testing. Perfecto creates a code sample in the programming language of your choice (Java, JavaScript, Python, Ruby, C#, or PHP) that you can then copy and paste into your Selenium or Appium script to select the device using the DesiredCapabilities object. For more information on using capabilities, see Define capabilities.

The following capabilities are specific to virtual devices. For details, see Supported capabilities for virtual mobile devices.

  • useVirtualDevice

To generate capabilities (for mobile, virtual, and web devices):

  1. In the list or tile view, click a device.
  2. In the details pane on the right, click the Capabilities tab.
  3. (Mobile device only) Depending on what you want to see in your code sample, select Device attributes or Device ID.

     Click to view image
  4. From the drop-down list, select the programming language to use.
    The code snippet is updated automatically.
  5. Click Copy to clipboard.
  6. Paste the code into your existing script.