robotframework-appiumlibrary icon indicating copy to clipboard operation
robotframework-appiumlibrary copied to clipboard

Click Button keyword doesn't work on python 3

Open technigirl opened this issue 6 years ago • 1 comments

When using the Click Button keyword, I get the following error:

AttributeError: 'dict' object has no attribute 'has_key'

Per the python docs, 'has_key' is deprecated in python 3: https://docs.python.org/3.0/whatsnew/3.0.html#builtins

I am using version 1.5.0.3 of robotframework-appiumlibrary. python version 3.7.2

sample of my code: wait until keyword succeeds 20s 1s click button ${assurant_terms_cont_button}

I can work around it by using Click Element, which does not have the issue.

technigirl avatar Jul 11 '19 21:07 technigirl

Reproducible in 1.5.0.4 and 1.5.0.6 as well.

robco avatar May 13 '20 13:05 robco