# RunningProcessesDialogHandle

Import: `import com.install4j.api.test.ui.RunningProcessesDialogHandle;`

```java
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`](../exceptions/ComponentNotFoundException.md).

Reach this handle via [`Session.runningProcessesDialog`](../session/Session.md#runningprocessesdialog).

## Inherited from

- [DialogHandle](DialogHandle.md) — 2 methods
- [UiContainer](UiContainer.md) — 2 methods

## Methods

| Signature | Returns | Description |
|---|---|---|
| [`processNames()`](#processnames) | `List<String>` | The process names shown in the list. |
| [`clickClose()`](#clickclose) | `void` | Click the "Close Processes" button. |
| [`clickTerminate()`](#clickterminate) | `void` | Click the "Terminate Processes" button. |
| [`clickRetry()`](#clickretry) | `void` | Click the "Retry" button. |
| [`clickIgnore()`](#clickignore) | `void` | Click the "Ignore" button. |

### processNames()

```java
List<String> processNames()
```

The process names shown in the list.

### clickClose()

```java
void clickClose()
```

Click the "Close Processes" button. Present when the close strategy includes a close option.

### clickTerminate()

```java
void clickTerminate()
```

Click the "Terminate Processes" button. Present when the close strategy includes terminate.

### clickRetry()

```java
void clickRetry()
```

Click the "Retry" button. Always present.

### clickIgnore()

```java
void clickIgnore()
```

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

