简体   繁体   中英

any of the Browser is not opening, when i execute the script using Robot framework

enter image description here I just started to learn the Robot framework, when I execute the script, I don't know why, none of the browsers are opening, please find below for my environment details:-

  1. I am using Python2.7 and Pycharm IDE to write the script

  2. Operating System :- windows 10

  3. Browsers (Firefox (Version:- 55(64 bit)), Chrome (verion 62 (64 bit)), and Microsoft edge browser )

  4. Web drivers :- I am using the latest one (geckodriver-v0.19.0-win64, chromedriver_win32)

  5. Please find my script below :-

     ***Settings*** Documentation This is some basic info about whole suite Library Selenium2Library ***Variables*** ***Test Cases*** User must Sign in to check out [Documentation] This is some basic info about test [Tags] Smoke OPEN BROWSER https://www.amazon.com CLOSE BROWSER ***Keywords***

Please help me solve this issue, since I am beginner, I am not able to find the root cause of this error

You almost certainly are getting lots of errors when you try to run your script.

The most obvious error is that you only have a single space between your keywords and their arguments. For example, you must have two or more spaces between OPEN BROWSER and https://www.amazon.com .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM