org.unitils.selenium.screenrecorder.factory
Class DefaultScreenRecorderFactory

java.lang.Object
  extended by org.unitils.selenium.screenrecorder.factory.ScreenRecorderFactory
      extended by org.unitils.selenium.screenrecorder.factory.DefaultScreenRecorderFactory

public class DefaultScreenRecorderFactory
extends ScreenRecorderFactory

Author:
stijnhooft ScreenRecorder factory which -creates an AVI file with no audio -records the full screen -saves the video file in the /target/$testMethodName folder

Field Summary
 
Fields inherited from class org.unitils.selenium.screenrecorder.factory.ScreenRecorderFactory
testMethod
 
Constructor Summary
DefaultScreenRecorderFactory()
           
 
Method Summary
protected  org.monte.media.Format createAudioFormat()
           
protected  java.awt.Rectangle createCaptureArea()
           
protected  java.io.File createExportFolder()
           
protected  org.monte.media.Format createFileFormat()
           
protected  java.awt.GraphicsConfiguration createGraphicsConfiguration()
           
protected  org.monte.media.Format createMouseFormat()
           
protected  org.monte.media.Format createVideoFormat()
           
 
Methods inherited from class org.unitils.selenium.screenrecorder.factory.ScreenRecorderFactory
createScreenRecorder
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultScreenRecorderFactory

public DefaultScreenRecorderFactory()
Method Detail

createGraphicsConfiguration

protected java.awt.GraphicsConfiguration createGraphicsConfiguration()
Specified by:
createGraphicsConfiguration in class ScreenRecorderFactory

createFileFormat

protected org.monte.media.Format createFileFormat()
Specified by:
createFileFormat in class ScreenRecorderFactory

createCaptureArea

protected java.awt.Rectangle createCaptureArea()
                                        throws java.awt.HeadlessException
Specified by:
createCaptureArea in class ScreenRecorderFactory
Throws:
java.awt.HeadlessException

createVideoFormat

protected org.monte.media.Format createVideoFormat()
Specified by:
createVideoFormat in class ScreenRecorderFactory

createMouseFormat

protected org.monte.media.Format createMouseFormat()
Specified by:
createMouseFormat in class ScreenRecorderFactory

createAudioFormat

protected org.monte.media.Format createAudioFormat()
Specified by:
createAudioFormat in class ScreenRecorderFactory

createExportFolder

protected java.io.File createExportFolder()
Specified by:
createExportFolder in class ScreenRecorderFactory


Copyright © 2015. All Rights Reserved.