Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Wim Selles
    @wswebcreation
    @davidtophat
    Nope
    HeadSpin
    @headspin_io_twitter
    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. https://info.headspin.io/webinar/speeding-up-your-remote-appium-sessions?utm_source=gitter&utm_medium=social&utm_campaign=webinar
    cjmme
    @cjmme
    image.png
    Hi all, I am facing the issue , anyone have any idea?
    Kirill Kozlov
    @exzeest
    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?
    HuangLinalian
    @HuangLinalian
    我有一个双屏android设备,如何使用appium分别操控设备的主屏和副屏?
    有解决方案请联系我,谢谢
    marcio-cordeiro
    @marcio-cordeiro
    Hi there! Does anyone know how to solve the "click is not a function" problem with uiautomatorviewer?
    jazaleja
    @jazaleja
    @marcio-cordeiro : Maybe the element is not clickable
    marcio-cordeiro
    @marcio-cordeiro
    @jazaleja Thaks jazale... Solving the problem ... I put await before the click...
    Bassem Dakkan
    @bassemdakkan
    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
    QA2Dev
    @QA2Dev
    May I know what are the various programming languages does appium supports for testing Mac native apps using appium-mac-driver ?.
    Maxime Dubois
    @maximedubois
    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
    @wswebcreation

    @headspin_io_twitter

    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
    zarashima
    @zarashima

    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
    @wswebcreation

    @zarashima

    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

    zarashima
    @zarashima
    ok thanks @wswebcreation
    Surendra
    @surendraims
    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.
    wanganxu
    @wanganxu
    hi,i want ask a question。Can test case writing for appium use nodejs or javascript ?
    @pidgpowell
    Wim Selles
    @wswebcreation

    @wanganxu

    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
    wanganxu
    @wanganxu
    @wswebcreation ok,thanks
    sitansu sekhar kar
    @sitansu_kar007_twitter
    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
    davidtophat
    @davidtophat
    Does Appium enable 2 or more iOS to be tested at the same time?
    iOS devices*
    Ritesh Vashisth
    @ritesh2689
    Same can be done by passing different wdaLocalPort for different driver sessions
    davidtophat
    @davidtophat
    ahh gotcha
    sitansu sekhar kar
    @sitansu_kar007_twitter
    Can anyone know, which chrome driver version supports Android 8.0 for web test?
    jaeseungko
    @krjunior_gitlab

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

    send_keys only allows numbers.

    davidtophat
    @davidtophat
    @sitansu_kar007_twitter I believe you can use any 10.0 and up
    SDET
    @sdet_brazil_twitter
    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
    @sitansu_kar007_twitter
    Thanks @davidtophat
    sitansu sekhar kar
    @sitansu_kar007_twitter

    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
    @sidferreira
    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?
    jazaleja
    @jazaleja
    @sidferreira You can set them in Appium Desktop
    sitansu sekhar kar
    @sitansu_kar007_twitter
    @sidferreira This will help you to resolve capabilities
    http://appium.io/docs/en/writing-running-appium/caps/
    @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
    @sonrohan
    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
        self.move(ProfileReference.sign_out_button)
    views/base.py:23: in move
        actions.perform()
    ../../miniconda2/envs/mobile/lib/python3.7/site-packages/selenium/webdriver/common/action_chains.py:80: in perform
        self.w3c_actions.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
        self.error_handler.check_response(response)
    ../../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()

    sk
    @skumar1122
    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
    @mihai-iotic
    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?
    ajouve
    @ajouve
    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
    Thanks
    Pooja0907
    @Pooja0907
    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.
    sk
    @skumar1122
    Hi all, Do we know if we can use chrome.switches = --headless on appium real devices ?
    Nelson Ramirez
    @takn
    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