Where communities thrive

  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
Repo info
    Can someone help me to run automation tests
    Appium 1.16.0
    appium java client 7.3.0
    Selenide 5.6.0
    Android 10 (Pixel)
    Chromedriver 79.0.39
                capabilities.setCapability(MobileCapabilityType.PLATFORM_NAME, "Android");
                capabilities.setCapability(MobileCapabilityType.DEVICE_NAME, config().deviceName());
                capabilities.setCapability(MobileCapabilityType.UDID, config().udid());
                capabilities.setCapability(MobileCapabilityType.BROWSER_NAME, "Chrome");
                ChromeOptions chromeOptions = new ChromeOptions();
                chromeOptions.setExperimentalOption("w3c", false);
                capabilities.setCapability("automationName", "uiautomator2");
                capabilities.setCapability("chromedriverExecutable", "/usr/local/bin/chromedriver");
                capabilities.setCapability("appiumVersion", "1.16.0");
    INFO: Detected dialect: W3C
    org.openqa.selenium.WebDriverException: An unknown server-side error occurred while processing the command. Original error: Could not proxy. Proxy error: Could not proxy command to remote server. Original error: Error: socket hang up
    Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:17:03'
    System info: host: 'UKR-Oleksandr-L.local', ip: 'fe80:0:0:0:863:cd64:e760:93cb%en0', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.15.3', java.version: '1.8.0_144'
    Driver info: io.appium.java_client.AppiumDriver
    selenide.url: https://www.seekingalpha.com
    Capabilities {appActivity: com.google.android.apps.chr..., appPackage: com.android.chrome, appiumVersion: 1.16.0, automationName: uiautomator2, browserName: chrome, chromedriverExecutable: /usr/local/bin/chromedriver, databaseEnabled: false, desired: {appiumVersion: 1.16.0, automationName: uiautomator2, browserName: chrome, chromedriverExecutable: /usr/local/bin/chromedriver, deviceName: Pixel, goog:chromeOptions: {args: [], extensions: [], w3c: false}, newCommandTimeout: 180, platformName: android, udid: FA77S0307089}, deviceApiLevel: 29, deviceManufacturer: Google, deviceModel: Pixel, deviceName: FA77S0307089, deviceScreenDensity: 420, deviceScreenSize: 1080x1920, deviceUDID: FA77S0307089, goog:chromeOptions: {args: [], extensions: [], w3c: false}, javascriptEnabled: true, locationContextEnabled: false, networkConnectionEnabled: true, newCommandTimeout: 180, pixelRatio: 2.625, platform: LINUX, platformName: Android, platformVersion: 10, statBarHeight: 63, takesScreenshot: true, udid: FA77S0307089, viewportRect: {height: 1731, left: 0, top: 63, width: 1080}, warnings: {}, webStorageEnabled: false}
    selenide.baseUrl: http://localhost:8080
    Session ID: 9ab0719c-8002-4523-96ab-62c407519463
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
        at org.openqa.selenium.remote.http.W3CHttpResponseCodec.createException(W3CHttpResponseCodec.java:187)
        at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:122)
        at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:49)
        at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:158)
        at io.appium.java_client.remote.AppiumCommandExecutor.execute(AppiumCommandExecutor.java:239)
        at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:552)
    Hi there! I had a question I hope you'd folks would be able to assist with.
    This is about the real device screen rotate command. Is it supposed to work when the app is either closed or in the background?
    • If I background the app, then do a rotate command… it seems to wait until the background is complete, the app re-opens, and then does the rotation.
    • If I close out the app, the rotate command errors and tells me about the disobedient app "Set the orientation, but app refused to rotate."
    Tom Fottinger

    I need some help. I’m using the following.
    Appium 1.16.0 and Appium Desktop 1.15.1
    Running locally on a real iPhone XS, iOS 13
    "@wdio/appium-service": "^5.12.1",
    "@wdio/cli": "^5.12.4",
    "@wdio/jasmine-framework": "^5.12.1",
    "@wdio/local-runner": "^5.12.4",
    "@wdio/spec-reporter": "^5.12.1",
    "@wdio/sync": "^5.12.3",

    I used the Appium Desktop to identify the selector information. Some elements don’t have an accessibility ids. So, I tried to use xpath, example : “//(XCUIElementTypeOther[@name="login”])[5]”, but I get the following error.

    [0-0] 2020-01-19T16:18:50.758Z INFO webdriver: COMMAND findElement("xpath", "//(XCUIElementTypeOther[@name="login"])[5]")
    [0-0] 2020-01-19T16:18:50.759Z INFO webdriver: [POST]
    [0-0] 2020-01-19T16:18:50.760Z INFO webdriver: DATA { using: 'xpath',
    value: '//(XCUIElementTypeOther[@name="login"])[5]' }
    [0-0] 2020-01-19T16:18:51.086Z INFO webdriver: RESULT { error: 'no such element',
    'An element could not be located on the page using the given search parameters.',
    'NoSuchElementError: An element could not be located on the page using the given search parameters.\n at XCUITestDriver.doNativeFind (/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/lib/commands/find.js:126:11)' }

    None of the other xpaths work.

    Any update on my issue
    Veera Subba Reddy
    Hi All
    I am seeing nosuchcontext error while trying to switch webview in Java
    Alexandru-Sorin Maxim
    Hello, i need some help, regarding performance log type. This log type is only available in a web context ? I get the error An unknown server-side error occurred while processing the command. Original error: No logs of type 'performance' found. Thank you!
    Basic Question:
    May i pls know, why are we using appium for mobile automation? why not selenium ?
    @nrakshe appium supports mobile device automation, selenium does not support.That is why with appium you can use selenium to test or use some features
    Hi, is there any one who is using xamarin test cloud'or app center,I need help.Please ping me .When I am running my test it is keep on executing continuously and I had to cancel my test after an hour which doesn't give me any report.
    Dai Pham Ngoc
    Please help me to explain what is the unit of mesure for MAX_FRAME_SIZE
    in the link below
    Our hybrid app throws the error [debug] [XCUITest] We are in the middle of selecting a page, ignoring uncaughtException: The frame is bigger than expected. Length: 21974315, max: 20000000
    And I don't know how to get the app frame size and calculate it also.
    Please send me some feedbacks if you have any ideas.
    Thank you so much for your time!
    Johan Hernefeldt

    Do I have to do some magic for signing to work in appium 1.16.0 (installed via npm) for IOS real device?
    I can build and run just fine from xcode, I can also manually run xcodebuild -allowProvisioningUpdates -project WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner -destination 'id=redacted' test without any problem in /appium/node_modules/appium-webdriveragent

    But when the tests run I get Signing for "WebDriverAgentRunner" requires a development team. Select a development team in the Signing & Capabilities editor.

    Any ideas what I am missing?

    (I have DEVELOPER_TEAM and CODE_SIGN_IDENTITY in ~/.xcconfig and as properties in capabilities)

    @presidenten I am facing same issue
    When I try to change context to WEBVIEW in code, Appium hangs and after a long time fails to change context. WHat could be teh possible causes?
    Is there anyone how have tried two mobile apps run in one appium session one after another ?
    In Android

    I have been trying to run Appium programatically and its always showing connection refused error (Snapshot attached)

    Details:-- MACOS:Catalina and Appium version:1.16.0

    I have checked that no other session for Appium is running on my machine also appium can run fine when i start session from terminal via command below

    appium --address --port 4723

    Appium desktop is also working fine, But need to start Appium service programatically as my framework needs it.

    To Debug I have tried to run on different ports and different Ips also but its still not working Please help if you have faced such issue.

    Connection Refused Error is coming everytime
    Tom Fottinger

    I am unable to test a React Native Switch feature on an exiting app loaded on an iPhone.
    The goal is to be able to toggle the switch with Appium.
    The React Native Switch does not have the properties testID or accessibiltyLabel.
    I have the following

    One of the options renders to

    <Switch />
    Appium finds the element with the accessibiltyId=‘feature1’ and the xpath, but it does not provide any XPaths to the children components.
    Any ideas as to how I can locate the Switch element?

    Tom Fottinger
    Update, Appium does identify an xpath to the Switch element when working with an android phone.
    Hello....could you please let me know latest appium version in linux?
    Johan Hernefeldt
    @AbhijitPaithane I solved it :-)
    Now we need to set organization and signing in the project located here node_modules/appium/node_modules/appium-xcuitest-driver/node_modules/appium-webdriveragentinstead of node_modules/appium/node_modules/appium-webdriveragent
    Samantha Vale
    Hi! Anyone else having issues with acceptAlert? It seems like it's not working properly
    Hello everyone, i have got a task to check mobile automation using WebDriverIO and appium , Can anyone please share some guidelines/tutorial on how to get started(it will be really helpful). Any youtube video if anyone have.
    Hi, Can some one tell me how to scroll ?
    I have a scenario where I need to take photo of the ID card from the app. To automate this scenario , I want to pass the picture from gallery when camera is opened and this image should be populate. How to automate this scenario??

    I have a scenario where I need to take photo of the ID card from the app. To automate this scenario , I want to pass the picture from gallery when camera is opened and this image should be populate. How to automate this scenario??

    Any solution available for this scenario

    Hi, when i tried to run my script in iOS13.3 simulator - app crashes on launch. It works fine in iOS 12.2. I have the latest appium version. Any help on this?
    has anyone ever stumbled on appium showing IDs as squares?
    all my element IDs and xpaths are outputting the ID = 
    like, real squares
    //XCUIElementTypeOther[@name=\"\"])[2] // not even the xpaths are outputting id correctly
    Ish Abbi
    Hi, I'm using selenium-aplha-4 and appium 7.3.0. While running the mobile tests I'm getting the following exception :
    java.lang.AbstractMethodError: org.openqa.selenium.remote.service.DriverService$Builder.createDriverService(Ljava/io/File;ILjava/time/Duration;Lcom/google/common/collect/ImmutableList;Lcom/google/common/collect/ImmutableMap;)Lorg/openqa/selenium/remote/service/DriverService;
    This works well when I downgrade the version of selenium to the current stable 3.141.59
    Ish Abbi
    hmm.. looks like the DriverService in the selenium-remote-driver of the alpha version is expecting 5 parameters instead of 4 which are in Appium
    Hizkia Nowaly
    @stivesartarmon https://www.youtube.com/watch?v=-_6C_-CMqSk try this one!
    Hi!, can we setup automation with free apple id?
    An unknown server-side error occurred while processing the command. Original error: Could not find 'adb.exe' in ["C:\android-sdk\tools\bin\platform-tools\adb.exe","C:\android-sdk\tools\bin\emulator\adb.exe","C:\android-sdk\tools\bin\tools\adb.exe","C:\android-sdk\tools\bin\tools\bin\adb.exe"]. Do you have Android Build Tools installed at 'C:\android-sdk\tools\bin'?
    why am i getting this error? instead of showing emulator
    Ish Abbi
    @BELGIJOSE Its because of adb.exe. Is it installed on your machine? If yes, is it installed in one of the below mentioned paths?
    no i installed it in appdata\local\android\sdk\
    but its checking in this path
    Error response status: 13, UnknownError - An unknown server-side error occurred while processing the command. Selenium error: An unknown server-side error occurred while processing the command.....plese help me out
    Ish Abbi
    @BELGIJOSE - Your ANDROID_HOME env variable might be configured incorrectly.
    @Ksameers - full stacktrace please?
    no i set it as C:\Users\tst3\AppData\Local\Android\Sdk
    am getting this error in appium real device while sending keys through server.