Hi Guys,
I really need some help here..
I want to run a robot framework test with appium library and appium server.
I am able to install the application with the test but then the keywords don't work.
The test PASS, but the actions I wanted to happen didn´t happen actually.
RESOURCE:
*** Settings ***
Library AppiumLibrary run_on_failure=Log Source
*** Variables ***
${REMOTE_URL}
http://localhost:4723/wd/hub ${APP} something something..... sorry I cant share this download link
*** Keywords ***
TestStart
[Documentation] just demo
Open Application ${REMOTE_URL} platformName=platformVersion=5.0.2 deviceName=90be27f5 app=${APP} automationName=appium
Capture Page Screenshot
TEST:
*** Settings ***
Documentation demo for appium library
Force Tags demo
Resource demo_resoure.txt
*** Test Cases ***
test_demo
[Tags] regression
Open Application
http://localhost:4723/wd/hub platformName=Android platformVersion=5.0.1 deviceName=90be27f5 app=${APP} automationName=appium
Click Button Yes
Wait Until Page Contains
some...@else.com timeout=30s
Click Element xpath=//android.widget.TextView[@text='
bla...@gmail.com']
Wait Until Page Contains Element xpath=//android.widget.Button[@index='111'] timeout=30s
Click Element xpath=//android.widget.Button[@index='111']
Click Element xpath=//android.webkit.WebView[@content-desc='Welcome!']
Click Element xpath=//android.view.View[@index='102']
Page Should Contain Text 3045
Close Application
I don't know if it helps to debug this but If I open the UI Automator Viewer to check the real device screen and get the UI XML screenshot, I have to find the elements searching by the name or one by one because if I click in the preview it shows information about other element in another layer or something. Im testing in android 5.0.1
Please any information is valid or even some place online where I can ask this better or read about this is good.