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.
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
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.
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.
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 ?
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 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");
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
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.
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.
Hi Konto, hmm let me see as I'm not much familiar with JavaScript
Very detailed and helpful video. How to start appium without updating bash profile? (appium command line version installed)
following your series, helping me a lot, thanks
Thank you for the feedback
Super Sir, Very very clear , Step by step , Thank you :)
Thank you
Thanks you Sir again for the free video. Thanks again
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
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.
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.
@@askomdch thanks a lot for quick reply.
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 ?
You might want to refer this: sqa.stackexchange.com/questions/40896/permissions-error-trying-to-run-appium-test-on-android/40928#40928
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
You might have to increase the emulator wait timeout. There is a capability that you can set.
@@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");
I am not able to see JRE system lib and project and external dependencies in my gradle directory. please help.
What all steps you performed?
same here, followed all steps guided by you
Are those dependencies the same for those who have an android for macOS?
Yes dependencies are same but make sure Appium environment is configured for Android on MacOS.
@@askomdch yes sure I configured them as video 4 instructions
Thank you Sir this course is really helpful
Thank you. Do check the description section.
my appium setting app crashes every time I launch it :(
What's the error .. could you please share the logs?
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
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.
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