Re: dogtail Dogtail support for TCL / TK applications




Hi Vita,
Thanks for your valuable inputs.

It would be a great if you have any inputs on the below queries.
1. Is there any option to enable a11y support for tcl without using python module ? Because there is not much control to change that application into otherthan tcl
2. Do you have any suggestions on automation tools for tcl tk applications ?

Thanks,
Sunil


On Thursday, February 2, 2012, Vitezslav Humpa <vhumpa redhat com> wrote:
> Been googling a bit and it looks like that if you are making your application
> in python using TkInter, you could use this to make Tk a11y aware:
>
> http://pypi.python.org/pypi/Tka11y
>
> Vita
>
> ----- Original Message -----
>> Hi Sunil,
>>
>> It would seem that you can't browse through your application because
>> TCL / TK might not support Accessibility
>> (a11y) technologies. To see and manipulate different widgets, dogtail
>> utilizes a11y and will work only with
>> GUI frameworks that have a support for such. You could see gedit,
>> gcalc etc., because these are written
>> using GTK, which does support a11y. You can either switch framework
>> (which is something I suppose you would
>> not like to do) or I could recommend you some other means to
>> 'automate' your custom app.
>>
>> Thanks for the interest in dogtail :)
>>
>> Vita
>> --
>> Vita Humpa
>> vhumpa redhat com
>>
>> > Hi,
>> >
>> > I am trying to write test scripts to my custom built application.
>> > The application is built on TCL / TK.
>> > I am able to launch my application using "run " function. [
>> > dogtail.utils.run(APP_NAME) ]
>> >
>> > But that application wont get listed in the sniff utility.
>> > I tested with other standard applications like gedit, gcalc and
>> > firefox, which will be shown in sniff (ATSPI browser) window.
>> >
>> > Because of this issue I am not able to get a tree structure to my
>> > application [ app_root = dogtail.tree.root.application(test_app)
>> > ].
>> > It gives error shown below.
>> >
>> > 1.       searching for child of {root}: "test_app" application
>> > (attempt 19)
>> >
>> >
>> > My system details:
>> > Centos 5.4 / python 2.4.3 / dogtail 0.6.1
>> >
>> > I greatly appreciate any input to my query.
>> >
>> > Thanks,
>> > Sunil
>> _______________________________________________
>> dogtail-list mailing list
>> dogtail-list gnome org
>> http://mail.gnome.org/mailman/listinfo/dogtail-list
>>
> _______________________________________________
> dogtail-list mailing list
> dogtail-list gnome org
> http://mail.gnome.org/mailman/listinfo/dogtail-list
>

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]