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

Last updated: Oct 10, 2019 12:58

Fast Web UI

The all-new HTML5 interface is now generally available. It comes with the following features:

  • Enhanced performance and user experience
    Initiating a new session only takes seconds, and highly responsive user interactions experience very low latency.
  • Multilingual keyboard input
  • Support for native keyboard shortcuts and key combinations
  • Support for all mouse actions, such as hover, click, and drag
  • Clipboard sharing (copy-and-paste) between the local machine and a remote desktop

For usage information, see Interactive Desktop Web (New UI).

If you have a Web license, you need to apply the following changes to your environment (if you have not already done so):

  1. Use a security token for automation scripts. User and password authentication will no longer work. For details, see Generate security tokens.
  2. Add /fast to the end of the driver URL. The new URL should look as follows: https://<cloudname>.perfectomobile.com/nexperience/perfectomobile/wd/hub/fast

Leading devices

Perfecto now supports leading devices in public and private cloud instances. With this feature, Perfecto selects a leading device for testing when the test script does not define a specific device. This ensures that your tests always run again the most relevant, stable, popular devices with the highest possible OS version. If a leading device is not available, Perfecto selects the device with the highest OS version instead. In particular, Perfecto selects devices based on the following guidelines:

  1. If model or manufacturer are selected, but no platformVersion is selected, Perfecto sets the platformVersion to latest.
  2. If model and manufacturer are not selected and the Leading Device feature is enabled, Perfecto selects one of the leading devices with the highest OS version available.
  3. In either case, if the platformVersion is not selected, Perfecto selects the highest available OS version. Prior to this enhancement, the OS selection was random.
  4. If model is set to leading, Perfecto selects a random leading device with the highest OS version available. If a leading device is not available, the allocation fails.
  5. If model is not selected, Perfecto selects a random leading device with the highest OS version available. If a leading device is not available, Perfecto selects a random device with the highest OS version available.

If you are an automation engineer, this means that when you use the Select device command to select a device based on attributes, you can now:

  • Set the model capability to leading to have the script test one of the leading devices. For example:

    capabilities.setCapability(”model", ”leading”);
  • Set the platformVersion capability to Latest to make sure the script tests the latest OS version. For example:

    capabilities.setCapability("platformVersion", "Latest”);

The following table offers a list of examples.

Capabilities specified

Situation

Result

platformName=Android

A leading Android device is available.

A random leading Android device is selected.

platformName=Android

A leading Android device is NOT available.

A random Android device is selected.

platformName=Android, model=leading

A leading Android device is available.

A random leading Android device is selected.

platformName=android, model=leading

A leading Android device is NOT available.

Allocation fails.

model=Samsung Galaxy S10

Samsung Galaxy S10 is available.

The specific device is allocated.

model=Samsung Galaxy S10

Samsung Galaxy S10 is NOT available.

Allocation fails.

model=Samsung galaxy S10, platformName=iOS

Samsung Galaxy S10 is available.

Allocation fails.

model=Samsung galaxy S10, platformName=UK

There is a Samsung Galaxy S10 in Boston, but not in the UK.

Allocation fails.

For the public cloud, the following devices are currently defined as leading devices. 

AndroidiOS
Galaxy S10iPhone 8
Galaxy S10+iPhone 8 Plus

Galaxy S10e

iPhone X
Galaxy S9iPhone XS
Galaxy S9+iPhone XS Max
Galaxy S8iPhone XR
Galaxy S8 Plus
Pixel 3
Pixel 3 XL

For private clouds, Perfecto Support can configure leading devices upon request.

Download file command

Added a new Perfecto command, perfecto:file:download. If a test includes downloading a file to the remote machine on which the test ran, you can use this API to get a link to download the file from the remote machine and then download it to your local machine. For more information, including usage and examples, see Download file (FR)

Mobile performance optimization

Optimized the installation procedure for apps. As a result, apps may install now up to 50% faster for Android and 90% faster for iOS compared to version 19.11.

Product updates

API Change Notice (effective as of release 19.10)

Because the API used to implement the IDE gesture command or Perfecto mobile:touch:gesture extension for iOS is being deprecated, we are updating its implementation to be based on a newer API. While the new API performs more accurately and consistently, in some cases, parameter values in existing scripts may trigger different behavior and may need to be updated.

General Note

When working with first beta versions of major OS versions, especially developer betas that are not available as public betas, any testing done on the device may be affected by instabilities and bugs on the OS level. If you are interested in testing the new beta, contact Support or your Customer Success Manager. We recommend limiting beta testing to 1-2 devices.

 Android support updates

Support for Android 10 GA with the below limitations:

  • A secure screen is not supported.

 iOS support updates

Support for iOS 13 to 13.1.1 and iPadOS 13.1 to 13.1.1 GA with the following limitations:

  • Touch & MultiTouch Actions executed by coordinates may not be performed on specific models of devices
  • Due to a bug in iOS 13, opening a SFSafariViewController class from a view controller that is not the main view controller causes the objects inside the controller to be inaccessible.

  • No labels