Difference between revisions of "Documentation/Nightly/SlicerApplication/QtTesting"

From Slicer Wiki
Jump to: navigation, search
Line 9: Line 9:
 
|}
 
|}
  
Too lazy to do the same actions over and over? QtTesting is the answer! The QtTesting library provides you with an easy way to record and play macros with Slicer3D. Included in this library is a user-friendly recording interface that allows you to easily control what actions you'd like to record as well as a simple and smart playback feature that will repeat your specific sequence of actions whenever you want and however many times is necessary. With minimal input from the user, QtTesting record all accomplished actions from the point you have started the record until you stop it! "Create a puppet and let it do it the rest ... "
+
Too lazy to do the same actions over and over? QtTesting is the answer! The QtTesting library provides you with an easy way to record and play macros with 3DSlicer. Included in this library is a user-friendly recording interface that shows you what actions you're recording as well as a simple and smart playback interface that will allow you to control actions whenever you want. With no input from the user, QtTesting record all accomplished actions from the point you have started the record until you stop it! "Create a puppet and let it do it the rest ... "
  
 
Slicer developers already use this library to record tutorials and test Slicer3D application.
 
Slicer developers already use this library to record tutorials and test Slicer3D application.

Revision as of 19:26, 23 May 2012

Home < Documentation < Nightly < SlicerApplication < QtTesting

Overview

3DSlicerQtTesting.png

Too lazy to do the same actions over and over? QtTesting is the answer! The QtTesting library provides you with an easy way to record and play macros with 3DSlicer. Included in this library is a user-friendly recording interface that shows you what actions you're recording as well as a simple and smart playback interface that will allow you to control actions whenever you want. With no input from the user, QtTesting record all accomplished actions from the point you have started the record until you stop it! "Create a puppet and let it do it the rest ... "

Slicer developers already use this library to record tutorials and test Slicer3D application.


QtTestingMenu.png

Recorder

How to Start

  • Go to Edit and click to the action Record Macro to start to record all your events.

The record dialog will appear at the bottom left of the application

Record dialog :

  • Show you the last event recorded
  • Numbers of events recorded

You can now stop the record when you want by clicking on the Stop button

Save your macro

  • After stopped the record, a dialog will appear to allow you to save your macro.

QtTestingRecorderDialog.jpg|

Player

How to Start

  • Go to Edit and click to the action Play Macro to start to play back.

Player dialog :

  • Controler widget
    • Start, pause, stop or play by step your macro.
    • Log check button, allow you to Show/Hide messages about events.
    • Change the Time step to control the speed.
  • Player tab : Default tab
    • Show you the macro file played.
  • Info tab :
    • SHow you the last event played.

QtTestintPlayererDialog.jpg

User limitations