LDTP
3.0.0
|
getobjectproperty('<window name>', '<object name>', '<object property>')
Get the object property if available, else exception will be thrown
object | property string on success, LdtpExecutionError exception on failure |
Refer: http://cgit.freedesktop.org/ldtp/ldtp/tree/src/client-handler.c
With respect to find dialog of gedit application
from ldtp import *
getobjectproperty('dlgFind', 'btnFind', 'label') # Returns '_Find' string in US.English locale