Thanks Nagappan.<br><br>I use sniff and seems to work well enough so far. I got dogtail to work but their documentation isn&#39;t funky.<br><br>Mago looks interesting btw. I see you are on both the LDTP and Mago projects. Mago looks particularly interesting. When does it come out?<br>
<br>Jayanth<br><br><div class="gmail_quote">On Thu, Jul 30, 2009 at 6:53 AM, Nagappan Alagappan <span dir="ltr">&lt;<a href="mailto:nagappan@gmail.com">nagappan@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hello Jayanth,<br><br>If you are using latest distribution, you can see all the accessible information through Accerciser application.<br><br>Thanks<br><font color="#888888">Nagappan</font><div><div></div><div class="h5">
<br><br><div class="gmail_quote">On Wed, Jul 29, 2009 at 5:55 AM, Srijayanth Sridhar <span dir="ltr">&lt;<a href="mailto:srijayanth@gmail.com" target="_blank">srijayanth@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hello all,<br><br>For some vague reason the click() function isn&#39;t defined on certain types of Node objects, I have no clue why, I haven&#39;t looked at the code in detail, but I took the Node.click() method, rewrote it as a standalone function and passed the eventbox into it and it works. So I think this might actually be a bug at some level, or a really strange feature.<br>



<br>Nagappan, thanks for LDTP. I&#39;ll take a look at that one as well.<br><br>Thank you,<br><br>Jayanth<div><div></div><div><br><br><div class="gmail_quote">On Wed, Jul 29, 2009 at 5:57 PM, Nagappan Alagappan <span dir="ltr">&lt;<a href="mailto:nagappan@gmail.com" target="_blank">nagappan@gmail.com</a>&gt;</span> wrote:<br>



<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hello Jayanth,<br><br>Did you get a chance to try the same with LDTP [1] ? Its being used by GNOME automation project [2], Ubuntu, VMware, Palm Source.<br>



<br>[1] - <a href="http://ldtp.freedesktop.org" target="_blank">http://ldtp.freedesktop.org</a><br>

[2] - <a href="http://mago.ubuntu.com" target="_blank">http://mago.ubuntu.com</a><br><br>Thanks<br>Nagappan<br><br><div class="gmail_quote"><div><div></div><div>On Wed, Jul 29, 2009 at 12:07 AM, Srijayanth Sridhar <span dir="ltr">&lt;<a href="mailto:srijayanth@gmail.com" target="_blank">srijayanth@gmail.com</a>&gt;</span> wrote:<br>





</div></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div></div><div>Hello,<br><br>I am trying to use dogtail to make a demonstration about automating tests for certain gtk applications we develop. I managed to get a fair bit of it working but I am having a hard time getting dogtail to send events to certain types of widgets, primarily the EventBox widget.<br>







<br>I&#39;ve googled and not found anything significant. Has anyone worked on this? I am pasting some code.<br><br># This program draws a simple window with an event box in it. The <br># eventbox is attached to the on_evbox_clicked() function and prints<br>






# a simple message upon being clicked.<br><br>import pygtk<br>pygtk.require(&#39;2.0&#39;)<br>import atk<br>import gtk<br><br>def on_evbox_clicked(evbox,event):<br>        print &quot;Simple click event&quot;<br><br>evbox = gtk.EventBox()<br>






evbox.connect(&quot;button-release-event&quot;,on_evbox_clicked)<br>evbox_acc = evbox.get_accessible()<br>evbox_acc.set_name(&quot;test event box&quot;)<br>window = gtk.Window()<br>window.add(evbox)<br>window.connect(&quot;delete-event&quot;,gtk.main_quit)<br>






window_acc = window.get_accessible()<br>window_acc.set_name(&quot;test window&quot;)<br>window_acc.set_role(atk.ROLE_WINDOW)<br>window.show_all()<br>gtk.main()<br><br>
# end of eventbox.py<br><br>--------------------------------------------<br><br>from dogtail.utils import run<br>from dogtail import tree<br>from os import environ,path,remove<br><br>app=tree.root.application(&#39;eventbox.py&#39;)<br>






evbox=app.child(&quot;test event box&quot;)<br>print evbox.actions<br><br># actions are showing up as an empty dict. :(<br><br>----------------------------------<br><br>So for some vague reason the eventbox has no actions associated with it.<br>






<br>Does anyone have a clue why this is so?<br><br>Thank you,<br><br>Jayanth<br><br><br><br>
<br></div></div>_______________________________________________<br>
BangPypers mailing list<br>
<a href="mailto:BangPypers@python.org" target="_blank">BangPypers@python.org</a><br>
<a href="http://mail.python.org/mailman/listinfo/bangpypers" target="_blank">http://mail.python.org/mailman/listinfo/bangpypers</a><br>
<br></blockquote></div><font color="#888888"><br><br clear="all"><br>-- <br>Linux Desktop (GUI Application) Testing Project - <a href="http://ldtp.freedesktop.org" target="_blank">http://ldtp.freedesktop.org</a><br><a href="http://nagappanal.blogspot.com" target="_blank">http://nagappanal.blogspot.com</a><br>






</font><br>_______________________________________________<br>
BangPypers mailing list<br>
<a href="mailto:BangPypers@python.org" target="_blank">BangPypers@python.org</a><br>
<a href="http://mail.python.org/mailman/listinfo/bangpypers" target="_blank">http://mail.python.org/mailman/listinfo/bangpypers</a><br>
<br></blockquote></div><br>
</div></div><br>_______________________________________________<br>
BangPypers mailing list<br>
<a href="mailto:BangPypers@python.org" target="_blank">BangPypers@python.org</a><br>
<a href="http://mail.python.org/mailman/listinfo/bangpypers" target="_blank">http://mail.python.org/mailman/listinfo/bangpypers</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Linux Desktop (GUI Application) Testing Project - <a href="http://ldtp.freedesktop.org" target="_blank">http://ldtp.freedesktop.org</a><br><a href="http://nagappanal.blogspot.com" target="_blank">http://nagappanal.blogspot.com</a><br>



</div></div><br>_______________________________________________<br>
BangPypers mailing list<br>
<a href="mailto:BangPypers@python.org">BangPypers@python.org</a><br>
<a href="http://mail.python.org/mailman/listinfo/bangpypers" target="_blank">http://mail.python.org/mailman/listinfo/bangpypers</a><br>
<br></blockquote></div><br>