Sample MBT data

Automatically create a sample project that demonstrates all the entities you need for Model-Based Testing.

Overview

Model-Based Testing is comprised of several types of entities. At the click of a button, you can create a sample project, deciding whether you want a sample for OpenText Functional Testing tests, Selenium tests, or manual tests.

The sample project is a robust sample, ready to run tests on the sample Advantage online banking site. You can study the sample's entities and learn what you need to create for your own model based testing. Alternatively, you can edit the sample's entities, using them as a template.

The sample includes the following entities, as well as the connections between them:

  • An OpenText Functional Testing or Selenium Cloud runner, if relevant.

  • Units

  • Models

  • Tests

  • A test suite

  • Automated runs, including run results and recordings of the run sessions.

Create a sample project

You can create a sample project for OpenText Functional Testing tests, Selenium tests, or manual tests.

Note: Creating a sample project requires permissions to create models and is supported on OpenText Core Software Delivery Platform only.

To create a sample project: 

  1. Click the Create sample project button . The Create Sample Project dialog box opens.

    You can create only one sample for each framework per workspace. If a sample already exists, the Sample project summary dialog box opens, displaying links to each type of entity included in the sample.

    To create a sample project for another framework, click Create another project.

  2. Select the framework for your sample: Selenium, OpenText Functional Testing, or Manual Testing.

  3. Click Create.

The sample project is created in a Data Sample folder. A dialog box opens, displaying links you can use to access the units, models, and tests created for the sample.

Delete a sample project

You can create only one sample per workspace for each framework. To replace an existing sample, delete it and create a new one.

To delete a sample project:

  1. Click the Create sample project button .

  2. Select a framework that is marked as Populated and click Next.

  3. Click the Delete Sample button.

    If you changed any entities in the sample project, you can’t delete the entire sample, but you can still delete individual entities.

    If you try to delete a modified sample project, a list of modified entities is displayed. You can manually delete the listed entities and then click Delete Sample again, to delete the rest of the sample project.

View an existing sample project

After the sample is created, you can view the existing sample's entities. View the content of the sample's entities, as well as their relations, to see how the entities are used. For details on the different types of entities, see the See also topics, listed below.

To view the entities of an existing sample project:

  1. Click the Create sample project button .

  2. Select a framework that is marked as Populated and click Next.

    The Sample project summary dialog box opens, displaying links to each type of entity included in the sample.

  3. Click the links to view the units, models, tests, or test suite, or automated runs.

    Each link opens a new browser tab. To return to the Sample project summary dialog box, switch to the original browser tab, rather than using the Back button.

    For automated runs, you can also download a video recording of the run and the run result report. For details, see View detailed run results.

To view the cloud runner:

  1. Prerequisite: Permissions to view runners.
  2. Open the Settings menu , click Spaces, and select a workspace.

  3. Select the Devops tab.

  4. Open the Test Runners section and view the cloud runner.

    The cloud runner is created by an internal user with permissions to create runners.

See also