What is Peach
Installing
Tutorials
Methodology
Introduction
FAQ
Peach 3
Peach Pits
 General Conf
 Data Modeling
 State Modeling
 Agents
  Monitors
 Test
  Publishers
  Loggers
Running
Minset
Peach 2.3

License

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>