Hi Friedrich,<div><br></div><div>Can you show me how you are retrieving the event ?</div><div><br></div><div>I'm not clear about, what you are trying to do here, please explain ?</div><div><br></div><div>Based on my understanding, you are trying to do something like this [1] ? Correct me, if my assumption is wrong.</div>
<div><br></div><div>Thanks</div><div>Nagappan</div><div><br></div><div>[1] -
<a href="http://ldtp.freedesktop.org/user-doc/dc/d9a/a00218.html">http://ldtp.freedesktop.org/user-doc/dc/d9a/a00218.html</a> <br><br><div class="gmail_quote">On Wed, Sep 12, 2012 at 2:36 AM, Friedrich Paetzke <span dir="ltr"><<a href="mailto:f.paetzke@gmail.com" target="_blank">f.paetzke@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
I'm trying to transform a atspi event to a ldtp command, in particular the text change events (role = ROLE_TEXT, events = ['object:text-changed:insert', 'object:text-changed:delete']) of text fields.<br>
<br>
I'm able to get the value, but not a name or identifier to use with enterstring(). The event doesn't provide a name. I tried to match the child index with the return of<br>
<br>
filter(lambda x: x.startswith('txt'), ldtp.getobjectlist(appname))<br>
<br>
but wasn't successful.<br>
<br>
Does someone give me a advice?<br>
<br>
<br>
Best regards<br>
friedrich<br>
______________________________<u></u>_________________<br>
LDTP-dev mailing list<br>
<a href="mailto:LDTP-dev@lists.freedesktop.org" target="_blank">LDTP-dev@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/ldtp-dev" target="_blank">http://lists.freedesktop.org/<u></u>mailman/listinfo/ldtp-dev</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>Linux Desktop (GUI Application) Testing Project - <a href="http://ldtp.freedesktop.org" target="_blank">http://ldtp.freedesktop.org</a><br>Cobra - Windows GUI Automation tool - <a href="https://github.com/ldtp/cobra" target="_blank">https://github.com/ldtp/cobra</a><br>
<a href="http://nagappanal.blogspot.com" target="_blank">http://nagappanal.blogspot.com</a><br>
</div>