dogtail-devel Re: Functionality of Sniff and wrappers in dogtail



On Mon, 2005-11-14 at 19:10 +0530, Raghu Sarangapani wrote:
> hi there,
> 
> Need some clarifications on sniff and wrappers.
> 
> Dogtail includes sniff which is known as at-spi browser. Is this
> something similar to at-poke?
> What is the functionality of sniff in dogtail, how is this used in
> writing test scripts?
> 
> What are wrappers? and is it necessary to write wrappers for every
> application before writing test scripts?
> 
> awaiting your response.
> 
> Regards,
> Raghu
> 

Hello Raghu,

You are correct - Sniff is an at-spi browser similar to at-poke. You can
use sniff to find the name or rolename of the accessibles you want to
manipulate in your dogtail script. You certainly could use at-poke for
this function also.

Wrappers are libraries of functions dogtail can use for manipulating
applications. They are *NOT* necessary at all. They are there for pure
convenience. You absolutely can start writing scripts using the
procedural API only. Depending on testing aims and workflow (blackbox
testing of applications for example), the use of wrappers may not even
be desirable. So use what makes sense for you.

I hope that is helpful.

Regards,

Ed






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