Skip to content

Message#

Gives options to inform the operator visually and can block the test sequence until the operator reacts to the information.

Description#

The test shows a message to the operator. The way the message is displayed is selected with the Typ input:

  • Hint: The message is shown as a non-blocking hint notification. The test sequence continues immediately.
  • Message Box: The message is shown in a message box with the given window caption. The test sequence is blocked until the operator closes the message box.
  • Dialog Box: The message is shown in a dialog box with the given window caption and an OK and a Cancel button. The test sequence is blocked until the operator reacts. Pressing OK sets the test result to pass, pressing Cancel sets it to fail.

The window caption input is only used for the types Message Box and Dialog Box and is hidden when Hint is selected.

Input parameters#

Parameter Description
Typ How the message is displayed: Hint, Message Box or Dialog Box.
window caption The caption of the message box or dialog box window. Not used for the type Hint.
Message The message text shown to the operator.

Output parameters#

This test does not store any output parameters. For the type Dialog Box, the test result is set to pass or fail depending on the operator's reaction.

Supported devices#

This test does not require any device.

Example#

Goal:

Asking the operator to confirm a manual action (e.g. inserting the device under test) before the test sequence continues.

Measmatic setup:

  1. Add a new Message test to the test sequence by dragging and dropping a Message test from the test picker into the test sequence.
  2. Select Dialog Box as Typ.
  3. Enter Manual action required into the window caption input.
  4. Enter Insert the device under test and press OK. into the Message input.
  5. Execute the test in Measmatic by pressing the run all tests or run single test (when the Message test is selected) button. The dialog box is shown and the test sequence is blocked. Pressing OK sets the test result to pass and the sequence continues, pressing Cancel sets it to fail.

See also: