HI guys,
I’m having a tizzy of a time trying to figure out why my appium script won’t run on the Android emulators using SauceLabs. I put in a ticket already but not sure if anyone ran into the same problem.
Notes:
*Ruby/Cucumber framework
*Same script works fine on appium 1.2 here on my machine with a) real device; b) emulator
Same Script on Sauce, I received the error:
using: “xpath”
value: “//android.widget.LinearLayout[2]/android.widget.RelativeLayout[1]/android.widget.FrameLayout[1]”
=> “ERROR user closed connection while waiting for command to complete”
Desired capabilities below:
Any help most useful. Sauce credentials x’ed out intentionally
Thanks! Eric
[caps]
appiumVersion = “1.2.2”
browserName = “”
platformName = “Android”
platformVersion = “4.4”
deviceName = “Android Emulator”
deviceType = “phone”
app = “sauce-storage:android-stash1-debug.zip”
name = “Fixed apk test 30”
appPackage = “com.blackboard.android”
appActivity = ".learn.navigation.activity.NavigationActivity "
[appium_lib]
sauce_username = “xxxx”
sauce_access_key = “xxxxx”