Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Last revision Both sides next revision
screenrecording [2016/12/18 20:29]
admin
screenrecording [2016/12/18 20:43]
admin
Line 1: Line 1:
 ===== Screen Recording ===== ===== Screen Recording =====
 +Often times you may wish to record AUT as it's being tested. ​ //Screen Recording// allows you to record the screenshot of AUT while the model is executing programmatically in MScript. ​ The recorded screenshots of the AUT can be archived and played back after the model execution.
  
-You may record AUT screens as it's being tested for documentation or review. ​ Screen recordings ​can be played back through //File / Playback// (details see [[playback | Playback Screen Recording]].+Be aware that screen recording ​can generate lots of screenshots which can take up a lot of disk space.
  
-Screen recording is a global setting. ​ You must enable it to start the screen recording and the screen recording will continue until it is explicitly disabled/​stopped.+==== Playback ==== 
 + 
 +Screen recordings can be played back through //File / Playback// (details see [[playback | Playback Screen Recording]]). 
 + 
 + 
 +==== Start / Stop Screen Recording ==== 
 +Screen recording is a global setting. ​ You must enable it to start the screen recording and the screen recording will continue until it is explicitly disabled/​stopped ​or until //​TestOptimal Server// is restarted.
  
 By default, screen recording is disabled. You can enable screen recording by calling MScript function [[http://​testoptimal.com/​javaDoc/​reference/​com/​webmbt/​plugin/​MbtScriptExecutor.html#​startScreenRecording(java.lang.String)| $startScreenRecording('​name'​)]]. By default, screen recording is disabled. You can enable screen recording by calling MScript function [[http://​testoptimal.com/​javaDoc/​reference/​com/​webmbt/​plugin/​MbtScriptExecutor.html#​startScreenRecording(java.lang.String)| $startScreenRecording('​name'​)]].
Line 10: Line 17:
  
 You will usually place //​$startScreenRecording('​name'​)//​ in //​MBT_Start//​ trigger and //​$stopScreenRecording()//​ in //MBT_end// trigger. You will usually place //​$startScreenRecording('​name'​)//​ in //​MBT_Start//​ trigger and //​$stopScreenRecording()//​ in //MBT_end// trigger.
 +
 +==== Control Recording Interval ====
 +
 +By default, AUT snapshot is taken every 200 milliseconds. ​ You may adjust this interval by calling MScript function [[http://​testoptimal.com/​javaDoc/​reference/​com/​webmbt/​plugin/​MbtScriptExecutor.html#​setRecordingInerval(java.lang.String) | $setScreenRecordingInterval('​number of milliseconds'​)]].
 +
 +This setting is global and will remain in effect until //​$setScreenRecordingInterval('​millis'​)//​ is called again with a new value or until //​TestOptimal Server// is restarted.
 +
 +==== File Location ====
 +AUT screenshot image files are stored in a folder in //video// folder.
 +
 +You may delete a specific video folder. But be sure to leave //Default// folder alone as it's used by the system.
 +
 +
  
  
Print/export
QR Code
QR Code screenrecording (generated for current page)