-
Notifications
You must be signed in to change notification settings - Fork 112
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
Resources importing #45
Comments
Update. Now I created new directory inside Sites and suite inside this new directory and tried to import resource sire_resource.robot and it is also not possible. I'm guessing something is not ok with importing. |
Hi
I have created internal Jira as this is an enhancement to work the same as with parametrized path to libs |
ok, we talked about different thing, resource resolving from PythonPath should also be added although usage for us is controversial ;) . |
Hello, Thanks, |
Hi,
I have some issue with importing Resources in RED in Eclipse. I have following structure of my tests:
/robot_tests/Common/
/robot_tests/Site/
My RED project location points to /robot_tests.
Inside Site directory I have site_resource.robot where I keep default values of variables per site (there can be many sites with different values). site_resource.robot has to be imported in robot files that are inside Common directory. I have tried different settings in Referenced libraries -> Paths section: I added both Common and Site there with full paths, added Common and Site without paths and changed relativeness to PROJECT and WORKSPACE. Only solution that has been working was when I imported site_resource.robot with path (../Site/site_resource.robot) and this is not acceptable solution :(.
In RIDE when you add both Common and Site to Pythonpath you can easily use keywords and variables from them in any other place. Is that possible in RED?
Thanks,
Mariusz
The text was updated successfully, but these errors were encountered: