# Robotframework Appium 'Open Application' keyword not found

**URL:** <https://discuss.appium.io/t/robotframework-appium-open-application-keyword-not-found/42080>\
**Category:** Issues/Bugs\
**Created:** [March 27, 2024, 8:00pm UTC](https://discuss.appium.io/t/robotframework-appium-open-application-keyword-not-found/42080 "2024-03-27T20:00:32Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ku\_Brz](https://discuss.appium.io/user_avatar/discuss.appium.io/ku_brz/32/12794_2.png) [@Ku\_Brz](https://discuss.appium.io/u/Ku_Brz)\
**Post date:** [March 27, 2024, 8:00pm UTC](https://discuss.appium.io/t/robotframework-appium-open-application-keyword-not-found/42080/1 "2024-03-27T20:00:33Z")

</div>

Hi there!

So I just started to play around with appium via robotframwork appiumlibrary and I have encountered a blocker - though I searched forum hopefully well didn’t find anything kind alike. The thing is that despite my AppiumLibrary import doesn’t return an error the most basic keyword which is ‘Open Application’ cannot be found by the interpreter.

I have latest appium installed globally, also having my appium server ran from the terminal.

Hope some of you could see thing I overlooked or know probable reason for this.

Error:  
No keyword with name ‘Open Application’ found.

Code:  
\*\*\* Settings \*\*\*  
Library AppiumLibrary

\*\*\* Variables \*\*\*  
${REMOTE\_URL} [http://localhost:4723/wd/hub](http://localhost:4723/wd/hub)  
${PLATFORM\_NAME} iOS  
${PLATFORM\_VERSION} 4.2.2  
${DEVICE\_NAME} Android Emulator  
${APP} MyApp.app

\*\*\* Test Cases \*\*\*  
Open My App  
Open My Application

\*\*\* Keywords \*\*\*  
Open my Application  
Open Application [http://127.0.0.1:4723/](http://127.0.0.1:4723/) automationName=${ANDROID\_AUTOMATION\_NAME}  
… platformName=iOS platformVersion=14.0 deviceName=${DEVICE\_NAME}  
… app=${APP} appPackage=io.appium.android.apis appActivity=.app.SearchInvoke

---

<div class="post-metadata">

**Author:** ![Ku\_Brz](https://discuss.appium.io/user_avatar/discuss.appium.io/ku_brz/32/12794_2.png) [@Ku\_Brz](https://discuss.appium.io/u/Ku_Brz)\
**Post date:** [March 27, 2024, 8:43pm UTC](https://discuss.appium.io/t/robotframework-appium-open-application-keyword-not-found/42080/2 "2024-03-27T20:43:42Z")

</div>

Now I found that there is some import problem at the beginning of the log. Probably that’s where the script fails then. I checked and everything is installed as needed and python interpreter of the project is in the path. Here’s full error message:

Error in file ‘/Users/leszek/Documents/CODING/PROJECTS/APPIUM\_STIMY\_RESEARCH/open\_app.robot’ on line 2: Importing library ‘AppiumLibrary’ failed: ModuleNotFoundError: No module named ‘appium.webdriver.common.touch\_action’  
Traceback (most recent call last):  
File “/Users/leszek/Documents/CODING/PROJECTS/APPIUM\_STIMY\_RESEARCH/lib/python3.9/site-packages/AppiumLibrary/ **init**.py”, line 4, in   
from AppiumLibrary.keywords import \*  
File “/Users/leszek/Documents/CODING/PROJECTS/APPIUM\_STIMY\_RESEARCH/lib/python3.9/site-packages/AppiumLibrary/keywords/ **init**.py”, line 9, in   
from .\_touch import \_TouchKeywords  
File “/Users/leszek/Documents/CODING/PROJECTS/APPIUM\_STIMY\_RESEARCH/lib/python3.9/site-packages/AppiumLibrary/keywords/\_touch.py”, line 3, in   
from appium.webdriver.common.touch\_action import TouchAction  
PYTHONPATH:  
/Users/leszek/Documents/CODING/PROJECTS/APPIUM\_STIMY\_RESEARCH/bin  
/usr/local/Cellar/python@3.9/3.9.18\_2/Frameworks/Python.framework/Versions/3.9/lib/python39.zip  
/usr/local/Cellar/python@3.9/3.9.18\_2/Frameworks/Python.framework/Versions/3.9/lib/python3.9  
/usr/local/Cellar/python@3.9/3.9.18\_2/Frameworks/Python.framework/Versions/3.9/lib/python3.9/lib-dynload  
/Users/leszek/Documents/CODING/PROJECTS/APPIUM\_STIMY\_RESEARCH/lib/python3.9/site-packages

---

<div class="post-metadata">

**Author:** ![wreed](https://discuss.appium.io/letter_avatar_proxy/v4/letter/w/919ad9/32.png) [@wreed](https://discuss.appium.io/u/wreed)\
**Post date:** [March 27, 2024, 10:49pm UTC](https://discuss.appium.io/t/robotframework-appium-open-application-keyword-not-found/42080/3 "2024-03-27T22:49:12Z")

</div>

There is a pretty good topic on this over on the Robot Framework board:

> **[Unable to import robotframework-appiumlibrary even after successful...](https://forum.robotframework.org/t/unable-to-import-robotframework-appiumlibrary-even-after-successful-installation-in-pycharm/6990/6)**
>
> @damies13 nah, that message doesnt say that appium ain’t installed, it says AppiumLibrary (rf bindings) cannot import TouchAction from appium itself. So, next we check what appium is used, looks like pip reports it to be 4.0.0. On there,...
