[LDTP-Dev] How could I solve this problem?
Premkumar Jothimani
prem.jothimani at gmail.com
Thu Nov 17 00:11:47 PST 2005
Victor
Dont import ldtputils.
try some other command like initappmap () that is present in ldtp and not in
ldtputils. Check if that works,
Premkumar J
On 11/17/05, 姜国伟 <jianggw at bsw.net.cn> wrote:
>
> Hi Premkumar,Nags
> I have tried more ldtp command.
> >>>initappmap('nautilus.map')
> >>>1
> >>>activatewin('test')
> Traceback (most recent call last):
> File "<stdin>", line 1, in ?
> NameError:name 'activewin' is not defined
> 'click' ,'log'and 'selectmenuitem' pass.
>
> It seems that "from ldtp import *", works from python prompt ,but 'from
> ldtputils import *'doesn't work well.
>
> Hi Nags/Victor,
>
> I checked the ldtputils.py file and there is a line "import ldtp". So I am
> not sure why Victor encountred such error.I am afraid ldtp.so file
> available in Victor's comp is not proper. To cross check it, Victor can try
> some sample ldtp commands like initappmap, click etc., from python prompt.
> If "from ldtp import *", works from python prompt then it means things are
> fine. lets us wait for Victor to try this.
>
> Regards
> Premkumar J
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freedesktop.org/archives/ldtp-dev/attachments/20051117/55974c8d/attachment.htm
More information about the LDTP-dev
mailing list