[LDTP-Dev] [Bug 422199] New: ldtprecord does not dump the code to specified file name

LDTP (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Sat Mar 24 01:51:16 PDT 2007


Do not reply to this via email (we are currently unable to handle email
responses and they get discarded).  You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=422199

  LDTP | ldtprecord | Ver: 0.8.x

           Summary: ldtprecord does not dump the code to specified file name
           Product: LDTP
           Version: 0.8.x
          Platform: Other
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: ldtprecord
        AssignedTo: ldtp-maint at gnome.bugs
        ReportedBy: nharsha at gmail.com
         QAContact: ldtp-dev at lists.freedesktop.org
     GNOME version: Unspecified
   GNOME milestone: Unspecified


Platform:

OS Distro Name:
Ubuntu 6.06 LTS

uname -a
Linux  2.6.15-28-386 #1 PREEMPT Thu Feb 1 15:51:56 UTC 2007 i686 GNU/Linux

python -V
Python 2.4.3

which ldtp
/usr/bin/ldtp

ldtp -V
ldtp-0.8.0

which ldtprecord
/usr/bin/ldtprecord

which ldtprunner
/usr/bin/ldtprunner

ls -lt /usr/lib/python2.4/site-packages/ldtp*
-rw-r--r-- 1 root root   9934 2007-03-24 13:37
/usr/lib/python2.4/site-packages/ldtpcodegen.py
-rw-r--r-- 1 root root   7722 2007-03-24 13:37
/usr/lib/python2.4/site-packages/ldtpcodegen.pyc
-rw-r--r-- 1 root root 125929 2007-03-24 13:37
/usr/lib/python2.4/site-packages/ldtp.py
-rw-r--r-- 1 root root 120727 2007-03-24 13:37
/usr/lib/python2.4/site-packages/ldtp.pyc
-rw-r--r-- 1 root root   7854 2007-03-24 13:37
/usr/lib/python2.4/site-packages/ldtputils.py
-rw-r--r-- 1 root root   8563 2007-03-24 13:37
/usr/lib/python2.4/site-packages/ldtputils.pyc
-rw-r--r-- 1 root root   7755 2007-01-31 14:26
/usr/lib/python2.4/site-packages/ldtpcodegen.pyo
-rw-r--r-- 1 root root 113536 2007-01-31 14:26
/usr/lib/python2.4/site-packages/ldtp.pyo
-rw-r--r-- 1 root root   8596 2007-01-31 14:26
/usr/lib/python2.4/site-packages/ldtputils.p


Steps to simulate the problem:

1. Enable Accessibility (Enable Assistive technologies)

2. install ldtp-0.8.0 from source 
   ./configure --prefix=/usr
   make 
   sudo make install

3. In the terminal type:
   ldtp &

4. open gedit

5. In an other terminal run:
   ldtprecord -c start -a gedit -f ~/index.py

6. perform some operations in gedit and close gedit.

7. ldtprecord -c stop -f ~/index.py

Actual Result:

cat ~/index.py

it is found that ~/index.py is blank :(

Expected Result:

ldtprecord should dump the recored script into ~/index.py 

Note:
In this case when the ldtprecorder is started/stopped, no message is displayed
in the terminal saying that the ldtprecorder has started/stopped.

I am not sure whether I have missed any step which is preventing te proper
functioning of ldtprecord.


-- 
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email


More information about the LDTP-dev mailing list