"
Test case contains no keywords" may also occur if the spaces are not correctly given before the step:
For Eg:
*** Settings ***
Library SeleniumLibrary
*** Variables ***
*** Test Cases ***
This is Login Test Script
[documentation] Login Script
[tags] BasicTest
Open Browser https://google.com chrome
Close Browser
*** Keywords ***
If you observe above the documentation, tags Open Browser and close browser lines have a tab space from the start.
I was also facing this issue but when I did the indentation it is resolved for me.
Hope this helps.
Regards,
Rajul Mathur