How Tosca and Perfecto Work Together

Tosca accelerates end-to-end testing. It uses a codeless approach for test automation with no scripting required. Without test scripts, teams aren’t burdened with time-consuming maintenance. Users can build tests with a record and playback method. You can then execute these tests at scale in the Perfecto test cloud.

tosca

Getting Started With Tosca

This is a step by step guide to getting Tosca desktop web and mobile scripts working with Perfecto.

Prerequisites

  1. At the time of writing, Tosca 12.1 is used. Download your Tosca license here
  2. Please have a valid Tosca license along with the .exe installed. The instructions are for a Windows 10 machine.

Connecting to Perfecto With a Sample Project for Desktop Web

One

Create a new project using the sample provided by Tosca.

tosca

Two

From the sample script, update the test configuration.

tosca

Three

Under project settings, update the URL and supply the security token for your lab.

tosca

Supply your Perfecto security token here.

Hub address should be in the format of: http://<your_cloud>.perfectomobile.com/nexperience/perfectomobile/wd/hub/fast

tosca

Four

Test the connection by running in scratchbook.

tosca

You should be able to see a Perfecto execution on desktop web.

tosca

Note: on the sample first step, remove the “maximize window” step to see the test passing.

tosca

Connecting to Perfecto With a Sample Project for Mobile Web

To connect to mobile web, use the settings below.

For iOS devices:

tosca

For Android devices on Tosca 12.1, please specify the desired capabilities as a step:

tosca

On success, you should see the test execution in the Perfecto dashboard:

tosca

See Perfecto and Tosca in Action

Get a custom demo today.