Scalable Automation Is Difficult to Achieve

Having an automation framework that everyone can contribute to and help maintain is no easy task for most organizations. Business and QA analysts lack coding skills. And SDETs are expensive — and usually stretched too thin. That’s where Tosca and Perfecto can help.

Image Integration Tosca

Perfecto Makes Tosca Better

Leverage the best-in-class model-driven automation framework with Perfecto, the world’s leading continuous testing platform. When paired with Perfecto, teams can execute tests in parallel and at scale. Perfecto also provides fast feedback to teams via test reporting and analytics, which are built into the platform.

There is no coding necessary to create automation scripts with Tosca. This reduces the maintenance cost of automation. It also allows more of your team to participate in the scripting process — including business and QA analytics, along with SDETs. The result is an accelerated testing process with fast feedback.

Image Integration Tosca 12

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.

Image Integration Tosca 11

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 13.3 is used. Download your Tosca license here
     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:

Image Integration Tosca 8

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

Image Integration Tosca 9

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

Image Integration Tosca 10

Connecting to Perfecto With a Sample Project for Native App

To connect to mobile web, use the settings below.

Import the attached .tsu example:

Image Integration Tosca 13
Image Integration

See Perfecto and Tosca in Action

Get a custom demo today.