RunningProcessesDialogHandle (install4j API)
Description: declaration: package: com.install4j.api.test.ui, interface: RunningProcessesDialogHandle

# Interface RunningProcessesDialogHandle

All Superinterfaces:
  `DialogHandle, UiContainer`

public interface RunningProcessesDialogHandle extends DialogHandle
Typed handle for the dialog shown by a "Check for running processes" action when blocking processes are detected.

Which action buttons are present depends on the action's close strategy and its allow-ignore flag. Calling a `clickXxx` method for a button that was not rendered throws `ComponentNotFoundException`.

Reach this handle via `Session.runningProcessesDialog()`.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `clickClose()`
  Click the "Close Processes" button.
  `void`
  `clickIgnore()`
  Click the "Ignore" button.
  `void`
  `clickRetry()`
  Click the "Retry" button.
  `void`
  `clickTerminate()`
  Click the "Terminate Processes" button.
  `List<String>`
  `processNames()`
  The process names shown in the list.

  ### Methods inherited from interface DialogHandle

  `clickWindowClose, getTitle`

  ### Methods inherited from interface UiContainer

  `dumpAsString, saveScreenshot`

- ## Method Details

  - ### processNames

    @NotNull List<String> processNames()
    The process names shown in the list.

  - ### clickClose

    void clickClose()
    Click the "Close Processes" button. Present when the close strategy includes a close option.

  - ### clickTerminate

    void clickTerminate()
    Click the "Terminate Processes" button. Present when the close strategy includes terminate.

  - ### clickRetry

    void clickRetry()
    Click the "Retry" button. Always present.

  - ### clickIgnore

    void clickIgnore()
    Click the "Ignore" button. Present only when allow-ignore is set on the action.