SmartTutor Ying Zhang

How to Use SmartTutor
Ying Zhang
[email protected]
Key Laboratory of High Confidence Software Technologies (Peking University), Ministry of Education
School of Electronics Engineering and Computer Science, Peking University, Beijing, 100871, China
1
Outline
‰About SmartTutor
‰How to Use SmartTutor
¾ Install SmartTutor in Eclipse
¾ Run SmartTutor
• Record and Replay User Actions
• Edit Actions and Authoring Tutorials
2
About SmartTutor
‰ A plug-in in Eclipse
¾ Based one the previous work SmartReplayer.
‰ It can author Eclipse-based interactive tutorials with little
programming efforts
¾ These tutorials can not only give novice programmers step-by-step
instructions on how to perform tasks in Eclipse
• Creating an Swing/SWT project, checking out a CVS project, using
the EMF/GMF framework, etc.
¾ They can also make the tutorial-learning process be more interactive:
• Locating onscreen UI objects motioned in instructions
• Highlighting instructions to help the novice avoid missing steps while
learning
• Automatically performing some steps, while leaving the others to
perform manually
• …
3
A Snapshot of Such Interactive Tutorials
4
Software and Platform Requirements
‰ Software Requirements
¾ SmartTutor plug-in
• It is available at http://code.google.com/p/smarttutor/
¾ Eclipse
• Version 3.2 or 3.3
• SmartTutor plug-in has not been tested under Eclipse ver.3.4 yet.
Will be done.
¾ JDK 1.6
• In order to run Eclipse v3.2 or v3.3 full functionally, JDK 1.6 is
required.
‰ Platform Requirements
¾ Windows XP, 2003 server, or Vista
¾ Linux may be OK
• Not fully test
5
Install SmartTutor
‰Please put the SmartTutor plug-in into the “plugins”
folder which located under the Eclipse’s installation
directory
¾ The SmartTutor plug-in’s name is
edu.pku.tutorial.plugin_v****.jar (*is version number)
‰Restart Eclipse
‰You will find the SmartTutor icon appeared in the
Eclipse’s toolbar:
¾ Click it to start SmartTutor
6
The Basic SmartTutor UI
Record
Press it for
recording actions
SmartTutor Controller
Stop Recording
Replay All Actions
Single Step Replay
End Step
Use this function
for resetting states
If replay failed
7
The Performed User Actions of A CVS Task
User Action Tree
8
Mark as Template
Click to Open the Tutorial Editor
9
The Extended SmartTutor UI
Authoring an
Interactive Tutorial
10
The CVS Interactive Tutorial
11
Using This Tutorial
Step Hint
12
Substitute Templates
13
Step Hint
14