Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    digikiwam
    @digikiwam
    For the love of God, how do you pass in Application Arguments in Appium WinAppDriver - using AppiumOptions and passing in "appArguments" as additional capability doesn't work. I am at wits end since Microsoft's WinAppDriver is dead in the water as Appium took over.
    Varsha Nihanth
    @varshanihanth
    image.png
    Guys, Can someone help me in resolving this error
    Abuthahir
    @Abuthah74042755_twitter
    Hi
    I received following error message while running application,
    Encountered internal error running command: UnknownError: An unknown server-side error occurred while processing the command. Original error: Could not proxy command to remote server. Original error: Error: ESOCKETTIMEDOUT
    Can anyone tell me what is root cause for this issue and how to resolve the same
    Am using Appium - 1.15.1 version
    Thowa
    @twalenzyk
    Hi all,
    I'm an absolut beginner with Appium.
    I wonder, how I can use Appium with a real Android device (Ganalxy S7). I have set up developer mode on the S7 and also have an adb.exe which works quite nice with scrcpy.
    I already struggle with IP Address to connect to.
    If I leave it at Default (0.0.0.0) and set port to 5037 (which I have seen in adb Output) I don't get an error rightaway, but when I try to start an inspector session I'm getting an error "Could not connect to Server".
    areej
    @areejw
    Hi all, I am trying to launch android emulator by running command 'emulator -avd Nexus_6_API_29’ as pretest in package.json so the emulator is launch before the webdriverio tests run. The emulator does launch but the tests do not start. Seems like it’s still waiting for emulator to finish loading or something. How does everyone launch the emulator before test runs?
    hoihoi000a
    @hoihoi000a
    Hi all,
    Have you tried to write a server to connect Appium server?
    Because I try to write a server to listen other program's command -> parsing it -> transfer my code to Appium server
    Charlie Kurban
    @ckurban

    Hi everyone, I have a case where I need to click on the Activation link in my Inbox - when I am registering to my app... so flow is :

    1. User fills all the mandatory fields
    2. App send Activation code to user's email
    3. User clicks on the link in his/her email inbox
    4. App activates the account

    I am retrieving the activation link and when I use driver.url(activationLink) then I am getting server-side error .... does anyone know how to hit the URL with Appium ... ?

    Sai Poluri
    @sai-poluri
    @Abuthah74042755_twitter Am facing the similar issue, tried upgrading node js, upgrading android studio and sdk. Nothing seems to work.
    davidtophat
    @davidtophat
    Hey guys, I was working on automation and I updated to xcode 11 and using iphone 11 - iOS13. For some reason automation can't even sendkeys to a textbox anymore. But it can bypass the first pop-up that I need to click on. Anyone have any advice?
    davidtophat
    @davidtophat
    nvm figured it out its because iphone 11 has different access ids.
    Rahul Jaisinghani
    @rahul-bs
    Hi,
    I am getting chrome
    Not reachable when I am doing context switch and resetapp
    zangpi
    @zangpi
    [Chromedriver] Chromedriver exited unexpectedly with code null, signal SIGTERM
    [Chromedriver] Changed state to 'stopped'
    [Chromedriver] Error: A new session could not be created. Details: session not created: please close 'com.gcard.library.demo' and try again
    [Chromedriver] at Object.wrappedLogger.errorAndThrow (C:\Users\g\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-support\lib\logging.js:79:13)
    [Chromedriver] at Chromedriver.errorAndThrow [as start] (C:\Users\g\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-chromedriver\lib\chromedriver.js:540:11)
    [W3C (a0153839)] Encountered internal error running command: Error: A new session could not be created. Details: session not created: please close 'com.gcard.library.demo' and try again
    [W3C (a0153839)] at Object.wrappedLogger.errorAndThrow (C:\Users\g\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-support\lib\logging.js:79:13)
    [W3C (a0153839)] at Chromedriver.errorAndThrow [as start] (C:\Users\g\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-chromedriver\lib\chromedriver.js:540:11)
    [HTTP] <-- POST /wd/hub/session/a0153839-e73d-4af0-b66e-61fd46fbf33e/context 500 4548 ms - 841
    Switch webview and report an error
    Dinesh Kumar
    @DineshSV_gitlab
    Can anyone tell me how to upload apk file in Sauce Labs. I am using trial version of Sauce Labs
    Ryan McIntyre
    @ryanoasis_gitlab

    Hey everyone,

    I'm having trouble with iOS 13 on SauceLabs with Appium 1.15.0. I suspect it's failing because the request is timing out way too soon.

    Getting this error:
    Timed out waiting for asyncrhonous script result after X ms
    where x are values very low like 5, 7, 3, etc.

    Tried increasing the timeout but unable to get the format correct.

    browser.setTimeout({ script: 5000 });
    browser.setTimeout({ type: 'script', ms: 5000 });

    Resulting in
    [debug] [MJSONWP (715be6a3)] Encountered internal error running command: BadParametersError: Parameters were incorrect. We wanted "MJSONWP protocol requires type and ms" and you sent {"script":5000}
    or
    [debug] [MJSONWP (715be6a3)] Encountered internal error running command: BadParametersError: Parameters were incorrect. We wanted "MJSONWP protocol requires type and ms" and you sent {}

    Any ideas here?

    Dinesh Kumar
    @DineshSV_gitlab
    While connecting Appium Inspector through Appium server, getting error "Infrastructure Error - Sauce VM failed to start the browser or device"
    Please can anyone help with the above issue
    Kubeusz89
    @Kubeusz89
    Hi, can someone explain me, is there way to use PageFactory when I write tests on C#?
    On Java there is: PageFactory.initElements(new AppiumFieldDecorator(driver), this);
    but on C# AppiumFieldDecorator is not recognized
    Sven Murat
    @sven14_gitlab
    does anyone have problems with context of the hybrid apps? cannot get webview context of that kind of app
    Ryan McIntyre
    @ryanoasis_gitlab
    @ryanoasis_gitlab Solved problem with driver.setAsyncTimeout(5000) http://appium.io/docs/en/commands/web/execute-async/
    Polaris008
    @Polaris008

    Hi, we are trying to use Appium with Espresso driver, but the session could not be started successfully. There is an error in Appium server log:

    java.lang.SecurityException: Permission Denial: starting instrumentation ComponentInfo{io.appium.espressoserver.test/androidx.test.runner.AndroidJUnitRunner} from pid=21558, uid=21558 not allowed because package io.appium.espressoserver.test does not have a signature matching the target com.xxx.yyy

    And there are some other messages seem to be realted before this error message:

    2019-11-28 09:29:29][Espresso] Repackaged espresso server ready: 'C:\Users\CHINAL~1\AppData\Local\Temp\io.appium.espressoserver.test_1.16.0_com.xxx.yyy.apk'
    [2019-11-28 09:29:29][ADB] Checking app cert for C:\Users\CHINAL~1\AppData\Local\Temp\io.appium.espressoserver.test_1.16.0_com.xxx.yyy.apk
    [2019-11-28 09:29:29][ADB] Using 'apksigner.bat' from 'C:\Users\xxx\AppData\Local\Android\Sdk\build-tools\29.0.2\apksigner.bat'
    [2019-11-28 09:29:29][ADB] Starting 'C:\Users\xxx\AppData\Local\Android\Sdk\build-tools\29.0.2\apksigner.bat' with args '["verify","--print-certs","C:\\Users\\CHINAL~1\\AppData\\Local\\Temp\\io.appium.espressoserver.test_1.16.0_com.xxx.yyy.apk"]'
    [2019-11-28 09:29:30][ADB] Got an error during apksigner execution: Command 'apksigner.bat verify --print-certs C:\\Users\\CHINAL~1\\AppData\\Local\\Temp\\io.appium.espressoserver.test_1.16.0_com.xxx.yyy.apk' exited with code 1
    [2019-11-28 09:29:30][ADB] apksigner stderr: DOES NOT VERIFY
    [2019-11-28 09:29:30][ADB] ERROR: JAR signer CERT.RSA: JAR signature META-INF/CERT.SF indicates the APK is signed using APK Signature Scheme v2 but no such signature was found. Signature stripped?
    [2019-11-28 09:29:30][ADB] 
    [2019-11-28 09:29:30][ADB] 'C:\Users\CHINAL~1\AppData\Local\Temp\io.appium.espressoserver.test_1.16.0_com.xxx.yyy.apk' is not signed with debug cert
    [2019-11-28 09:29:30][ADB] Using 'zipalign.exe' from 'C:\Users\xxx\AppData\Local\Android\Sdk\build-tools\29.0.2\zipalign.exe'
    [2019-11-28 09:29:30][ADB] C:\Users\CHINAL~1\AppData\Local\Temp\io.appium.espressoserver.test_1.16.0_com.xxx.yyy.apk' is already zip-aligned. Doing nothing
    [2019-11-28 09:29:30][ADB] Signing 'C:\Users\CHINAL~1\AppData\Local\Temp\io.appium.espressoserver.test_1.16.0_com.xxx.yyy.apk' with default cert
    [2019-11-28 09:29:30][ADB] Starting 'C:\Users\xxx\AppData\Local\Android\Sdk\build-tools\29.0.2\apksigner.bat' with args '["sign","--key","C:\\Program Files\\Appium\\resources\\app\\node_modules\\appium\\node_modules\\appium-android-driver\\node_modules\\appium-adb\\keys\\testkey.pk8","--cert","C:\\Program Files\\Appium\\resources\\app\\node_modules\\appium\\node_modules\\appium-android-driver\\node_modules\\appium-adb\\keys\\testkey.x509.pem","C:\\Users\\CHINAL~1\\AppData\\Local\\Temp\\io.appium.espressoserver.test_1.16.0_com.xxx.yyy.apk"]'
    [2019-11-28 09:29:30][ADB] Uninstalling io.appium.espressoserver.test
    [2019-11-28 09:29:30][ADB] Getting install status for io.appium.espressoserver.test
    [2019-11-28 09:29:30][ADB] Running 'C:\Users\xxx\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s LKN5T18C07004429 shell dumpsys package io.appium.espressoserver.test'
    [2019-11-28 09:29:31][ADB] 'io.appium.espressoserver.test' is installed

    Could any one give some help on how to resolve this? Is there any requirement for the app to be tested with Espresso driver?

    mundocruel
    @mundocruel

    Hi everyone, I have a question and I would like you to help me.

    I am currently testing an app that is not my property, everything is fine from my android emulator (genymotion), but when I run this test on a mobile device I get the following error:
    java.lang.SecurityException: Permission Denial: starting Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.xxx.xxx/com.xxx.xxx.xxx.xxxActivity } from null (pid=22624, uid=2000) not exported from uid 10114
    I understand that this must be due to the permission of the owner of the app, I would like to know if there is any way to skip this permission through root or any alternative where I can run my test on this app that is not my property.

    davidtophat
    @davidtophat

    Hey guys, on web a user can over their mouse over the screen and a hidden window will pop-up. But the window is hidden during automation and I can't figure out how to make it pop-up on web. On the app it would've been easier if i tried using TouchAction, but on web how could I make the hidden window pop-up?

    Thanks!

    Ghost
    @ghost~5ddff7a3d73408ce4fd26b22
    davidtophat
    @davidtophat
    @bmchx_gitlab ahh yes I ended up trying to just click on the screen to get the window popping up! Thank you! But I was wondering if there was a way to click on the ARROW _RIGHT_BUTTON on the keyboard so i can navigate through a powerpoint on web?
    Ghost
    @ghost~5ddff7a3d73408ce4fd26b22
    @davidtophat You're welcome David. I think the usual right-click is named ContextClick: https://static.javadoc.io/org.seleniumhq.selenium/selenium-api/2.50.1/org/openqa/selenium/interactions/ContextClickAction.html
    @davidtophat Yep it is, JS binding reference but ContextClick is supposed to be a right-click https://github.com/SeleniumHQ/selenium/blob/master/javascript/node/selenium-webdriver/lib/input.js#L878
    davidtophat
    @davidtophat
    https://selenium.dev/selenium/docs/api/java/org/openqa/selenium/Keys.html
    import org.openqa.selenium.Keys
    I am trying to import the above for pycharm but it doesn't recognize it
    nghiahuynht05
    @nghiahuynht05

    Hello,

    I need help,

    I test case open webview in app android.
    but show error https://paste.ofcode.org/7D5xakm3iK2CHA2bX9tKuJ

    someone has used appium webdriverIO. help me

    Ghost
    @ghost~5ddff7a3d73408ce4fd26b22
    @nghiahuynht05 check http://appium.io/docs/en/drivers/android-uiautomator2/#real-device-setup, and please don't use var in your code, use const (or let), and get rid of things like var self = this; you're shooting yourself in the foot
    zarashima
    @zarashima

    Hi all

    Is it possible to attach to the existing Appium session? My scenario is I want to re-use the same Appium session for mobile browser from a native app context, not want to create two separate drivers instance to handle this

    Ryan McIntyre
    @ryanoasis_gitlab

    Hey all. Having a hard time getting a React input component value to set and trigger an on change event, I can get the value just fine with getValue. It is set visually - as in the input has the value but as far as the form goes it is not 'set'. Methods tried: addValue, setValue and sendKeys.

    alternatives tried:
    https://github.com/facebook/react/issues/11488#issuecomment-470623779
    https://github.com/appium/appium/issues/9002#issuecomment-479032180
    https://github.com/facebook/react/issues/11488#issuecomment-347775628

      const input = await browser.$('input');
      await input.addValue(email); // doesn't trigger change event. workaround?
      await input.setValue(email); // doesn't trigger change event. workaround?
    
      browser.execute(() => {
        let input = document.querySelector('input');
        let lastValue = input.value;
        let event = new Event('change', { bubbles: true });
        event.simulated = true;
        let tracker = input._valueTracker;
        if (tracker) {
          tracker.setValue(lastValue);
        }
        input.dispatchEvent(event);
      });

    Any ideas here? :( Thanks

    Sven Murat
    @sven14_gitlab
    currently I'm having this issue when trying to switch context to webview: Request failed due to unknown error: An unknown server-side error occurred while processing the command. Original error: No Chromedriver found that can automate Chrome '78.0.3904'... but have installed latest chromedriver?
    can anyone help? I'm trying to inspect hybrid app in chrome
    Shawn Edge
    @Edge_Man_twitter
    @sven14_gitlab : run this when starting appium... "appium --allow-insecure chromedriver_autodownload"
    bobbyislam
    @bobbyislam
    any place I can find detailed instruction on how to set up a Mac for iOs / Appium / c# setup. I am very new into mobile testing world
    my goal is to start writing some c# tests which will be hooked to the Mac machine and eventually test using SauceLabs
    Shawn Edge
    @Edge_Man_twitter
    Rahul Jaisinghani
    @rahul-bs
    @sven14_gitlab pass 'recreateChromeDriverSessions' capability as true
    bobbyislam
    @bobbyislam
    @bobbyislam Thanks @Edge_Man_twitter
    walternolak
    @walternolak
    Hello! Does anyone have encountered this error while running tests: "Unable to remove port forward 'Error executing adbExec. Original error: ‘Command Android/sdk/platform-tools/adb -P 5037 -s 83e54f3051575844 forward --remove tcp\:8200' exited with code 1'; Stderr: 'error: listener 'tcp:8200' not found'; Code: '1’'
    I’m using appium 1.15.1, node v10.15.3, npm 6.13.2
    This always happens to me when tests are finished executing. Thanks for the help!
    mohit12705
    @mohit12705
    Ios simulator is taking long time to load URL first time in saucelabs . Any idea how to solve this issue or make sure page is loaded and then execute rest steps
    Ivan Chernov
    @iChernov
    Hello guys. Weird thing - our tests are running way faster on old iPhones (6s/7), than on the new ones (like 8 Plus). Does anybody have a hint - what could be the reason, or with whom I can discuss it?