Peach :: Agent :: gui :: PopupWatcher :: Class PopupWatcher
[hide private]

Class PopupWatcher

source code


Will watch for specific dialogs and optionally kill or log a fault when detected.

Instance Methods [hide private]
 
__init__(self, args)
Constructor.
source code
 
OnTestStarting(self)
Called right before start of test case or variation
source code
 
OnTestFinished(self)
Called right after a test case or varation
source code
 
DetectedFault(self)
Check if a fault was detected.
source code
 
OnShutdown(self)
Called when Agent is shutting down, typically at end of a test run or when a Stop-Run occurs
source code
Method Details [hide private]

__init__(self, args)
(Constructor)

source code 

Constructor. Arguments are supplied via the Peach XML file.

Parameters:
  • args (Dictionary) - Dictionary of parameters