Logo Search packages:      
Sourcecode: ldtp-doc version File versions  Download package

getobjectproperty

Syntax

getobjectproperty ('<window name>', '<object name>', '<object property>')

Description

Get the object property if available, else exception will be thrown

Implementation

Todo:
Return values:
object property string on success, LdtpExecutionError exception on failure
Refer: http://webcvs.freedesktop.org/ldtp/ldtp/src/client-handler.c

Example

With respect to find dialog of gedit application

from ldtp import *

getobjectproperty ('dlgFind', 'btnFind', 'label') # Returns '_Find' string in US.English locale

Author:
Premkumar J <prem.jothimani@gmail.com>

Generated by  Doxygen 1.6.0   Back to index