LDTP  3.0.0
getaccesskey

Syntax

getaccesskey('<window name>'[, '<component name>'])

Description

Will return access key, if available

Return values
Stringwith access key on success, LdtpExecutionError exception on failure

Refer: http://cgit.freedesktop.org/ldtp/ldtp/tree/src/client-handler.c

Example

from ldtp import *

Print access key of OK button in Preferences window

print getaccesskey("Preferences", "btnOK")

Author
Nagappan Alagappan nagap.nosp@m.pan@.nosp@m.gmail.nosp@m..com


Linux Desktop Testing Project