problem object has no attribute 'send_keys'

19 views
Skip to first unread message

EVA GARCIA ORTIZ

unread,
Dec 26, 2018, 7:22:27 AM12/26/18
to Selenium Users
I created my selenium IDE test, I exported the test to Python 2 Remote control. When I run the script it gives me this error:

[root@localhost python]# ./check_selenium.py -s pruebas -w 40 -c 60
SELENIUM UNKNOWN FAIL: not all tests passed -> pruebas  | E
======================================================================
ERROR: test (__main__.test)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "pruebas", line 21, in test_altamirabuscareferencia
    sel.send_keys("id=buscadorReferencia_widget", "8090393")
AttributeError: 'selenium' object has no attribute 'send_keys'

----------------------------------------------------------------------
Ran 1 test in 59.428s



Can not use keys with Remote control?

this is my line:
 sel.send_keys("id=buscadorReferencia_widget", "8090393")


Regards

Reply all
Reply to author
Forward
0 new messages