<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">I have installed ldtp in centos 5.1 successfully.<br><br>I would like to use command step-by-step to print.<br><br>#firefox www.google.com&amp;<br>#python <br>&gt;&gt;&gt; from ldtp import *<br>&gt;&gt;&gt; from ldtputils import *<br>&gt;&gt;&gt; getwindowlist()<br>[u'frmGoogle-MozillaFirefox', u'frmroot@localhost:~/ldtp']<br>&gt;&gt;&gt; selectmenuitem('frm*fox', 'mnuFile;mnuNewTab')<br>1<br>&gt;&gt;&gt; selectmenuitem('frm*fox', 'mnuFile;mnuPrint')<br>Traceback (most recent call last):<br>&nbsp;&nbsp;&nbsp; File "&lt;stdin&gt;", line 1, in ?<br>&nbsp;&nbsp;&nbsp; File "/usr/lib/python2.4/site-packages/ldtp.py", line 669, in selectmenuitem raise LdtpExecutionError (_responseStatus [1])<br>ldtplib.ldtplibutils.LdtpExecutionError: u'Unable to get the child menu item'<br><br>Pls kindly advise.<br><br>Best Rgds,<br></td></tr></table><br>


      <hr size=1>Yahoo!香港提供網上安全攻略,教你如何防範黑客!<a href="http://hk.promo.yahoo.com/security/"><b>了解更多</b></a>