Victor<br>
<br>
Dont import ldtputils.<br>
try some other command like initappmap () that is present in ldtp and not in ldtputils. Check if that works,<br>
<br>
<br>Premkumar&nbsp; J<br>
<br><div><span class="gmail_quote">On 11/17/05, <b class="gmail_sendername">½ª¹úΰ</b> &lt;<a href="mailto:jianggw@bsw.net.cn">jianggw@bsw.net.cn</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">







<div><font size="2"></font>&nbsp;</div>
<blockquote style="border-left: 2px solid rgb(0, 0, 0); padding-right: 0px; padding-left: 5px; margin-left: 5px; margin-right: 0px;">
  <div><font size="2">Hi Premkumar,Nags</font></div>
  <div><font size="2">I have tried more ldtp 
  command.</font></div>
  <div><font size="2"></font>&nbsp;</div>
  <div><font size="2">&gt;&gt;&gt;initappmap('nautilus.map')</font></div>
  <div><font size="2">&gt;&gt;&gt;1</font></div>
  <div><font size="2">&gt;&gt;&gt;activatewin('test')</font></div>
  <div><font size="2"><span class="q">Traceback (most recent call 
  last):<br></span>&nbsp; File &quot;&lt;stdin&gt;&quot;, line 1, in ?</font><br><font size="2">NameError:name 'activewin' is not defined</font></div>
  <div><font size="2"></font>&nbsp;</div>
  <div><font size="2">'click' ,'log'and 'selectmenuitem' 
  pass.</font></div>
  <div><font size="2"></font>&nbsp;</div><font size="2"></font></blockquote>
<blockquote style="border-left: 2px solid rgb(0, 0, 0); padding-right: 0px; padding-left: 5px; margin-left: 5px; margin-right: 0px;">
  <div><font size="2">It seems that </font><font size="3">&quot;from ldtp import *&quot;, 
  works from python prompt ,but 'from ldtputils import *'doesn't work 
  well.</font></div><span class="q">
  <div><font size="2"></font>&nbsp;</div>
  <div><br></div>Hi Nags/Victor,<br><br>I checked the ldtputils.py file and 
  there is a line &quot;import ldtp&quot;. 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 &quot;from ldtp import *&quot;, works from python 
  prompt then it means things are fine. lets us wait for Victor to try 
  this.<br><br>Regards<br>Premkumar J<br><br></span></blockquote>
</blockquote></div><br>