I'm new to automation and I've been doing some training on Pycharm.

I have just separated out my script into a resource file to clean it up as per the Udemy course I am using. When i try and run the script however i get the following error message "No keyword with name 'Common.Start Test' found.". This keyword is 100% in my Common Resource file and the directory path and naming is all correct as Pycharm is autocorrecting these fields when typing them and hovering over them shows them to be correct?! What the hell is wrong with it, why won't it find the key words!!!


*** Settings ***
Documentation  This is basic info about the suite
Resource    /Resources/Common.Robot
Resource    /Resources/Google.Robot


*** Test Cases ***
Kem getting to grips with this stuff
    [Documentation]  Basic test info
    [Tags]  Smoketest

    Common.Start Test
    Amazon.Searching Amazon
    Common.End Test

Common Resource File

*** Settings ***
Library     SeleniumLibrary

*** Keywords ***

Start Test
    Open browser     about:blank    Chrome

End Test
    Close browser
  • add your robot file and python file – PDHide Jun 17 at 12:58
  • right this is where i sound even dumber, how do i do that?? New to Stack exchange the UI is not exactly user friendly. Once i find that what file is it exactly you would like to see just for clarification so i don't upload the wrong one and waste your time, thank you. – Kem Jun 17 at 14:27
  • is everything separate files ? – PDHide Jun 17 at 15:45
  • Resource ./Resources/Common.Robot – PDHide Jun 17 at 16:42
  • Try adding a dot infront of the path – PDHide Jun 17 at 16:42

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.