Define test path in multiple models (user-defined)

If you define test paths based on a complex model, you record individual paths in multiple assignments. The test path consists of several sections each of which is represented by a graphic. You open the individual sections using the start objects. Depending on the model complexity, project type, and current hierarchy level in the project, different buttons are available to you in the Test paths tab bar. Interactive test path recording is described below.

Manually

Changes the recording mode. Change the mode only if the interactive recording does not work properly.

If you select Manually, you need to click each object that you want to transfer to the test structure.

If you select Interactively, recording is automatic. If interactive recording is interrupted at a rule or process interface, you can decide on the subsequent course of the path. To do this, click the relevant model object with a blue outline.

Interactively

Changes the recording mode.

If you select Interactively, recording is automatic. If interactive recording is interrupted at a rule or process interface, you can decide on the subsequent course of the path. To do this, click the relevant model object with a blue outline.

In assignment

Opens the model to which the selected object is assigned. It describes the object in detail.

If recording is interrupted at a process interface or a related event, you can resume test path recording in the assigned model.

In superior model

Switches from the current model to the model that is one level of detail higher.

If you continued recording in an assignment and click this button, recording is resumed in the superior model.

Up

Moves the selected test object one position up in the test order.

That is how you change the order of test objects in the test path. This function is available only for interactive and manual recording.

Down

Moves the selected test object one position down in the test order.

That is how you change the order of test objects in the test path. This function is available only for interactive and manual recording.

Cancel

Ends the current recording and removes all objects from the test structure.

Additional path

Includes an additional test path in the same model and saves the current one.

Finish

Saves the test case including all objects of the test structure and the graphics for the test paths recorded.

Prerequisite

You have created a test project.

Procedure

  1. Open the user-definable test project. The tab of the Test Designer project selected opens.

  2. Click Navigation Navigation in the bar panel if the Navigation bar is not activated yet.

  3. Transfer the relevant database items to the test structure, or create test objects.

  4. In the Explorer tree, click the model that you want to use for recording the test case.

  5. Click Copy Copy in the Start tab bar.

  6. In the Test structure bar, click the test object for which you want to record the test path.

  7. Click Define test path Define test path in the Start tab bar.

    The Test paths tab bar is activated, with the Interactively Interactively recording mode selected by default. The model is displayed schematically.

  8. Click the object with which the test path will start. Possible start objects are displayed with a green outline.

  9. Click the start object with the green border again.

    The test path is automatically recorded until you have to make a decision on the subsequent process. All objects in the test path have a red outline. After a rule, the objects for the subsequent process have a blue outline.

  10. Click an object with a blue outline. The test path is completed up to the next position that requires a decision.

  11. For example, if you click once at an OR rule, the path becomes active (red), the object remains blue. At the second click, OR is excluded.

  12. Click In assignment In assignment in the Test paths tab bar to continue the test path in a process model assigned to a function. The Assigned models dialog opens if more than one model exists.

  13. Double-click the assigned model, in which you want to record the test path. The model opens.

  14. Click the start object. It now has a green border.

  15. Click the start object again.

  16. Continue recording until the end of the test path is reached.

  17. Click In superior model In superior model in the Test paths tab bar. Test path recording is continued in the superior model in which you started recording.

  18. Continue recording until the end of the test path is reached. The functions in the test path are listed with their model assignment.

  19. If necessary, change the order of the objects (test sequence) in the test structure by selecting the entries and clicking Up one level Up or Down Down in the Test paths tab bar.

  20. Click Finish Finish in the Test paths tab bar.

The test path is saved as a graphic and assigned to the test object. All functions in the test path are subordinate to the test object in the defined test sequence.

You can open the recorded path at any time.

See also

Generate test paths

Define test path in a model (user-defined)