---
title: "TTT: Model-Based Testing"
canonical: "https://docs.getxray.app/space/XRAY/301474563/TTT%3A%20Model-Based%20Testing"
format: markdown
---
Model-Based Testing (MBT) is a technique where a visual model is used to drive our testing.

A model is a simplified representation of a relationship, process, or a system (please read a quick overview on MBT [here](https://sergiofreire.com/post/model-based-testing-overview)).

Models can be built around flows, transition of pages, internal states, calculations, etc. There are many different ways of modeling and in itself is a challenge and an art.

MBT can be combined with automation to provide greater coverage and explore the system dynamically, until a certain criteria (e.g. time, edge coverage) is met. In that case, we can look at it as a way to cover more test scenarios through a dynamic test generation process.

There are also additional benefits including better abstraction and collaboration/discussion using a visual model, easier test automation maintenance, better use of available time to test complex scenarios, and more.


> Macro (children)