Quantum

Quantum is Perfecto's automation framework, designed to give you everything you need from a framework with built-in, seamless Perfecto integration. It provides TestNG integration for execution management, the ability to write BDD scripts, and a wide range of pre-built commands. Quantum is available as a free download from GitHub and can be extended as needed.

The full Quantum course is available for download from this page.

The course can be delivered by a Perfecto Instructor. Contact your Perfecto Account Manager for more information.

The course contains 7 modules, with a presentation and samples for each module.

Course audience

The course is designed for teams that have a core of Java developers for writing custom steps as well as test developers that can write BDD tests with existing steps.

Download and use

The training project is located at https://github.com/Project-Quantum/Training-Course. This is the repository we will use throughout the course.

Assignment answers, meant to be pasted into the training repository as needed, are located at https://github.com/Project-Quantum/TrainingAssignments.

Download the modules and the training project repository. Go through the slide and view the samples the modules refer to in the repository. Try running the samples. At the end of the module, there is an assignment. Try it out, and if you get stuck, take a peek at the assignments repo and carry on.

Course modules

  • Setup: Download the starter kit and run the sample.
  • Introducing Quantum: What is Quantum and how does it work with Perfecto? Introducing Behavior Driven Design (BDD) and writing a first BDD script.
  • Locators & capabilities: Advanced BDD scripting with an object repository. Learning more on device cababilities and TestNG.
  • Custom Java steps: How to create steps in Java? Creating our first steps and using them from within a BDD script.
  • Data & executions: Data driven testing, test properties, parallel execution, multiple scenarios, and more.
  • Quantum & Page Object Model: The best practice for automation implemented in Quantum.
  • Power usage: Desktop and mobile testing, storing values in steps, querying the device driver, and more advanced Quantum tricks.
  • Extending Quantum: Creating listeners, working with multiple devices, and more ways to make Quantum fit your needs.