Where communities thrive

  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
Repo info
    Is there a way to interact with system level notification windows on Android? Like a BT pair dialogue?
    Hi All, is there a way for automating pinch/zoom behaviour on android apps. I was using, But it doesn't work on android chrome browser.
    is there a way to enable bluetooth for iOS simulator devices?
    Wim Selles
    Hi All, there's an upcoming webinar on Sept 11 @ 11am - 12pm PST hosted by Jonathan Lipps, Mobile Test Automation and Appium expert, to share tips for speeding Up Your Remote Appium Sessions.
    Hi all, I am facing the issue , anyone have any idea?
    Kirill Kozlov
    Hi there!
    I want to reproduce the "Google Play Moovies & TV has stopped" in order to create watcher for this message. How can I do it? Any ideas?
    Hi there! Does anyone know how to solve the "click is not a function" problem with uiautomatorviewer?
    @marcio-cordeiro : Maybe the element is not clickable
    @jazaleja Thaks jazale... Solving the problem ... I put await before the click...
    Bassem Dakkan
    Hello, i have appium 1.13 and when it's trying to install an Android apk its returning an error: can't read apk or can't parse apk, this is bcz its running command: adb shell pm install; am facing the same error when executing this command from command line, but "adb install" without "shell" is working.... any ideas? Cz appium insists on installing with the shell command
    I've beem struggling all day with that
    May I know what are the various programming languages does appium supports for testing Mac native apps using appium-mac-driver ?.
    Maxime Dubois
    anyone knows if it's possible to send a key down event for on the main window. My current app i'm testing if I press the "F" letter will pop another window. But currently I'm not able to reproduce this.
    Wim Selles


    Don't know why you're asking :wink: but the 2 sites I use a lot are:


    Hi all, anyone knows which is the best approach to verify if the input field does not accept special characters, e.g: "$#@%%^&*(" , either on Android or iOS?

    For example, I have an input field that only accepts numeric characters, any other special characters besides allowed characters are not sent to the field no matter what users pressing on the keyboard itself.
    I try to use 'Send Keys' function and then assert the input field's text equals blank (input values are not filled), but Appium can still send the restricted characters successfully.

    Wim Selles


    To be honest:

    1. this should be a unit test and not a UI test, because this is very time consuming. It also needs to be an API test, because people can still adjust frontend code (if it's a frontend app) and send different chars through the API
    2. it's also good to know how the filtering is done, if this is done for example with HTML and a specific attribute, like for example <input type="number" > then you shouldn't even test it because this is default behavior, if it's broken, the it's broken for the whole world. There are also some functions for that for native code
    3. Check the risk and business value

    I'd always advice to avoid these type of tests through the UI, especially on mobile because they are 3-6 times slower than on desktop browsers

    ok thanks @wswebcreation
    Hello Guys, I am facing one issue, I want to clear the content from text field. I Have used clear() but this method did not clear the field value. Means the focus of cursor is going in first position instead of last position. So is there any other way to clear textfield text.
    hi,i want ask a question。Can test case writing for appium use nodejs or javascript ?
    Wim Selles


    NodeJS is the platform, Javascript is the language :wink: , but yes, you can

    A good start without having to do a lot is by using WebdriverIO
    They have a boilerplate to get started, see
    @wswebcreation ok,thanks
    sitansu sekhar kar
    Anyone facing this issue while executing parallelly tests for Android:
    Original error: Could not proxy command to remote server. Original error: Error: socket hang up
    Does Appium enable 2 or more iOS to be tested at the same time?
    iOS devices*
    Ritesh Vashisth
    Same can be done by passing different wdaLocalPort for different driver sessions
    ahh gotcha
    sitansu sekhar kar
    Can anyone know, which chrome driver version supports Android 8.0 for web test?

    I'm using python. Is there a way to copy and paste text and Unicode from appium?

    send_keys only allows numbers.

    @sitansu_kar007_twitter I believe you can use any 10.0 and up
    I recently discovered that the WDA project was archived and now Facebook is using IDB. Which project is best to use to starting with Appium?
    sitansu sekhar kar
    Thanks @davidtophat
    sitansu sekhar kar

    Just wanted to know, anyone using Appium version 1.14.0 with Android 8.0 or later?
    Actually, I'm having an issue, where the driver is unable to find out the third party web view window elements. But I can see and access web view elements on appium inspector.

    It was working fine on Android 6.0. And it started failing from Android 7.0, 8.0 or later!

    if anyone has any solutions, please let me know.

    Third-party web view window means, In our application, if a user clicks on the HELP button we show web view window(Not the browser). It's an in-app web view window.

    Appium version: 1.14.0
    Android - 8.0
    Chrome Driver: 2.44

    Sid Ferreira
    Guys... trying to get started at Appium... but I feel like there's a missing detail on the docs... Where are the "general capabilities" set?
    @sidferreira You can set them in Appium Desktop
    sitansu sekhar kar
    @sidferreira This will help you to resolve capabilities
    @sidferreira These are some caps for both Android and iOS I'm using:
    DesiredCapabilities capabilities = new DesiredCapabilities();
    capabilities.setCapability("platformVersion", platformVersion);
    capabilities.setCapability("platformName", platformName);
    capabilities.setCapability("deviceName", deviceName);
    capabilities.setCapability("app", appPath);
    capabilities.setCapability("unicodeKeyboard", true);
    capabilities.setCapability("resetKeyboard", true);
    capabilities.setCapability("connectHardwareKeyboard", false);
    capabilities.setCapability("automationName", automationName);
    capabilities.setCapability("appWaitDuration", 20000);
    capabilities.setCapability("noSign", true);
    capabilities.setCapability("appWaitPackage", "");
    capabilities.setCapability("appWaitActivity", ",,");
    capabilities.setCapability("nativeWebScreenshot", true);
    capabilities.setCapability(AndroidMobileCapabilityType.RECREATE_CHROME_DRIVER_SESSIONS, true);
    Rohan Harrison
    Hi guys, was hoping I could get some help here. Have been trying to get appium to scroll to an element I have in our iOS app. It needs to work for Android though too
                "mobile: scroll", {"element": element, "toVisible": True}
    This works great for me. But it will only work on iOS AFAIK. I tried using TouchAction and ActionChaining, but every-time I execute with .perform(), everything dies and I get exceptions

    An example:

    _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
    views/ in sign_out_button
    views/ in move
    ../../miniconda2/envs/mobile/lib/python3.7/site-packages/selenium/webdriver/common/ in perform
    ../../miniconda2/envs/mobile/lib/python3.7/site-packages/selenium/webdriver/common/actions/ in perform
        self.driver.execute(Command.W3C_ACTIONS, enc)
    ../../miniconda2/envs/mobile/lib/python3.7/site-packages/selenium/webdriver/remote/ in execute
    ../../miniconda2/envs/mobile/lib/python3.7/site-packages/appium/webdriver/ in check_response
        raise wde
    ../../miniconda2/envs/mobile/lib/python3.7/site-packages/appium/webdriver/ in check_response
        super(MobileErrorHandler, self).check_response(response)
    _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
    self = <appium.webdriver.errorhandler.MobileErrorHandler object at 0x113d4bc18>
    response = {'status': 500, 'value': '{"value":{"error":"unknown error","message":"An unknown server-side error occurred while"}}'}

    The code that went with it

    element = self.driver.find_element_by_accessibility_id(locator[1]) actions = ActionChains(self.driver) actions.move_to_element(element) actions.perform()

    Hello Guys, did anyone used Serenity-BDD with appium for mobile web tests ? I am keen to know if someone made it work to run tests using profiles (mvn verify -P 'ProfileName')
    Mihai Dinculescu
    Hello. I have a webdriverio set up with Appium. How do I go about sending mobile shell commands to the device in the wd's hooks?
    Hi there, I am new in objective-c development I would like to stream my iphone content to a server frame my frame, this stackoverflow post looks great
    But I have no idea how to do that Then the output device's delegate (here, self) has to implement the callback