No keyword with name 'Click Element id=show_login" found error

877 views
Skip to first unread message

Sunil Sarvepalli

unread,
Jul 27, 2014, 7:34:38 PM7/27/14
to robotframe...@googlegroups.com
All,
I am new to robo framework. I installed robo and selenium2library. I am trying to write a simple script which identifies an element in the web page and perform click action.  When I use the keyowrd show element I always get an error saying no keyword found. Below is description

Click Element id=show_login

I am able to launch browser and it goes to the webpage successfully. But click element is failing. Any Ideas?

Appreciate your help.

Regards,
Sunil

Mukesh T

unread,
Jul 28, 2014, 1:29:56 AM7/28/14
to robotframe...@googlegroups.com
hello,

Looks like a syntax issue. You should have 2 or more spaces (or tab for simplicity) between the keyword name and its arguments i.e.

Click Element  <<TAB or more than 2 spaces here>>   id=show_login

There seems to be a single space in your case (between keyword name and arg) causing the robot framework to believe it as a different keyword (which doesn't exist), and hence the error.

best,
Mukesh

Sunil Sarvepalli

unread,
Jul 29, 2014, 2:58:57 PM7/29/14
to robotframe...@googlegroups.com
Thank You Mukesh, it was helpful, I could get the login page successfully

Regards,
Sunil
Reply all
Reply to author
Forward
0 new messages