Robot Framework 2.8.7 (Python 2.7.6 on darwin)
OS:OSX 10.1
using AppiumLibrary+processlibrary
i am able to invoke appium server manually from command line by using:
appium & command, but when trying to do the same through RF by using any of:
OperatingSystem.Run
Process.Run Process
the appium server will be up and running but the RIDE console will hang and will not proceed any further, so actual tests will not be executed
Ugh
Have you tried with Start Process keyword:
http://robotframework.org/robotframework/latest/libraries/Process.html#Start%20Process
-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.
Ugh
Remember to use the cwd parameter in the Start Processes keyword
-Tatu
Send from my mobile
在此輸入代碼...
在此輸入代碼...ps ef|grep appium|grep -v grep|awk '{print $2}'|xargs kill -9Process.Start Process ${command} shell=True stdout=${CURDIR}/appium_kill_stdout.txt stderr=${CURDIR}/appium_kill_stderr.txt
Sleep 10sStart Process /usr/local/bin/appium -p ${port} shell=True alias=appiumserver stdout=${CURDIR}/appium_stdout.txt stderr=${CURDIR}/appium_stderr.txt
Process Should Be Running appiumserver
Sleep 10s Terminate Process appiumserver kill=TrueTo unsubscribe from this group and stop receiving emails from it, send an email to robotframework-users+unsub...@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.