I want to run tests in Robot Framework.
I would also like the following kind of directory structure for the robot framework tests:
- Root directory
- Libraries
- Library.py
- Resource Files
- Resource.txt
- Tests
- test_1.txt
- test_2.txt
- Libraries
Or something along those lines. However, I do not know how to write my tests so they can access my library and resource files. For example, how to import Libraries\Library.py from Tests\test_1.txt.
What would be the best way to approach this?
Is there a syntax for acessing files in the parent directory?
Should I import the resource and library files in every test file, or is there a way to do it only once?