Hi Shrinivasan,

Looks like you haven't enabled accessibility.

http://ldtp.freedesktop.org/wiki/FAQ#Howtoenableaccesssibility

In tutorial doc its explained as well.

Thanks
Nagappan

On Wed, Apr 4, 2012 at 1:56 AM, Shrinivasan T <tshriniva...@gmail.com>wrote:

> How to find the GUI elements using python?
>
> My code is not working.
>
> >>> from ldtp import *
> >>> guiexist ('*-gedit')
> 0
> >>> guiexist ('*-firefox')
> 0
> >>> guiexist ('*-gThumb')
> 0
>
>
>
> --
> Regards,
> T.Shrinivasan
>
>
> My Life with GNU/Linux : http://goinggnu.wordpress.com
> Free/Open Source Jobs : http://fossjobs.in
>
> Get CollabNet Subversion Edge :     http://www.collab.net/svnedge
> _______________________________________________
> LDTP-dev mailing list
> LDTP-dev@lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/ldtp-dev
>



-- 
Linux Desktop (GUI Application) Testing Project -
http://ldtp.freedesktop.org
http://nagappanal.blogspot.com
_______________________________________________
LDTP-dev mailing list
LDTP-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/ldtp-dev

Reply via email to