SeleniumLibrary is a web testing library for Robot Framework that utilizes the Selenium tool internally. The project is hosted on GitHub and downloads can be found from PyPI. SeleniumLibrary works with Selenium 3 and 4. It supports Python 3.6 or newer.
Python
PyCharm CE IDE or Inteliji IDEA CE IDE
Windows-Run Install Libraries.bat
Mac or Linux-Run Install Libraries.sh
python3 -m robot -d reports -t "TC-01 Lunch Browser & Login With Valid Credential" /test_suite
python3 -m robot -d reports ./test_suite
python3 -m robot -d reports --include e2e./test_suite
python3 -m robot -d reports --include TC-01 ./test_suite
python3 -m robot -d reports -v env:dev --include TC-01 ./test_suite
python3 -m robot -d reports -v env:stage --include TC-01 ./test_suite
Put file name like BDD_login_.robot then only can able to use gherkin keywords, Given, When, Then, And, But
*** Test Cases ***
TC-01 Lunch Browser & Login With Valid Credential
[Tags] TC-01 smoke
Given Login Hotel With Valid Credential
When Click Login Button
And Click Logout Button
Then Click Again Login Button