-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Relative Path for Imports #20
Comments
according to robot user guide: https://robotframework.org/robotframework/latest/RobotFrameworkUserGuide.html#resource-files
plugin follows the same rule, please make sure your resource file path is correct. for the execution issue: plugin is running robot command line under project root folder, and it's also the good practice for manual CLI execution. |
Hello, My Testsuite looks like *** Variables *** *** Test Cases *** I will try to change my CLI execution to run in project root folder. |
in version 0.0.6 there's a bugfix:
perhaps you have multi kw with same name? what's your project structure? something like this?
|
Yes, my project structure looks like that. I will check on the naming of my resourcefiles, but at first glance, i dont see any duplicates. My KW are not duplicated |
I tried to test it on another Maschine and there I couldn't see the Issue eather... Maybe it is something in my Settings of Pycharm, that it can't find my Resources as a Relative Path. Thanks for your replies and maybe I will find something... |
confirmed, it's a bug only in windows |
Same issue occurs on my machine. My OS details |
fixed in |
It's working again with relatve Path's! OS: windows 10 |
Hello,
I missed some updates for this Plugin for Pycharm and I tried the new Version 0.0.9 from 0.0.3.
I don't know if it is possible to set this anwhere in the Settings, but now the Imports for Library's or Resource's are a little off from the older version.
I have created some Userlibraries in my Project and to import those I have to use relative Path to the Resource
Resource ../Resource/Test.robot
Now with the Version 0.0.9, my Test can't find the Recourse anymore in my IDE. I can use
Resource Test.robot
, when it is a unique name, orResource Resource/Test.robot
When I execute the Test in my IDE it is working good, but when I want to execute it in a CLI it can't find the Recourse anymore because it wants the Relative Paths.
I hope it is an issue and not something I miss with my settings.
Best Regards and Thanks for this good Plugin :-)
The text was updated successfully, but these errors were encountered: