Appium Tutorial 5.A: First Java Project - Android | Real Device | Emulator

Поділитися
Вставка
  • Опубліковано 17 лис 2024

КОМЕНТАРІ • 32

  • @anshultyagi1790
    @anshultyagi1790 2 роки тому

    Superb man. I'm android app developer and following your each video for doing setup and mobile app testing. And I din't get any problem. Thanks a lot.

  • @Kprywatne
    @Kprywatne 4 роки тому +2

    Beautiful tutorial series....Very clear! I have one request. Every Appium tutorial shows how to set up tests using Java. Could you PLEASE make a short video on getting a simple set up for writing tests in javascript (with node.js) on a real device? Thank you sir.

    • @askomdch
      @askomdch  4 роки тому

      Hi Konto, hmm let me see as I'm not much familiar with JavaScript

  • @Mashy4chelsea
    @Mashy4chelsea 6 місяців тому

    Very detailed and helpful video. How to start appium without updating bash profile? (appium command line version installed)

  • @ShubhamSharma-ir5ie
    @ShubhamSharma-ir5ie 4 роки тому +3

    following your series, helping me a lot, thanks

    • @askomdch
      @askomdch  4 роки тому

      Thank you for the feedback

  • @gauravchakravarthy4126
    @gauravchakravarthy4126 4 роки тому +2

    Super Sir, Very very clear , Step by step , Thank you :)

  • @Gtline68
    @Gtline68 2 роки тому

    Thanks you Sir again for the free video. Thanks again

  • @swethad3989
    @swethad3989 4 роки тому

    Hi om, I have a scenario I need to keep the app in back ground for 1 minute and then I need to bring back to foreground. Here I am testing silent login . Am using driver.Background App(60) , but this is not working for me . App getting back to foreground with in 2 secs , I tried thread .sleep but it did not work .
    I need to add a wait statement , do you know how to fix this issue?
    I need this for both iOS and Android.
    Thanks

  • @ayushgarg4327
    @ayushgarg4327 4 роки тому +1

    Thank you Sir again for the great video. I have one doubt so when I close the emulator and android studio and use avd as key and emulator name as value in desired capabilities... In this case, my avd is getting launched but desired application is not opening as avd itself is taking time to launch and restart the device and after that, I get timeout exception in appium logs. How can I write code such that my code waits for emulator to restart completely and launch desired app successfully. Thanks in advance.

    • @askomdch
      @askomdch  4 роки тому +1

      Yes AVD can take time to launch. Try to increase launch timeout. You can set avdLaunchTimeout capability. Default timeout is 60000ms. If this doesn't work, then try out by increasing adb execution timeout using adbExecTimeout capability. Default timeout is 20000ms.

    • @ayushgarg4327
      @ayushgarg4327 4 роки тому +1

      @@askomdch thanks a lot for quick reply.

  • @kavithakuttan9044
    @kavithakuttan9044 4 роки тому

    Hi,
    I am new to Appium automation. I tried to run my basic code( desired capabilities setting) on real device. Set my mobile in developer mode and enable usb debugging. My device ID is also displayed on command prompt . But while running the code, it is showing
    'java.lang.SecurityException: You need the android.permission.INSTALL_GRANT_RUNTIME_PERMISSIONS permission to use the PackageManager.INSTALL_GRANT_RUNTIME_PERMISSIONS'.
    How to solve this case ?

    • @askomdch
      @askomdch  4 роки тому

      You might want to refer this: sqa.stackexchange.com/questions/40896/permissions-error-trying-to-run-appium-test-on-android/40928#40928

  • @harshal_saindane
    @harshal_saindane 3 роки тому

    Hi Sir, I have added capability- desiredCapabilities.setCapability("avd", "Pixel_2"); but unable to start simulator automatically, getting error as "Avd 'Pixel_2' is not available. No emulators have been detected on your system". I can run the emulator and app when emulator is open

    • @askomdch
      @askomdch  3 роки тому

      You might have to increase the emulator wait timeout. There is a capability that you can set.

    • @harshal_saindane
      @harshal_saindane 3 роки тому

      @@askomdch Sir, I have tried few capabilities, but still unable to start simulator automatically
      desiredCapabilities.setCapability("avd", "Pixel_2");
      desiredCapabilities.setCapability("avdLaunchTimeout", "300000");
      desiredCapabilities.setCapability("avdReadyTimeout", "300000");
      desiredCapabilities.setCapability("uiautomator2ServerLaunchTimeout", "20000");
      desiredCapabilities.setCapability("uiautomator2ServerInstallTimeout", "20000");
      desiredCapabilities.setCapability("adbExecTimeout", "50000");

  • @piyushsinha3756
    @piyushsinha3756 4 роки тому

    I am not able to see JRE system lib and project and external dependencies in my gradle directory. please help.

    • @askomdch
      @askomdch  4 роки тому

      What all steps you performed?

    • @ankushsingh7161
      @ankushsingh7161 4 роки тому

      same here, followed all steps guided by you

  • @walaanofal6980
    @walaanofal6980 3 роки тому

    Are those dependencies the same for those who have an android for macOS?

    • @askomdch
      @askomdch  3 роки тому

      Yes dependencies are same but make sure Appium environment is configured for Android on MacOS.

    • @walaanofal6980
      @walaanofal6980 3 роки тому

      @@askomdch yes sure I configured them as video 4 instructions

    • @walaanofal6980
      @walaanofal6980 3 роки тому +1

      Thank you Sir this course is really helpful

    • @askomdch
      @askomdch  3 роки тому

      Thank you. Do check the description section.

  • @marilouonsay4924
    @marilouonsay4924 3 роки тому

    my appium setting app crashes every time I launch it :(

    • @askomdch
      @askomdch  3 роки тому

      What's the error .. could you please share the logs?

  • @rajmonu3023
    @rajmonu3023 4 роки тому

    please help me i am not able to connect the Real device(Real me 5S) to Vysor so can not Run the Test, Please make one video on that or Plz give me suggestion how to connect the Real device and Run the test cases, I have Searched a lot on Google but i did not get any Solution but still Search on google and You Tube

    • @askomdch
      @askomdch  4 роки тому

      As long as you are able to connect your device using USB cable and the adb tool recognize your device, there shouldn't be any issue.

    • @askomdch
      @askomdch  4 роки тому

      If adb tool doesn't recognize your device, then you might want to install usbdriver on your machine. Link: developer.android.com/studio/run/oem-usb