# Keywords not recognized

**URL:** <https://forum.robotframework.org/t/keywords-not-recognized/5041>\
**Category:** Robot Framework\
**Created:** [7 December 2022 13:46 UTC](https://forum.robotframework.org/t/keywords-not-recognized/5041 "2022-12-07T13:46:13Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![LaurensRobot](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.robotframework.org/laurensrobot/32/2037_2.png) [@LaurensRobot](https://forum.robotframework.org/u/LaurensRobot)\
**Post date:** [7 December 2022 13:46 UTC](https://forum.robotframework.org/t/keywords-not-recognized/5041/1 "2022-12-07T13:46:14Z")

</div>

Hi, I seem to have ran into some issues with my IDE (VSC and Pycharm)  
Even though I can run tests in my terminal/command line, my IDE doesn’t seem to recognize standard keywords.

All the libraries needed are installed, especially Seleniumlibrary. But it seems that the most basic Keywords are not recognized.

I can run the tests in my terminal but not from the testing plugin (VSC and Pycharm)  
PATH seems to look fine.

Anyone?

 ![keywords](https://europe1.discourse-cdn.com/flex005/uploads/robotframework1/original/2X/8/8d1df033417467babbc2e5cd62171bc0f7953dbf.png)

---

<div class="post-metadata">

**Author:** ![\_daryl](https://avatars.discourse-cdn.com/v4/letter/_/45deac/32.png) [@\_daryl](https://forum.robotframework.org/u/_daryl)\
**Post date:** [7 December 2022 14:38 UTC](https://forum.robotframework.org/t/keywords-not-recognized/5041/2 "2022-12-07T14:38:35Z")

</div>

Custom keyword? Does the Path show unresolved resource under your \*\*\* Settings \*\*\* (normally shows underlined red if so in Pycharm)

---

<div class="post-metadata">

**Author:** ![LaurensRobot](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.robotframework.org/laurensrobot/32/2037_2.png) [@LaurensRobot](https://forum.robotframework.org/u/LaurensRobot)\
**Post date:** [7 December 2022 17:26 UTC](https://forum.robotframework.org/t/keywords-not-recognized/5041/4 "2022-12-07T17:26:24Z")

</div>

Yes,  
For custom keywords but also normal keywords.  
So both are being shown as not defined.

![custom](https://europe1.discourse-cdn.com/flex005/uploads/robotframework1/original/2X/6/6ba3805a6c5dbdfa90d97c01342a90351c18caea.png)

 ![normal keywords](https://europe1.discourse-cdn.com/flex005/uploads/robotframework1/original/2X/6/6dd2dcc72f30c93ec7a76e99889d9647a0534817.png)

---

<div class="post-metadata">

**Author:** ![\_daryl](https://avatars.discourse-cdn.com/v4/letter/_/45deac/32.png) [@\_daryl](https://forum.robotframework.org/u/_daryl)\
**Post date:** [8 December 2022 12:07 UTC](https://forum.robotframework.org/t/keywords-not-recognized/5041/5 "2022-12-08T12:07:19Z")

</div>

Sorry for the slow response 🙂

I never really used executable path variable ${EXECDIR} and have always given them a relative path by using the following approach:  
 → ${CURDIR}${/}…/folder/file.robot  
or  
 → …/folder/file.robot

From what I recall and if you hover over one of those keywords you see: _“resolved name: abspath(‘.’)”_ and with using the EXECDIR you need to specify the value of the `EXECDIR` variable, this can be set in the PyCharm: Settings \> Languages & Frameworks \> Robot Framework \> Variables …I believe or specify the value of the `EXECDIR` variable using the `robot.variables` setting.

Hopefully, others can add more to the usage of EXECDIR if needed.

---

<div class="post-metadata">

**Author:** ![LaurensRobot](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.robotframework.org/laurensrobot/32/2037_2.png) [@LaurensRobot](https://forum.robotframework.org/u/LaurensRobot)\
**Post date:** [8 December 2022 19:49 UTC](https://forum.robotframework.org/t/keywords-not-recognized/5041/6 "2022-12-08T19:49:17Z")

</div>

Thank you, this worked for me!
