How to use the Appium along with the Emulators

539 views
Skip to first unread message

Nagaraj Hebbar

unread,
Nov 16, 2015, 2:21:34 AM11/16/15
to robotframework-users
Hi All,
          I am new to mobile app testing i know the Robot framework for the Web application. I am trying to use the Appium for the mobile app testing i have installed the "AppiumLibrary" my code is looking like this

*** Settings ***
Library           AppiumLibrary

*** Variables ***
${REMOTE_URL}           http://localhost:4723/wd/hub # URL to appium server
${PLATFORM_NAME}        Android
${PLATFORM_VERSION}     19
${DEVICE_NAME}          Appium
# Appium uses the *.app directory that is created by the ios build to provision the emulator.
${APP_LOCATION}      C:\ProgramData\BlueStacks\UserData\Library\My Apps\Flipkart.lnk
     
*** Keywords ***
Open App
       Open Application    ${REMOTE_URL}    ${PLATFORM_NAME}    ${PLATFORM_VERSION}    ${DEVICE_NAME}    ${APP_LOCATION}
Close All Apps
       Close All Applications
      

I have started the Appium server also when i go to Andriod SDK folder and say "adb  devices" it will list the device also "emulator-5554   device" but when i run the pybot  command it says the eror

"No keyword with name 'Open Application' found."

How to resolve the issue can anyone help me.

Tatu Aalto

unread,
Nov 17, 2015, 1:32:18 AM11/17/15
to Nagaraj Hebbar, robotframework-users

Ugh

The error may not be related to AppiumLibrary or devices. Error simple means that the Open Application keyword was not found by Robot Framework. Why it wasn't found, depends where the keyword should have been defined. Perhaps you didn't import the correct resource or library
Also remembered that library imports are case sensitive.

-Tatu
Send from my mobile

--
You received this message because you are subscribed to the Google Groups "robotframework-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to robotframework-u...@googlegroups.com.
To post to this group, send email to robotframe...@googlegroups.com.
Visit this group at http://groups.google.com/group/robotframework-users.
For more options, visit https://groups.google.com/d/optout.

Igor Radovanovic

unread,
Nov 17, 2015, 4:40:23 AM11/17/15
to robotframework-users, nagaraja...@gmail.com
I'm not sure but just read, that you need Appium server. Have you run it? 
The Documentation says: Opens a new application to given Appium server.
Reply all
Reply to author
Forward
0 new messages