LDTP
3.0.0
|
getaccesskey('<window name>'[, '<component name>'])
Will return access key, if available
String | with access key on success, LdtpExecutionError exception on failure |
Refer: http://cgit.freedesktop.org/ldtp/ldtp/tree/src/client-handler.c
from ldtp import *
print getaccesskey("Preferences", "btnOK")