[LDTP-Dev] Image capture

Nagappan A nagappan at gmail.com
Tue Jun 5 07:19:48 PDT 2007


Hi,

Any commands that are part of ldtputils does not support regular / glob
expression. Though you can give partial name. Otherwise you may need to give
the complete name. For example, If the title is 'Calculator - Basic', then
you need to provide the same. Also the current implementation of
imagecapture depends on the external utility digwin.

http://ldtp.freedesktop.org/user-doc/imagecapture.html

Thanks
Nagappan

On 6/5/07, Raymond Bergen <raymond.bergen at gmail.com> wrote:
>
> LDTP looks very nice, i have been playing around with it for a little
> while. I did run into a little problem im trying to capture an image
> of a window using the imagecapture function however i get the error
> thet the window does not exist. i find this strange because the
> selectmenuitem function has no trouble finding the window and
> selecting the menuitem. I hope you can tell me what im doing wrong.
> the code i used is the following:
>
> from ldtp import *
> from ldtputils import *
>
> launchapp('gcalctool')
> imagecapture ('*Calculator', 'out.png')
>
> the gnome calculator starts i can use the selectmenuitem function like
> i said but the image capture cant find the window. the window title i
> see is Calculator
>
> thanks in advance
>
> Raymond Bergen
> _______________________________________________
> LDTP-dev mailing list
> LDTP-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/ldtp-dev
>



-- 
Linux Desktop 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/20070605/682b965e/attachment.html 


More information about the LDTP-dev mailing list