Initiating an Action with a Button

Generate a response from your system with the click of a button.

This feature is available only as part of a complete FlexLogger license. Refer to FlexLogger Editions for more information.

Add a button to a Screen document to trigger an event that you configure in your Test Specification or run a .bat or .exe file that you created.
  1. In your Screen document, click Actions in the palette located on the left side of the window.
  2. Navigate to the Item configuration pane located on the right side of the Screen window.
  3. Specify the type of action you want the button to initiate in the Action type drop-down menu.
    Table 43. Action Button Types
    Option Description
    EXE Run an executable (.exe) located in the file path you specify. You can pass arguments to the executable file.
    BAT Run a batch (.bat) file located in the file path you specify. You can pass arguments to the batch file.
    Event Trigger an event.
    1. Enter a descriptive name for the action button. FlexLogger lists your action button by this name in the Test Specification.
    2. Click Open Test Specification.
    3. In the Test Specification, add and configure the event that you want to trigger with the action button. Select Button pressed in the If condition drop-down menu. For more information, refer to Adding an Event.