After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 586657 - Imporve user experience getallstates match for defined state constants
Imporve user experience getallstates match for defined state constants
Status: RESOLVED FIXED
Product: LDTP
Classification: Other
Component: pyldtp
1.6.0
Other All
: Normal minor
: ---
Assigned To: LDTP maintainers
LDTP Development Mailing List
Depends on:
Blocks:
 
 
Reported: 2009-06-22 16:19 UTC by nouar garcia-mardmabek
Modified: 2009-06-23 08:24 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description nouar garcia-mardmabek 2009-06-22 16:19:55 UTC
Documentation 
Section: http://ldtp.freedesktop.org/user-doc/index.html
general/getallstates
Description:
Will return all the accessibility states of given object information

Correct version:
It would be better to help the end-user in finding the match of the 
accessibility states returned as a list of integers, with those defined
in the state class as constants.

Other information:
In order to find the match, I looked at the pydoc of the state class in ldtplib.ldtputils.
(python 2.4.4)
>>> from ldtp import *
>>> from ldtputils import *
>>> help(state)
Comment 1 Nagappan Alagappan 2009-06-23 08:24:24 UTC
Thanks for the bug report. Added documentation for all the states with respective Accessibility state. The data portion in help(state) will remain same, as there is a mismatch between pyatspi and cspi implementation in states. Updated code is in git.

Thanks