Desktop-web customization service

When selecting a desktop web device to use for automation testing of a web application, you sometimes need to create the proper environment for the device. This may require that the device has data files in a particular location of the desktop web device's "storage", certificates are installed, or certain additional applications run in the background. This will more closely reflect the working environment of the web application's end user.

Important: You can now manage web certificates directly in the Perfecto UI. To learn more, see Manage Windows web certificates.

Limitations

The feature is currently:

  • Supported only on Windows Fast Web configurations

  • Not supported on Mac Desktop-Web devices

Service overview

To pre-configure the Desktop-Web VM, you can use the the Desktop-Web Customization Service (DCS). This services has been generated for automation testing, with resources supplied from a repository of artifacts.

The configuration of the VM is performed based on a "playbook" that includes YAML instructions of what configuration operations, for example install certificates, download artifacts, application executions, to perform prior to executing the automation script.

DCS is called as part of the Selenium execution, under the control of the DesiredCapabilities, and executes the playbook instructions on the generated VM accessing files stored on Perfecto's cloud storage. When the playbook instructions are complete, the automation script is activated on the Desktop-Web VM in the proper environment.

Use the DCS

Using the DCS involved preparing the playbook, uploading files, and specifying the DCS in relevant automation scripts.

Click a task to view its steps.

Troubleshooting

DCS may report the following error indicators in various situations:

  • Timeout exceeded - if the customization process requires a longer time than the configured timeout (default 90 sec, see above customizationScriptArgs) - the error message will appear in the execution report as:
    WFA-500-0156 – “Customization script timeout exceeded
  • General playbook error - reported in various situations, for example - file not found, YAML syntax error. The error message will appear in the execution report as:
    WFA-500-0157 – <text describing the exact error>