<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<META content="MSHTML 6.00.2800.1522" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2></FONT>&nbsp;</DIV>
<BLOCKQUOTE 
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV style="FONT: 9pt 宋体"><FONT size=2>Hi Premkumar,Nags</FONT></DIV>
  <DIV style="FONT: 9pt 宋体"><FONT size=2>I have tried more ldtp 
  command.</FONT></DIV>
  <DIV style="FONT: 9pt 宋体"><FONT size=2></FONT>&nbsp;</DIV>
  <DIV style="FONT: 9pt 宋体"><FONT 
  size=2>&gt;&gt;&gt;initappmap('nautilus.map')</FONT></DIV>
  <DIV style="FONT: 9pt 宋体"><FONT size=2>&gt;&gt;&gt;1</FONT></DIV>
  <DIV style="FONT: 9pt 宋体"><FONT 
  size=2>&gt;&gt;&gt;activatewin('test')</FONT></DIV>
  <DIV style="FONT: 9pt 宋体"><FONT size=2>Traceback (most recent call 
  last):<BR>&nbsp; File "&lt;stdin&gt;", line 1, in ?</FONT><BR><FONT 
  size=2>NameError:name 'activewin' is not defined</FONT></DIV>
  <DIV style="FONT: 9pt 宋体"><FONT size=2></FONT>&nbsp;</DIV>
  <DIV style="FONT: 9pt 宋体"><FONT size=2>'click' ,'log'and 'selectmenuitem' 
  pass.</FONT></DIV>
  <DIV style="FONT: 9pt 宋体"><FONT size=2></FONT>&nbsp;</DIV><FONT 
size=2></FONT></BLOCKQUOTE>
<BLOCKQUOTE 
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV><FONT size=2>It seems that </FONT><FONT size=3>"from ldtp import *", 
  works from python prompt ,but 'from ldtputils import *'doesn't work 
  well.</FONT></DIV>
  <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 "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.<BR><BR>Regards<BR>Premkumar J<BR><BR></BLOCKQUOTE></BODY></HTML>