# Path Out of tests directory

**URL:** https://forum.robotframework.org/t/path-out-of-tests-directory/6793
**Category:** Robot Framework
**Created:** [7 February 2024 20:11 UTC](https://forum.robotframework.org/t/path-out-of-tests-directory/6793 "2024-02-07T20:11:44Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Abdullah92](https://avatars.discourse-cdn.com/v4/letter/a/71e660/32.png) [@Abdullah92](https://forum.robotframework.org/u/Abdullah92)
#### Post date: [7 February 2024 20:11 UTC](https://forum.robotframework.org/t/path-out-of-tests-directory/6793/1 "2024-02-07T20:11:44Z")

</div>

Hello all,  
I have directory called resources which contains files to manipulate with through the tests, this directory in the same parent directory to tests.  
My question is, how to define paths of resources in tests.

Thanks

---

<div class="post-metadata">

### Author: ![damies13](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.robotframework.org/damies13/32/623_2.png) [@damies13](https://forum.robotframework.org/u/damies13)
#### Post date: [8 February 2024 05:28 UTC](https://forum.robotframework.org/t/path-out-of-tests-directory/6793/2 "2024-02-08T05:28:22Z")

</div>

Hi Abdullah,

There are two sections of the User Guide that are related to your question:

- [Resource files](https://robotframework.org/robotframework/latest/RobotFrameworkUserGuide.html#toc-entry-365)
- [Operating-system variables](https://robotframework.org/robotframework/latest/RobotFrameworkUserGuide.html#toc-entry-329)

It may be as simple as just using a relative path, but if a full path is required `${CURDIR}` is probably what you’ll want.

Dave.

---

<div class="post-metadata">

### Author: ![Abdullah92](https://avatars.discourse-cdn.com/v4/letter/a/71e660/32.png) [@Abdullah92](https://forum.robotframework.org/u/Abdullah92)
#### Post date: [8 February 2024 09:05 UTC](https://forum.robotframework.org/t/path-out-of-tests-directory/6793/3 "2024-02-08T09:05:25Z")

</div>

Thanks Dave,  
This works
