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 UFT One tests, Selenium tests, or manual tests.
Creating a sample project requires
The sample includes the following entities, as well as the connections between them:
-
A UFT One or Selenium Cloud runner, if relevant.
-
Units
-
Models
-
Tests
-
A test suite
The sample project is a robust sample, ready to run tests on the Advantage online banking site: https://advantageonlinebanking.com/dashboard.
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.
Create a sample project
You can create a sample project for any of the following test frameworks: UFT One tests, Selenium tests, and manual tests.
Creating a sample project requires permissions to create models.
To create a sample project:
-
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.
-
Select the framework for your sample: Selenium, UFT, or Manual Testing.
-
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.
This dialog box also displays the Delete Sample button.
Delete a sample project
You can create only one sample for each framework per workspace. If you delete an existing sample, you can then create it anew.
To delete a sample project:
-
Click the Create sample project button .
-
Select a framework that is marked as Populated and click Next.
-
Click the Delete Sample button.
If you changed any entities in the sample project, you cannot delete the sample as a whole, though you can still delete its 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, use the Create sample project button to view the existing sample's entities.
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. Click the links to view the units, models, tests, or test suite.
Note: 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.
To view the cloud runner, if you have permissions to view runners:
-
Open the Settings menu , click Spaces, and select a workspace.
-
Select the Devops tab.
-
Open the Test Runners section and view the cloud runner.
The cloud runner is created by an internal user with permissions to create runners.
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.
See also: