No keyword with name 'open browser' found.

20 views
Skip to first unread message

swapna B

unread,
Jan 9, 2023, 3:44:03 PM1/9/23
to robotframework-users
HI All,

I am unable to run a simple test and getting below error.
Error: No keyword with name 'Open Browser https://www.google.com' found.

My code is:

*** Settings ***
Library        Selenium2Library

*** Test Cases ***
TC1
   Open Browser https://www.google.com    chrome

********* I have tried all the spacing and everything, its still not working, I have also added the robotframework Libraries from Python interpretor Please suggest.


E|rror:
------------------------------------------------------------------------------
Tc2                                                                   | FAIL |
No keyword with name 'open browser' found.
------------------------------------------------------------------------------
Second test                                                           | FAIL |

Kind;y suggest.

2 tests, 1 passed, 1 failed

Craig Despeaux

unread,
Jan 9, 2023, 3:49:10 PM1/9/23
to robotframework-users
This error:  

Error: No keyword with name 'Open Browser https://www.google.com' found.

tells me that there is only one space between Open Browser and https://www.google.com so it thinks https://www.google.com is part of the keyword name.

Craig

Reply all
Reply to author
Forward
0 new messages