********************************************************************** 🚀🚀🚀This course is easy step by step approach to build a practical Appium Automation testing on a real phone device, real app using Java. ********************************************************************** 00:00:00 Introduction to this course 00:01:57 Contents of this course 00:04:37 Installation of Intellij, Java, Maven 00:24:02 Installation of node in our machine 00:27:27 Installation of appium in our machine 00:30:36 Download and copy platform tools 00:35:53 Installation of Vysor in our machine 00:37:43 About the Android phone details that we are using in this course, how to connect phone to your machine via USB cable through settings 00:45:43 About the capabilities of mobile phone - so that we can configure that while using appium scripts 00:51:45 Creating a new java project for creating the appium scripts 00:56:33 About appium drivers and why is it important 01:01:40 About appium driver documentation - a quick view - which is important 01:07:20 Installation of the android sdk platform tools 01:11:22 Adding the ANDROID_HOME details in the environment variables 01:15:33 Launching mobile app using the appium scipts 01:34:12 Download and install appium inspector 01:37:00 Starting session of the appium inspector 01:42:43 About appium locator strategies and selectors 01:45:45 Using appium inspector to capture uber mobile app element locators 02:04:03 Writing appium scripts and demonstrating the test execution run of the Uber app 02:10:31 Using appium inspector to capture Reddit mobile app element locators 02:13:31 Writing appium scripts and demonstrating the test execution run of the Reddit app 02:16:18 Conclusion #appium #mobiletesting #mobile #seleniumautomation #seleniumwebdriver #webdriver #allure #reporting #report #seleniumautomation #testing #softwaretesting #java #testng #intellij #maven #selenium4 #seleniumtutorials #seleniumjava #seleniumtutorialforbeginners #seleniumautomation #cucumber #pageobjectmodel #testing #bddtesting #bddframework
@DaveElBarbarooКүн бұрын
Thank you very much, I didn't know anything about automation with Appium, only with this video I understood everything and I became good at it. Teaching well is difficult, good job.
@aceautomationacademy6926Күн бұрын
Thanks for your kind words
@pujadubey45323 ай бұрын
Overall the best video I found on youtube, After following many videos I was getting many errors, was stuck, but this one is awesome, Thank you so much !!!
@aceautomationacademy69263 ай бұрын
Thanks - glad it was helpful !!
@JAVA_TECH16017 күн бұрын
@@aceautomationacademy6926when we start appium inspector start session when we click on text box like username and password locators are not getting what should we do
@Satyabrata20002 күн бұрын
I am getting an error "java.lang.IllegalArgumentException: Unknown HttpClient factory netty", can you please help me resolve this error, please?
@sree.sreelekshmisree612419 күн бұрын
great tutorial. I followed the steps mentioned and able to setup appium in my local
@aceautomationacademy692619 күн бұрын
Glad it helped!!
@BenParker-lw2yi4 ай бұрын
Thanks - this is what I need - clear concise and straight to point
@aceautomationacademy69264 ай бұрын
Thanks! hope it helps
@dnyaneshkulkarni2458Ай бұрын
Best Tutorial for Appium 😍😍
@aceautomationacademy6926Ай бұрын
Glad you liked it
@atik4489Ай бұрын
Greetings, I hope you are doing well. Very helpful for us!🥰 Please make another session based on Appium. Thank you!
@aceautomationacademy6926Ай бұрын
sure will do
@AnuragSingh-qk6et4 ай бұрын
Thank you sir - its an easy details
@aceautomationacademy6926Ай бұрын
Glad it helped
@gokulkrishnan-up6ppАй бұрын
nice video sir thank you.....
@aceautomationacademy6926Ай бұрын
Most welcome
@JyotsnaEmani7 күн бұрын
Hi, I find your working of automation testing was the best, but I was able to write the program in eclipse and use vysor and run appuim but after running the eclipse I dont find any changes in the appium server and mobile app.
@ZonT0012 ай бұрын
Hm, in my case to workaround the "session start error" I needed to downgrade the dependencies to: appium 9.1.0, selenium 4.18.1. I used the exact versions from the video.
@Satyabrata20002 күн бұрын
I am getting an error "java.lang.IllegalArgumentException: Unknown HttpClient factory netty", can you please help me resolve this error, please?
@giangpham-eg6mb28 күн бұрын
I have a problem is that when I click View Device on Visor on my laptop, the device screen is stuck at Connecting to Vysor on Android. But I can still click on the screen and interact with my phone. Do you know how to fix this
@aceautomationacademy69269 күн бұрын
Hello, hope you are doing good: apologies to answer your query after 2 weeks. This issue with Vysor getting stuck at "Connecting to Vysor on Android" while still allowing interaction is a common problem that can be caused by several factors related to USB connection, drivers, or software settings. Here are some steps you can try to fix the problem: Troubleshooting Steps for Vysor Stuck at "Connecting" Check USB Debugging and Connection Mode Ensure that USB Debugging is enabled on your Android device. You can find this option in Settings > Developer Options > USB Debugging. Ensure that the USB connection mode is set to File Transfer (MTP) or PTP, rather than just charging. Update Vysor and Drivers Update Vysor: Ensure that you have the latest version of Vysor installed on your laptop. You can update it from the Vysor website or directly through the app. Update ADB Drivers: Outdated or incompatible ADB (Android Debug Bridge) drivers can cause connectivity issues. Update or reinstall your ADB drivers. Windows: You can use the Universal ADB Driver or Google USB Driver. Mac: ADB drivers are usually included with Vysor, but ensure your system is up-to-date. Check USB Cable and Ports Sometimes, the problem is due to a faulty USB cable or port. Try using a different USB cable, preferably the one that came with your phone, and test with different USB ports on your laptop. Avoid using USB hubs or extensions; connect directly to your computer's port. Restart ADB Server Restarting the ADB server can resolve communication issues between your device and Vysor. Open a Command Prompt or Terminal window. Type the following commands: bash Copy code adb kill-server adb start-server Then, reconnect your device and restart Vysor. Check Device Permissions When you connect your device, you should see a pop-up on your phone asking to allow USB debugging. Ensure you tap Allow and check Always allow from this computer if prompted. If the pop-up doesn't appear, try toggling USB Debugging off and back on. Reset Vysor Settings Sometimes resetting Vysor settings can help. Go to Vysor settings and click on Reset App Settings. This will clear any misconfigurations that might be causing the issue. Disable Other Screen Mirroring Software If you have other screen mirroring or device management software running (like Scrcpy, Samsung DeX, or TeamViewer), these might conflict with Vysor. Close them and try reconnecting. Try Wireless Connection (Vysor Pro) If you have Vysor Pro, try connecting your device wirelessly to see if the issue persists: Enable wireless ADB on Vysor and follow the instructions to connect without a cable. Reinstall Vysor If the above steps do not work, consider uninstalling and reinstalling Vysor to ensure a clean setup.
@user-ng2cb7fy3m2 сағат бұрын
Hi bro could you please make a video on setting up and running both the Appium server and a Python automation script on the same Android device? I Mean... In Same Android testing (Appium server and python script execution) have to run in background In the same Android mobile Automation work also have to run Is it possible...? If it is possible make video on it...
@JanithMadura25 күн бұрын
hello, how can close advertisement that pop up. If have a method for that please reply to this :)
@juggernaut93642 ай бұрын
Plz Make a detailed video for Ios automation testing also...
@aceautomationacademy69262 ай бұрын
Sure will do and share it
@waqasshabbir7430Ай бұрын
Thank you so much for the detailed instructions. it took a whole day to setup and understand all the things lol. but this is the best video I have seen on youtube related to automation. just a little question. i get blackscreen when a page comes where I suppose to enter email. kindly help with this issue as well Thanks a lot
@aceautomationacademy6926Ай бұрын
Hi waqas: thanks for your kind words. one of the reason could be related to the App permissions in your device. are you able to open it manually first - could you check that.
@waqasshabbir7430Ай бұрын
@@aceautomationacademy6926 Hi, Yes! I can open it manually and while using vysor. But when i use appium inspector it stuck black on the page where i suppose to enter email.
@waqasshabbir743016 күн бұрын
@@aceautomationacademy6926 yes i Am able to open it manually
@hellowang50402 ай бұрын
01:07:20 I think you're trying to install Android studio, not the platform tools, the platform tools have been download and copy to c:/program files in 00:30:36 section
@naglismockevicius33942 ай бұрын
yea i noticed the same thing and than started checking comments section :)
@aceautomationacademy69262 ай бұрын
Nice catch
@user-ji6ze7gn1q2 ай бұрын
Is it possible to add a mocking layer for Mobile test automation and what open source technology stack can we use to achieve this objective?
@aceautomationacademy6926Ай бұрын
yes definitely possible, you can use wiremock or mock server or mockito
@shantampandey268620 күн бұрын
what are the pre requisites to learn this tutorial?
@aceautomationacademy692619 күн бұрын
There is no specific pre-requisite- kindly follow all the steps sequentially thats the only requisite
@chopz9611 күн бұрын
How did reddit get logged in without any code? and the suggestions bix didnt show up in ui automator in the video right? So how did you find the element ???
@aceautomationacademy69269 күн бұрын
hi, very good observation. yes i had already logged in reddit for this particular demo
@rajaspitale2903 ай бұрын
Getting following error: Could not start a new session. Possible causes are invalid address of the remote server or browser start-up failure.
@aceautomationacademy69263 ай бұрын
Hi Rajas, there could be 2 or 3 reasons related to that: 1. the remote server of appium is not running - kindly make sure the appium server is up 2. when you are trying to run the test - real android device is not connected - hopefully the real android device is connected. 3. slowness of the machine that you are running on kindly let me know if that helps
@NikitaJadhav-q1qАй бұрын
Im unable to see "-androiduiautomator" locator option in appium inspector. What could be the reason/solution in this case
@aceautomationacademy69269 күн бұрын
Hello, Sometimes, other capabilities set during the session initiation might conflict and disable certain locator strategies. Solution: Review your desired capabilities and ensure none are conflicting with -android uiautomator.
@testphone7661Ай бұрын
can you share the code ?
@nguyentitatira6664Ай бұрын
could you help me about how to handle popup such as after install an application it will show pop-up (like allow, deny) I used UIAutomator2 , it has register watcher , but in Appium it seems not support about it and how to handle this case , because the popup can appear random , if pop up Allow User 1:55:52 appear manual we action back disappears Hope to receive your answer from you soon.
@aceautomationacademy6926Ай бұрын
Hi : you can use the below method to handle popups public static void handlePopUp(AndroidDriver driver) { WebDriverWait wait = new WebDriverWait(driver, 10); try { // Wait for the 'Allow' button to appear and click it WebElement allowButton = wait.until(ExpectedConditions.visibilityOfElementLocated(By.id("com.android.packageinstaller:id/permission_allow_button"))); allowButton.click(); } catch (Exception e) { // If the pop-up does not appear, do nothing System.out.println("No pop-up appeared."); } }
@pujadubey45324 ай бұрын
I was getting error after doing all the apps for Uber app. Suggestion for the viewers: Try using newer versions of dependencies if you are not able to see logs for appium server on cmd. It would resolve session not creating issue
@aceautomationacademy69264 ай бұрын
Thanks for this comment 👍🏻
@Satyabrata20002 күн бұрын
Hi Puja, looks like you have been actually successful following the steps. I dropped a comment here in another your comment box. I need some help. Can you please help me?
@user-ng2cb7fy3m21 күн бұрын
I have scripted Android automation code (in python) Can we test in the same Android... By Python app to run in the background to test in the same Android phone
@aceautomationacademy69269 күн бұрын
Hi, you can use the same android but not the same setup as the one which i demoed is of java setup but if you choose to select phython as your option then too it wont have a different setup but you can use same andriod version and phone - hope it makes sense
@user-ng2cb7fy3m4 күн бұрын
@@aceautomationacademy6926 make a video on it
@RommelRamos-zf8id3 ай бұрын
It return an error, when executing the code in intellej, it return an permission denied. What should i do?
@aceautomationacademy69263 ай бұрын
Hi : are you facing an issue In installing appium If yes : Run this command : npm install -g appium --unsafe-perm=true --allow-root
@aceautomationacademy69263 ай бұрын
Or the cloned code is giving permission denied - could kindly check of the real device is connected
@RommelRamos-zf8id3 ай бұрын
@@aceautomationacademy6926 I'll try, Thang you very much!
@PAFBEAST2 ай бұрын
Bro how to press the enter button? I used keycode but its not working at all
@aceautomationacademy69262 ай бұрын
Try this : driver.executeScript("mobile:performEditorAction", ImmutableMap.of("action", "done"));
@@aceautomationacademy6926 I'll try this, btw i check my code and it worked on every device but only wasn't working on the app i was using idk
@guglumama171728 күн бұрын
This framework not supports flutter based apps
@aceautomationacademy69269 күн бұрын
hi , yes you are partially right. Appium works with Flutter-based apps, but it requires some additional setup. Appium doesn't directly support Flutter out of the box since Flutter uses a different rendering engine, which makes standard Appium element locators less effective. However, you can still test Flutter apps using Appium with the help of a Flutter driver (like the Appium Flutter driver) that bridges the gap between Appium and Flutter elements.
@paojalasoft3 ай бұрын
I`m getting an error how can I create the AppiumDriver class?
@aceautomationacademy6926Ай бұрын
Make sure you have the necessary dependencies in your pom.xml file
@akshaynarwad73472 ай бұрын
Can i follow same flow in Eclipse?
@aceautomationacademy69262 ай бұрын
Yes Akshay, ofcourse you can It's similar concept
@Satyabrata20002 күн бұрын
This is a very nice, useful and one of a kind video in the youtube. I followed the steps. I am getting an error, "java.lang.IllegalArgumentException: Unknown HttpClient factory netty". How do I get rid of it? Can you please help and advise, please?
@aceautomationacademy692610 сағат бұрын
Hi Satya: kindly try this: change your selenium-java dependency version to 4.15 and load the maven changes and re run
@user-ng2cb7fy3m2 ай бұрын
Can we run python program to automate Android app (with a task) in the same Android mobile...? Is it possible or not..?
@aceautomationacademy6926Ай бұрын
Yes, you can run a Python program to automate tasks on an Android app directly on the same Android device. There are several tools and frameworks available that allow you to write and execute Python scripts for Android automation
@user-ng2cb7fy3mАй бұрын
@@aceautomationacademy6926 which python app is best to run and use appium module in the background to finish our task in the same Android mobile
@user-ng2cb7fy3mАй бұрын
which python app is best to run and use appium module in the background to finish our task in the same Android mobile
@user-ng2cb7fy3mАй бұрын
@@aceautomationacademy6926 which python app is best to run and use appium module in the background to finish our task in the same Android mobile
@user-ng2cb7fy3m20 күн бұрын
@@aceautomationacademy6926Could you provide application(app)
@suhaspowar81613 ай бұрын
please provide .apk file for this uber reddit app
@priyankaguthe80123 ай бұрын
Can we use ecllipse ?
@aceautomationacademy69263 ай бұрын
Yes you can. Eclipse is just another IDE It’s the same way otherwise
@shortvideo2457Ай бұрын
Device root chaye iss mai kya
@aceautomationacademy6926Ай бұрын
Depends on your app that you are automating
@atik4489Ай бұрын
Greetings, I hope you are doing well. I'm getting this error: Exception in thread "main" org.openqa.selenium.SessionNotCreatedException: Could not start a new session. Response code 500. Message: An unknown server-side error occurred while processing the command. Original error: Error executing adbExec. Original error: 'Command 'C:\\Users\\SQA\\SDKTools\\platform-tools\\adb.exe -P 5037 -s RZCW50D238B shell cmd package list packages' exited with code 255'; Command output: Exception occurred while executing 'list': java.lang.SecurityException: Shell does not have permission to access user 150 ... How Can I solve this issue?
@aceautomationacademy6926Ай бұрын
Hi, there could be multiple reasons for this: Solution: Ensure that you have the necessary permissions to run ADB commands on the device. You can try the following: Run your development environment (e.g., IDE or command prompt) as an administrator. Ensure that your device is properly authorized for debugging. or Solution: Make sure USB debugging is enabled. Verify that the device is not in a locked state. Ensure that you accept any prompt for debugging authorization on the device.