-1

I'm fairly new to automation and I've been doing some training on Pycharm. My problem is that my script is failing due to 'No keyword with name 'Common.Begin Web Test' found.' when I separate the resources from the actual script. But when the keywords are included in the script, it's running just fine.

Here's a screenshot of my script. The first one is where the resources are separate. The one below is where I'm using just 1 file.

pycharm

Thanks, Joan

  • 2
    Please update your question with the actual, formatted code as text instead of screenshots. Screenshots are difficult to read and if someone wanted to reproduce your issue, you're forcing them to type it all in by hand instead of being able to copy-paste. – c32hedge May 7 '18 at 14:04
  • 1
    @c32hedge These screenshots are actually required to be able to reproduce the problem because they are showing the directory structure as well. They should be replaced with the formatted code and the with the directory structure. – Bence Kaulics Jan 2 '19 at 21:51
  • 1
    @BenceKaulics Thanks for clarifying. The main point was that the OP is much less likely to get help if all they provide are screenshots instead of copyable code--this is an all-too-common problem here. Going ahead and voting to close since the OP never improved the question and appears to be unregistered. – c32hedge Jan 2 '19 at 21:58
1

Wrong path when you're importing the resource. Should be ../Resources/Common.robot. The same should be done for Amazon.robot

Not the answer you're looking for? Browse other questions tagged or ask your own question.