[LDTP-Dev] Linux Desktop Testing Project editor
konghao
konghao at bsw.net.cn
Sun Nov 18 23:54:59 PST 2007
Thanks , I will try it.
-----Original Message-----
From: LaviXuGuofuX [mailto:lavixu at hotmail.com]
Sent: Monday, November 19, 2007 3:25 PM
To: konghao; Nagappan A; ldtp-dev at lists.freedesktop.org
Subject: RE: [LDTP-Dev] Linux Desktop Testing Project editor
In that case, path to your python bin under the command-line is not to the ldtp checked.
So, please check to where you are installed for ldtp.py.
----------------------------------------
> From: konghao at bsw.net.cn
> To: nagappan at gmail.com; ldtp-dev at lists.freedesktop.org
> Date: Mon, 19 Nov 2007 15:18:03 +0800
> Subject: Re: [LDTP-Dev] Linux Desktop Testing Project editor
>
> Hi,
>
> Sorry for disturbing:)I have another issue.
>
> After successful run these commands:
> $./configure -prefix=/usr
> $make
> #make install
> I installed LDTP0.9.2 in FC6 and I can launch the ldtpeditor gui.
> After recording steps by using ldtpeditor,I got a gcalctool.py script like that:
> ----------------------------------------------------------------------------
> from ldtp import *
> from ldtputils import *
>
> try:
> log ("test script", "teststart")
>
> click ("frmCalculator", "btnNumeric9")
> click ("frmCalculator", "btnDivide")
> click ("frmCalculator", "btnNumeric6")
> click ("frmCalculator", "btnCalculateresult")
>
> log ("test script", "pass")
> log ("test script", "testend")
> except LdtpExecutionError, msg:
> log (str (msg), "cause")
> log ("test script", "fail")
> log ("test script", "testend")
> raise LdtpExecutionError (str (msg))
> ----------------------------------------------------------------------------
> then I type:
> $python ./gcalctool.py
>
> then I got the issue:
> ---------------------------------------------------------------------------
> Traceback (most recent call last):
> File "./gca.py", line 14, in ?
> except LdtpExecutionError, msg:
> NameError: name 'LdtpExecutionError' is not defined
> --------------------------------------------------------------------------
> It seems the "from ldtp import *" or "from ldtputils import *" didn't work?
>
> Thanks for you attention!
>
> Konghao
> _______________________________________________
> LDTP-dev mailing list
> LDTP-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/ldtp-dev
_________________________________________________________________
MSN 中文网,最新时尚生活资讯,白领聚集门户。
http://cn.msn.com
More information about the LDTP-dev
mailing list