LDTP
3.5.0
|
getobjectinfo('<window name>', '<object name>')
Gets the list of object information lik class, parent, label, label_by, child_index
list | of object properies(example, class, parent, label, label_by, child_index) on success, LdtpExecutionError exception on failure |
Refer: Linux: http://cgit.freedesktop.org/ldtp/ldtp2/tree/ldtpd/core.py
Mac: https://github.com/ldtp/pyatom/blob/master/atomac/ldtpd/core.py
Windows: https://github.com/ldtp/cobra/blob/master/Ldtpd/Generic.cs
With respect to gedit Find dialog
from ldtp import *
getobjectinfo('dlgFind', 'btnFind')