Where communities thrive

  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
Repo info
    Hey guys some of you have run a test using Appium Python on AWS Device farm iOS?
    hi! Just looking for a sanity check before I file a bug. I've got a hybrid app I'm working with, and I've built out a fair amount of appium tests for at this point. (login, change settings etc)
    Login part is hybrid, and I've noticed that 1/3 of the time driver.context does NOT switch back to native app and just hangs. I've read the documentation on http://appium.io/docs/en/commands/context/set-context/ and am using Java, and it works like 2/3rds of the time so I know its doing the right thing. Is there anything else I should check before filing a bug on driver.context?
    (and havent changed the login part of the code ever since i got it working)
    Hello I can't read message of activity . can help?
    Charlie Teague

    Hi, After I upgraded my Mac OS two, Appium's WebDriver agent no longer opens my app under test. Here are the details:

    Open Appium 1.17.1
    Click Start
    Click the maginfing glass
    Naigate to saved capabilities
    Click start session

    Results: The app undet test installs
    WebDriverAgent install repeatidy
    WebDriverAgent uninstalls

    Expected Results: The app installs
    WebDriverAgent installs
    The app opens

    [Appium] Welcome to Appium v1.17.1
    [Appium] Non-default server args:
    [Appium] relaxedSecurityEnabled: true
    [Appium] allowInsecure: {
    [Appium] }
    [Appium] denyInsecure: {
    [Appium] }
    [Appium] Appium REST http interface listener started on
    [HTTP] --> GET /wd/hub/sessions
    [HTTP] {}
    [GENERIC] Calling AppiumDriver.getSessions() with args: []
    [GENERIC] Responding to client with driver.getSessions() result: []
    [HTTP] <-- GET /wd/hub/sessions 200 4 ms - 40
    [HTTP] --> POST /wd/hub/session
    [HTTP] {"desiredCapabilities":{"app":"/Users/charlesteague/Library/Developer/Xcode/DerivedData/Mapco-helwohddidviwnganwjhjxemckuy/Build/Products/Debug-iphonesimulator/Mapco.app","deviceName":"iPhone X","platformName":"iOS","platformVersion":"12.2","newCommandTimeout":0,"connectHardwareKeyboard":true}}
    [MJSONWP] Calling AppiumDriver.createSession() with args: [{"app":"/Users/charlesteague/Library/Developer/Xcode/DerivedData/Mapco-helwohddidviwnganwjhjxemckuy/Build/Products/Debug-iphonesimulator/Mapco.app","deviceName":"iPhone X","platformName":"iOS","platformVersion":"12.2","newCommandTimeout":0,"connectHardwareKeyboard":true},null,null]
    [BaseDriver] Event 'newSessionRequested' logged at 1600952745078 (08:05:45 GMT-0500 (Central Daylight Time))
    [Appium] DeprecationWarning: 'automationName' capability was not provided. Future versions of Appium will require 'automationName' capability to be set for iOS sessions.
    [Appium] Requested iOS support with version >= 10, using 'XCUITest' driver instead of UIAutomation-based driver, since the latter is unsupported on iOS 10 and up.
    [Appium] Appium v1.17.1 creating new XCUITestDriver (v3.22.0) session
    [Appium] Applying relaxed security to 'XCUITestDriver' as per server command line argument. All insecure features will be enabled unless explicitly disabled by --deny-insecure
    [BaseDriver] Creating session with MJSONWP desired capabilities: {
    [BaseDriver] "app": "/Users/charlesteague/Library/Developer/Xcode/DerivedData/Mapco-helwohddidviwnganwjhjxemckuy/Build/Products/Debug-iphonesimulator/Mapco.app",
    [BaseDriver] "deviceName": "iPhone X",
    [BaseDriver] "platformName": "iOS",
    [BaseDriver] "platformVersion": "12.2",
    [BaseDriver] "newCommandTimeout": 0,
    [BaseDriver] "connectHardwareKeyboard": true
    [BaseDriver] }
    [BaseDriver] Session created with session id: 452d4c3a-a131-4669-ae69-fe32d5038742
    [XCUITest] Current user: 'charlesteague'
    [XCUITest] iOS SDK Version set to '14.0'
    [iOSSim] Constructing iOS simulator for Xcode version 12.0 with udid '803C9CFB-5EAE-4FB6-9832-19C2FAD669BB'
    [XCUITest] Determining device to run tests on: udid: '803C9CFB-5EAE-4FB6-9832-19C2FAD669BB', real device: false
    [BaseDriver] Event 'xcodeDetailsRetrieved' logged at 1600952751366 (08:05:51 GMT-0500 (Central Daylight Time))
    [BaseDriver] Using local app '/Users/charlesteague/Library/Developer/Xcode/DerivedData/Mapco-helwohddidviwnganwjhjxemckuy/Build/Products/Debug-iphonesimulator/Mapco.app'
    [BaseDriver] Event 'appConfigured' logged at 1600952751367 (08:05:51 GMT-0500 (Central Daylight Time))
    [XCUITest] Checking whether app '/Users/charlesteague/Library/Developer/Xcode/DerivedData/Mapco-helwohddidviwnganwjhjxemckuy/Build/Products/Debug-iphonesimulator/Mapco.app' is actually present on file system
    [XCUITest] App is present
    [iOS] Getting bundle ID from app '/Users/charlesteague/Library/Developer/Xcode/DerivedData/Mapco-helwohddidviwnganwjhjxemckuy/Build/Products/Debug-iphonesimulator/Mapco.app': 'com.p97.mapco.lab'
    [BaseDriver] Event 'resetStarted' logged at 1600952751370 (08:05:51 GMT-0500 (Central Daylight Time))
    [XCUITest] Not scrubbing third party app in anticipation of uninstall
    [BaseDriver] Event 'reset

    Sven Murat
    so when starting appium 1.18.2, getting 404 error
    anyone had similar issue?
    what's the Xcode version you're using?

    @csteague7 please post

    the Xcode version + the appium version you're using

    If you are using mac, use .dmg file and do not download zip file.
    Sven Murat
    i'm suddenly getting this error: @wdio/utils:initialiseServices: initialise service "appium" as NPM package
    Anybody experiencing UnknowCommandError upon calling click() with UIAutomator2 as automationName capability? Apparently, appium is executing POST /wd/hub/session/<session id>/touch/click. Should it be executing POST /wd/hub/session/<session id>/click/<elementId> instead? I'm using codeceptjs btw, and latest stable appium version.
    anybody familiar with my issue above? :)
    Hi everyone. anyone working with browserstack? i want to add the test name in the report browserstack create. anyone know how to do this?

    org.openqa.selenium.WebDriverException: An unknown server-side error occurred while processing the command. Original error: Url or Uri must start with <scheme>://

    getting error while running Appium
    test in iOS simulator

    any idea?
    [HTTP] {"url":"/"}
    [debug] [W3C (1b87fe41)] Encountered internal error running command: Error: Url or Uri must start with <scheme>://
    [debug] [W3C (1b87fe41)] at Object.setUrl (/usr/local/lib/node_modules/appium/node_modules/appium-base-driver/lib/protocol/validators.js:17:13)
    [debug] [W3C (1b87fe41)] at asyncHandler (/usr/local/lib/node_modules/appium/node_modules/appium-base-driver/lib/protocol/protocol.js:288:9)
    [debug] [W3C (1b87fe41)] at app.(anonymous function) (/usr/local/lib/node_modules/appium/node_modules/appium-base-driver/lib/protocol/protocol.js:436:15)
    [debug] [W3C (1b87fe41)] at Layer.handle [as handle_request] (/usr/local/lib/node_modules/appium/node_modules/express/lib/router/layer.js:95:5)
    [debug] [W3C (1b87fe41)] at next (/usr/local/lib/node_modules/appium/node_modules/express/lib/router/route.js:137:13)
    [debug] [W3C (1b87fe41)] at Route.dispatch (/usr/local/lib/node_modules/appium/node_modules/express/lib/router/route.js:112:3)
    [debug] [W3C (1b87fe41)] at Layer.handle [as handle_request] (/usr/local/lib/node_modules/appium/node_modules/express/lib/router/layer.js:95:5)
    [debug] [W3C (1b87fe41)] at /usr/local/lib/node_modules/appium/node_modules/express/lib/router/index.js:281:22
    [debug] [W3C (1b87fe41)] at param (/usr/local/lib/node_modules/appium/node_modules/express/lib/router/index.js:354:14)
    [debug] [W3C (1b87fe41)] at param (/usr/local/lib/node_modules/appium/node_modules/express/lib/router/index.js:365:14)
    [debug] [W3C (1b87fe41)] at Function.process_params (/usr/local/lib/node_modules/appium/node_modules/express/lib/router/index.js:410:3)
    [debug] [W3C (1b87fe41)] at next (/usr/local/lib/node_modules/appium/node_modules/express/lib/router/index.js:275:10)
    [debug] [W3C (1b87fe41)] at logger (/usr/local/lib/node_modules/appium/node_modules/morgan/index.js:144:5)
    [debug] [W3C (1b87fe41)] at Layer.handle [as handle_request] (/usr/local/lib/node_modules/appium/node_modules/express/lib/router/layer.js:95:5)
    [debug] [W3C (1b87fe41)] at trim_prefix (/usr/local/lib/node_modules/appium/node_modules/express/lib/router/index.js:317:13)
    [debug] [W3C (1b87fe41)] at /usr/local/lib/node_modules/appium/node_modules/express/lib/router/index.js:284:7
    [debug] [W3C (1b87fe41)] at Function.process_params (/usr/local/lib/node_modules/appium/node_modules/express/lib/router/index.js:335:12)
    [debug] [W3C (1b87fe41)] at next (/usr/local/lib/node_modules/appium/node_modules/express/lib/router/index.js:275:10)
    [debug] [W3C (1b87fe41)] at /usr/local/lib/node_modules/appium/node_modules/body-parser/lib/read.js:130:5
    [debug] [W3C (1b87fe41)] at invokeCallback (/usr/local/lib/node_modules/appium/node_modules/raw-body/index.js:224:16)
    [debug] [W3C (1b87fe41)] at done (/usr/local/lib/node_modules/appium/node_modules/raw-body/index.js:213:7)
    Mugilan K
    HI Just wanted to check if Appium supports Xcode12 latest for Catalina os version 10.15 ? as I am not getting the following error : An unknown server side error occurred while processing the command. Original error: Unable to start WebDriverAgent session of Xcodebuild failure: An unknown server-side error occurred while processing the command. Original error: Could not proxy command to remote server. Original error: Error: connect ECONNREFUSED
    Eday Alix Gonzalez M
    Hi, Grettings for anyone of you.
    I am facing below error while executing through TestNG: FAILED: openApp
    org.openqa.selenium.SessionNotCreatedException: Unable to create a new remote session. Please check the server log for more details.
    Please help
    Robert Torres
    Hellow! Anyone know if there is any way to add a testID to a flatlist item in react-native?
    Hey guys, Anyone know how to hide the keyboard on iOS?
    @AbrahamMella you can use hidekeyboard mobile method in java client lib
    Tom Klaver

    Hi, I'm using webdriverio with a react native project. I checked that my testID is mapped to an accessibility identifier. I should be able to find the element using $('~identifier'), but it fails on iOS with XCuiTest:

    error: {
        error: 'no such element',
        message: 'An element could not be located on the page using the given search parameters.',
        stacktrace: 'NoSuchElementError: An element could not be located on the page using the given search parameters.\n' +
          '    at XCUITestDriver.doNativeFind (/Users/tomklaver/ouderapp/node_modules/appium-xcuitest-driver/lib/commands/find.js:126:11)\n' +
          '    at runMicrotasks (<anonymous>)\n' +
          '    at processTicksAndRejections (internal/process/task_queues.js:97:5)'
      selector: '~inputDomain',

    any ideas?

    Federico Curzel
    Hi guys, is anyone having problems with iOS 14?
    Looks like I am not able to click, send_keys or set_value to UITextFields now
    Robert Torres

    Hellow! Anyone know if there is any way to add a testID to a flatlist item in react-native?

    Solved thanks to Wim!


    all ..though my code and Appium configuration are correct ..i'm on latest appium 1.18 version
    i'm getting exception

    "org.openqa.selenium.SessionNotCreatedException: Unable to create a new remote session. Original error: Failed to connect to /
    any assistance is appricated

    why we have 3951 people in this group
    better we can delete the group
    when there is no response
    Александар Симић
    That's a good question @curzel-it , I'm glad that I'm not the only one to see this. I'm on iOS 14 too. But not when using Appium via the test. Only when using the GUI app to interact with the mobile app.
    Which is stable jdk version for appium
    Ganjar P Manggala
    Robert Torres
    I get this error after changing chromedriver for appium service. Any idea about how to solved? I have installed appium locally [2] 2020-10-14T03:15:31.145Z ERROR @wdio/appium-service: appium is not installed locally. [2] If you use globally installed appium please add [2] appium: { command: 'appium' } [2] to your wdio.conf.js! [2] 2020-10-14T03:15:31.146Z ERROR @wdio/utils:initialiseServices: Error: Cannot find module 'appium'
    Has appium some special functionality or included functions for a CICD process?
    mr kang

    Has appium some special functionality or included functions for a CICD process?

    I not found any special func here,
    but i thought that any CICD framework process will help the automation framework

    e.g Jenskin support Appium

    why we have 3951 people in this group

    though you just google information before typing something

    Robert Torres
    Hellow here! Has anyone here had trouble selecting a button after scrolling in mobile?