How the Quantum Framework Can Help

Quantum is a cross-platform test automation framework for mobile native, hybrid, and desktop web applications. The Quantum framework is based on behavior-driven development (BDD). The framework is open source, and at its core architecture are the Selenium and Appium web driver implementations. The framework can be used either in Java or JavaScript together with gherkin-style scenarios.

One benefit of using the Quantum framework is the simplicity of getting started with full-blown test automation that is both SDET and business-tester friendly. Furthermore, because this framework fully supports Selenium and Appium, there are no limitations whatsoever from a test coverage perspective.

Creating test automation scripts with Quantum BDD can be done via any leading IDE, such as Eclipse or IntelliJ IDEA.

To the right is a very basic test automation scenario that runs through Quantum BDD in the traditional Cucumber and Gherkin style of Given, When, Then.

quantum

Quantum Framework Architecture

The Quantum framework architecture fully supports the main principles behind the BDD Agile testing methodology. This methodology supports the collaboration of dev, QA, and business toward a joint goal of high-quality implementation of user stories (software).

quatum

Key Benefits of Quantum & Perfecto

Leveraging Quantum and Perfecto can benefit developers and test engineers as they expand automation.

1.    Easy Test Automation Setup and Creation

The success of a BDD implementation depends on development supporting QA in building valid test automation scenarios that fully comply with the business flows in the application under test.

From an architecture and compliance standpoint, there is no difference between Quantum and the standard BDD. Clients can use all the common features of BDD Cucumber like data tables, scenario outlines, examples, backgrounds, and more. All testing can be created inside a Maven project and triggered through testNG from the common IDEs.

As the below architecture shows, Quantum BDD framework is based on standard Selenium and Appium implementation that fully integrates with CI/CD servers, the testNG data provider, and the Cucumber syntax.

quatum

In addition to the standards mentioned, there are specific framework abilities to drive greater value from test automation creation:

  • Support for page object model (POM) in a simple and maintainable fashion.
  • Built-in cloud integration to Perfecto for high scalability across mobile and web.
  • Advanced test reporting and root-cause analysis abilities.

In addition to the above features, Quantum BDD comes with a getting started kit that has built-in step definition functions in Java and support for extending them to customer specific methods.

quantum

A typical Quantum BDD project will look like this, and will include the built-in Perfecto extensions and application property files with relevant configurations like cloud URL, security token, and more. In addition, it will include the BDD feature files, the step definition Java classes, testNG XML configuration files, and the .LOC file which is the page object model.

By downloading the Quantum starter kit from GitHub into your IDE, you can get up and running in minutes.

quatum

2.    Stable Test Execution in the Cloud

Because the entire execution of Quantum BDD test automation runs in the Perfecto cloud, it is guaranteed that the execution will be 100% stable on clean and secured Android and iOS devices as well as all other desktop browsers. Executing the tests either from IntelliJ IDEA, Eclipse, or through Jenkins and other CI servers is fully supported and stable. 

quatum

3.    Open Source, Simple, Complete Test Automation Framework 

Getting started with Quantum is free, straight forward, and very simple. Clients can simply build on the sample projects that are a part of the starter kit and expand to their unique projects for mobile, web, or both. Test management, page object model, data driven testing, and parallel executions are all embedded into the framework.

Quantum BDD can be a one stop shop for teams that practice Selenium and Appium, and need a framework on top to allow management, maintenance, and execution at scale.

quatum

4.    Detailed Reporting and Fast Feedback

Like with any test execution, when Quantum is integrated with Perfecto clients enjoy the powerful test reporting and analysis solution. From the initiation of the test execution, clients can see the execution in parallel through the live execution stream. At the end of the execution they receive a detailed test execution report that includes screenshots, videos, logs, and root cause analysis classification. This capability helps eliminate noise and focus only on the real defects in the apps under test. 

quatum

Getting Started With Quantum

It’s easy to get started with Quantum. View a sample project here.

Try Testing With Quantum & Perfecto

Start your free trial of Perfecto today.