PopupWatcher Monitor (Windows)
The PopupWatcher monitor is able to close windows based on title.
Parameters
-
WindowNames — Window names separated by a comma
-
Fault — Trigger fault when a window is found (optional, default false)
Examples
Close Notepad
<Agent name="Local"> <Monitor class="PopupWatcher"> <Param name="WindowNames" value="Notepad" /> </Monitor> </Agent>
Fault on Assert
<Agent name="Local"> <Monitor class="PopupWatcher"> <Param name="WindowNames" value="Assert" /> <Param name="Fault" value="True" /> </Monitor> </Agent>