After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 336419 - Recorder: add a comment/marker functionality
Recorder: add a comment/marker functionality
Status: RESOLVED FIXED
Product: dogtail
Classification: Deprecated
Component: Recorder
CVS HEAD
Other Linux
: Normal normal
: ---
Assigned To: Dogtail Maintainers
Dogtail Maintainers
Depends on:
Blocks: 318538
 
 
Reported: 2006-03-29 00:54 UTC by Dave Malcolm
Modified: 2006-07-14 17:35 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Dave Malcolm 2006-03-29 00:54:29 UTC
It would be nice if the recorder had a text field that enabled you to add comments into the generated recording, so that the user can insert markers/break up the text somewhat.

Whether these would be comments or print statements, I'm not sure.
Comment 1 Zack Cerza 2006-03-31 15:58:58 UTC
I'm not sure what you mean. Is it that you want to be able to:

Start recording
Type a comment, f.e. "I'm going to click foo"
Click foo

and so on? or something else?
Comment 2 Dave Malcolm 2006-03-31 21:04:53 UTC
This is aimed at people recording complex testcases, to help break up the resulting script.

For example, Fiona is recording a script that sends an email to yourself and checks you get it:
(i) She start recording
(ii) She clicks on "Add a Comment" and writes "Sending an email"
(iii) She then uses the UI of the app under test to compose the email and sends it
(iv) She clicks on "Add a Comment" and writes "Now check to see if we got the email"
(v) She then uses the UI of the app under test to try to find the email, and gets it into a certain state

The idea is to let you break up the script into more manageable chunks, and annotate what you're doing.
Comment 3 Zack Cerza 2006-07-14 17:35:50 UTC
It's been possible for a while now to edit the script text while the recorder was stopped. I've just made it so that the script text is editable even while recording. So we don't need a special "Add a comment button" - you can just type:

# Sending an email

directly into the script text.