[LDTP-Dev] automate firefox printing - unable to get the child menu item

Nagappan A nagappan at gmail.com
Tue Apr 28 20:53:14 PDT 2009


Hello Aclhk,

Apologize for the delayed reply. I think you are facing issue like this ?
http://bugzilla.gnome.org/show_bug.cgi?id=542909

Thanks
Nagappan

On Fri, Apr 24, 2009 at 2:21 AM, Aclhk Aclhk <aclhkaclhk at ymail.com> wrote:

> I have installed ldtp in centos 5.1 successfully.
>
> I would like to use command step-by-step to print.
>
> #firefox www.google.com&
> #python
> >>> from ldtp import *
> >>> from ldtputils import *
> >>> getwindowlist()
> [u'frmGoogle-MozillaFirefox', u'frmroot at localhost:~/ldtp']
> >>> selectmenuitem('frm*fox', 'mnuFile;mnuNewTab')
> 1
> >>> selectmenuitem('frm*fox', 'mnuFile;mnuPrint')
> Traceback (most recent call last):
>     File "<stdin>", line 1, in ?
>     File "/usr/lib/python2.4/site-packages/ldtp.py", line 669, in
> selectmenuitem raise LdtpExecutionError (_responseStatus [1])
> ldtplib.ldtplibutils.LdtpExecutionError: u'Unable to get the child menu
> item'
>
> Pls kindly advise.
>
> Best Rgds,
>
> ------------------------------
> Yahoo!香港提供網上安全攻略,教你如何防範黑客!*了解更多* <http://hk.promo.yahoo.com/security/>
> _______________________________________________
> LDTP-dev mailing list
> LDTP-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/ldtp-dev
>
>


-- 
Linux Desktop (GUI Application) Testing Project -
http://ldtp.freedesktop.org
http://nagappanal.blogspot.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freedesktop.org/archives/ldtp-dev/attachments/20090428/19cb7bda/attachment.htm 


More information about the LDTP-dev mailing list