Test Modeller

If you work with model-based test automation for open source automation frameworks and have tests created with Test Modeller by Curiosity Software, you can integrate and run those tests with Perfecto.

A sample project, used throughout this tutorial, is available in GitHub: https://github.com/CuriositySoftwareIreland/TestModeller_Perfecto

You can also use an existing automation framework with Test Modeller, as discussed in Step-by-step instructions, 1 | Import code templates.

For information on getting started with a Perfecto sample project on GitHub, including parallel execution and integration with Perfecto Smart Reporting, see the Perfecto sample project section.

Important: This document includes references to a third-party product, Test Modeller. The user interface and usage of third-party products are subject to change without notice. For the latest published information about Test Modeller, see https://knowledge.curiositysoftware.ie/docs/test-modeller-documentation.

Introduction

Test Modeller is a browser-based solution that enables you to:

  • Model a system under test as BPMN-style flowcharts.
  • Automatically generate test cases from the model, optimizing testing for time and risk.
  • Define test data at the model level and generate data at the same time as test cases.
  • Export test automation scenarios, automatically generating coverage-focused automation scripts.
  • Export test cases to test case management lifecycle tools at ease (such as Jira, ALM, Octane, and so on).
  • Analyze test results and manage existing artifacts with visual dashboards and a file management system that introduces traceability between test assets.

Review this section to get started with creating automation for execution in Perfecto. The goal of this integration is to provide model-based test automation for execution with devices hosted within Perfecto

Watch this short video for a full demo showing the resulting features.

Prerequisites

Make sure you have the following available:

  • An automation framework using Perfecto. You can use our sample framework if you do not already have an automation framework for consumption.
  • An active Test Modeller license. You can sign up for a free trial at https://testmodeller.io.

Step-by-step instructions

Learn how to create a new project using the sample automation framework provided by Curiosity Software for Test Modeller with Perfecto. By the end of these instructions, you will have Perfecto linked to Test Modeller such that you can seamlessly generate coverage-focused test automation at ease for execution in Perfectousing model-based testing.

Advanced

Test Modeller can directly integrate with your automation framework when it is stored in a Git-based source control repository. This entails automatically committing page objects and automated test scenarios when an object is generated in Test Modeller. You can also configure Test Modeller to execute tests on a publish to gather instant feedback on a test execution.

Perfecto sample project

This procedure helps you get started with a Perfecto sample project so you can work with an open-source repository of Java-based Selenium tests in Test ModellerandPerfecto. The sample project is available on GitHub: https://github.com/PerfectoMobileSA/Perfecto-TestModeller-Sample 

You can follow along watching this tutorial.

Begin with installing the dependencies and continue with the Getting Started procedure that follows.

Smart Reporting integration example

The following images show a sample report in the CI Dashboard view and the Report Library.