[LDTP-Dev] atspi event to ldtp command
Nagappan Alagappan
nagappan at gmail.com
Wed Sep 12 11:40:44 PDT 2012
Hi Friedrich,
Can you show me how you are retrieving the event ?
I'm not clear about, what you are trying to do here, please explain ?
Based on my understanding, you are trying to do something like this [1] ?
Correct me, if my assumption is wrong.
Thanks
Nagappan
[1] - http://ldtp.freedesktop.org/user-doc/dc/d9a/a00218.html
On Wed, Sep 12, 2012 at 2:36 AM, Friedrich Paetzke <f.paetzke at gmail.com>wrote:
> Hi,
>
> 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.
>
> 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
>
> filter(lambda x: x.startswith('txt'), ldtp.getobjectlist(appname))
>
> but wasn't successful.
>
> Does someone give me a advice?
>
>
> Best regards
> friedrich
> ______________________________**_________________
> LDTP-dev mailing list
> LDTP-dev at lists.freedesktop.org
> http://lists.freedesktop.org/**mailman/listinfo/ldtp-dev<http://lists.freedesktop.org/mailman/listinfo/ldtp-dev>
>
--
Linux Desktop (GUI Application) Testing Project -
http://ldtp.freedesktop.org
Cobra - Windows GUI Automation tool - https://github.com/ldtp/cobra
http://nagappanal.blogspot.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/ldtp-dev/attachments/20120912/1ccb929d/attachment.html>
More information about the LDTP-dev
mailing list