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 633253 - Not able to navigate my tool by using LDTP Editor
Not able to navigate my tool by using LDTP Editor
Status: RESOLVED OBSOLETE
Product: LDTP
Classification: Other
Component: ldtp
1.7.0
Other Linux
: Normal critical
: ---
Assigned To: LDTP maintainers
LDTP Development Mailing List
Depends on:
Blocks:
 
 
Reported: 2010-10-27 09:40 UTC by baLAN
Modified: 2010-11-03 05:19 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description baLAN 2010-10-27 09:40:20 UTC
I have installed ldtp_1.7.2 build. Launched ldtpeditor on Ubuntu10.04. Afterthat, I launched my tool. But am not able record navigate to my tool. Once stop the record, I clicked play button, it throws below error msg....

--------------------------------------------------------------------------
Traceback (most recent call last):
  • File "/usr/bin/ldtpeditor", line 425 in playback
    exec(generatedLDTPScript)
  • File "<string>", line 1 in <module>
  • File "/usr/lib/python2.6/dist-packages/ldtp.py", line 103 in <module>
    _mainSock, _ldtpUseTcp = connect2LdtpExecutionEngine ()
  • File "/usr/lib/python2.6/dist-packages/ldtplib/ldtplibutils.py", line 641 in connect2LdtpExecutionEngine
    raise ConnectionLost ('Could not establish connection ' + str (msg)) ConnectionLost: Could not establish connection [Errno 2] No such file or directory --------------------------------------------------------------------------

In the LDTP editor, having "file and help" menu only. "view and Edit" menu is missing. For that am not able to configure log file also.

Plz help me out, how to navigate menus without any errors?

Thnx,
baLAN
Comment 1 Nagappan Alagappan 2010-10-27 17:51:02 UTC
Hello Balan,

LDTP editor is deprecated. BTW, you are using old version of LDTP, the latest released version is 2.0.6 and there are quite a bit enhancements in git head.

At VMware and in Ubuntu, we all write the script manually, as that process seems to be much faster and consistent. Recording through the editor, doesn't work well, unfortunately !

Thanks
Nagappan
Comment 2 baLAN 2010-10-28 04:51:58 UTC
Hi Nagappan,

Thank you for your timely response. Actually I tried latest LDTP build 2.0.6, but this tarball does not have configure file. Without config file how can I install the build. 

This is the link I used to download the build:
http://download.freedesktop.org/ldtp/2.x/2.0.x/

Plz help me.

Regds,
baLAN
Comment 3 baLAN 2010-11-03 05:19:20 UTC
sudo python setup.py install

For installation, the above command is working fine. After install the
build, am not able to run "ldtpeditor".  could you please guide me the
whole LDTP setup? Actually I wanna some example script for navigate
the menus, it would be helpful for me to understand.

Thank you,
balan