cfme.utils.video module

Video recording library

Configuration for this module + fixture: .. code-block:: yaml

logging:
video:
enabled: True dir: video display: ”:99” quality: 10
class cfme.utils.video.Recorder(filename, display=None, quality=None)[source]

Bases: object

Recorder class

Usage:

with Recorder(filename):
    # do something

# or
r = Recorder(filename)
r.start()
# do something
r.stop()

The first way is preferred, obviously

__del__()[source]

If the reference is lost and the object is destroyed ...

start()[source]
stop()[source]
cfme.utils.video.process_running(pid)[source]

Check whether specified process is running