Where communities thrive

  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
Repo info
    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:

    1. http://appium.io/docs/en/about-appium/intro/
    2. https://appiumpro.com

    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 https://github.com/webdriverio/appium-boilerplate
    @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", "com.xyz.android");
    capabilities.setCapability("appWaitActivity", "com.xyz.android.activity.xyzActivity, com.xyz.android.activity.LoginActivity, com.xyz.android.activity.MainActivity");
    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/profile.py:58: in sign_out_button
    views/base.py:23: in move
    ../../miniconda2/envs/mobile/lib/python3.7/site-packages/selenium/webdriver/common/action_chains.py:80: in perform
    ../../miniconda2/envs/mobile/lib/python3.7/site-packages/selenium/webdriver/common/actions/action_builder.py:76: in perform
        self.driver.execute(Command.W3C_ACTIONS, enc)
    ../../miniconda2/envs/mobile/lib/python3.7/site-packages/selenium/webdriver/remote/webdriver.py:321: in execute
    ../../miniconda2/envs/mobile/lib/python3.7/site-packages/appium/webdriver/errorhandler.py:29: in check_response
        raise wde
    ../../miniconda2/envs/mobile/lib/python3.7/site-packages/appium/webdriver/errorhandler.py:24: 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 pro...m.app/Contents/Resources/app/node_modules/appium/node_modules/appium-base-driver/lib/jsonwp-proxy/proxy.js:235:19)"}}'}

    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.click(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 https://stackoverflow.com/questions/1960782/upload-live-streaming-video-from-iphone-like-ustream-or-qik
    But I have no idea how to do that Then the output device's delegate (here, self) has to implement the callback
    Hello guys,I am facing issue in automating iOS using appium studio
    @iOSXCUITFindBy Annotations is not working but the same code is working when I am using driver.findElement(By.xpath).Can any one please help me. I am not able to locate the element.
    Hi all, Do we know if we can use chrome.switches = --headless on appium real devices ?
    Nelson Ramirez
    Hi there, has anyone run into any issues with the iOS simulator timing out on a fresh test run?
    We're running on mojave and about 10% of the time we see a tcp timeout error. It typically resolves when we retry the test run
    Nelson Ramirez
    this is the error we see
    Failure/Error: (io = @io.to_io).wait_readable(@read_timeout) or raise Net::ReadTimeout.new(io)
       Net::ReadTimeout with #<TCPSocket:(closed)>
    Trending Technology
    Fast and simple application for generating and comparison hashes from files or text
    Sankararao Patarlapalli
    Could you please let me know, what is the required Selenium Version for Appium v1.10.0
    Is there any wiki link , Which Appium Version need which Selenium Version