Hi,<br>
<br>
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.<br>
<br>
<a href="http://ldtp.freedesktop.org/user-doc/imagecapture.html">http://ldtp.freedesktop.org/user-doc/imagecapture.html</a><br>
<br>
Thanks<br>
Nagappan<br><br><div><span class="gmail_quote">On 6/5/07, <b class="gmail_sendername">Raymond Bergen</b> <<a href="mailto:raymond.bergen@gmail.com">raymond.bergen@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
LDTP looks very nice, i have been playing around with it for a little<br>while. I did run into a little problem im trying to capture an image<br>of a window using the imagecapture function however i get the error<br>thet the window does not exist. i find this strange because the
<br>selectmenuitem function has no trouble finding the window and<br>selecting the menuitem. I hope you can tell me what im doing wrong.<br>the code i used is the following:<br><br>from ldtp import *<br>from ldtputils import *
<br><br>launchapp('gcalctool')<br>imagecapture ('*Calculator', 'out.png')<br><br>the gnome calculator starts i can use the selectmenuitem function like<br>i said but the image capture cant find the window. the window title i
<br>see is Calculator<br><br>thanks in advance<br><br>Raymond Bergen<br>_______________________________________________<br>LDTP-dev mailing list<br><a href="mailto:LDTP-dev@lists.freedesktop.org">LDTP-dev@lists.freedesktop.org
</a><br><a href="http://lists.freedesktop.org/mailman/listinfo/ldtp-dev">http://lists.freedesktop.org/mailman/listinfo/ldtp-dev</a><br></blockquote></div><br><br clear="all"><br>-- <br>Linux Desktop Testing Project - <a href="http://ldtp.freedesktop.org">
http://ldtp.freedesktop.org</a><br><a href="http://nagappanal.blogspot.com">http://nagappanal.blogspot.com</a>