# Can I use importes Resources by name? How do you do it?

**URL:** <https://forum.robotframework.org/t/can-i-use-importes-resources-by-name-how-do-you-do-it/6249>\
**Category:** Robot Framework\
**Created:** [26 September 2023 08:33 UTC](https://forum.robotframework.org/t/can-i-use-importes-resources-by-name-how-do-you-do-it/6249 "2023-09-26T08:33:11Z")\
**Posts on this page:** 1\
**Showing post:** 2

<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:** [26 September 2023 11:34 UTC](https://forum.robotframework.org/t/can-i-use-importes-resources-by-name-how-do-you-do-it/6249/2 "2023-09-26T11:34:17Z")

</div>

Hi @nippsh,

You import resource files with the `Resource` keyword just like Libraries are imported with the `Library` keyword.

I previously gave a demonstration of resource files with a working example in this forum post:

> [@Create common robot file for generic actions in robot framework](https://forum.robotframework.org/t/create-common-robot-file-for-generic-actions-in-robot-framework/5150/2):
>
> Hi @bk-user , The section of the documentation you need is here: [2.8.1 Resource files](http://robotframework.org/robotframework/latest/RobotFrameworkUserGuide.html#toc-entry-353) You can name the file as .resource or .robot, you import them with the resource keyword in the settings section. I find to syntax highlighting doesn’t work in some editors when you use .resource so I usually use .robot You can also create a base .robot file that includes several .robot files, then you can group the keywords in several .robot files as needed but only have one .robot file to include in your te…

Hope that helps,

Dave.

---

_[View the full topic](https://forum.robotframework.org/t/can-i-use-importes-resources-by-name-how-do-you-do-it/6249)._
