Тёмный

[2024]: Appium Mobile App Automation testing , Most practical Android, device app- UBER REDDIT 

Ace Automation Academy
Подписаться 2,7 тыс.
Просмотров 17 тыс.
50% 1

Опубликовано:

 

29 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 97   
@aceautomationacademy6926
@aceautomationacademy6926 5 месяцев назад
********************************************************************** 🚀🚀🚀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
@DaveElBarbaroo 21 день назад
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
@aceautomationacademy6926 20 дней назад
Thanks for your kind words
@sree.sreelekshmisree6124
@sree.sreelekshmisree6124 Месяц назад
great tutorial. I followed the steps mentioned and able to setup appium in my local
@aceautomationacademy6926
@aceautomationacademy6926 Месяц назад
Glad it helped!!
@atik4489
@atik4489 2 месяца назад
Greetings, I hope you are doing well. Very helpful for us!🥰 Please make another session based on Appium. Thank you!
@aceautomationacademy6926
@aceautomationacademy6926 2 месяца назад
sure will do
@pujadubey4532
@pujadubey4532 4 месяца назад
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 !!!
@aceautomationacademy6926
@aceautomationacademy6926 4 месяца назад
Thanks - glad it was helpful !!
@Attitude_person78906
@Attitude_person78906 Месяц назад
​@@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
@Satyabrata2000
@Satyabrata2000 22 дня назад
I am getting an error "java.lang.IllegalArgumentException: Unknown HttpClient factory netty", can you please help me resolve this error, please?
@giangpham-eg6mb
@giangpham-eg6mb Месяц назад
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
@aceautomationacademy6926
@aceautomationacademy6926 29 дней назад
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.
@ahmedkhalil3163
@ahmedkhalil3163 12 дней назад
يجب ان يكون الاتصال علي الهاتف وجهاز الكمبيوتر نفس شبكه الانترنت
@hellowang5040
@hellowang5040 3 месяца назад
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
@naglismockevicius3394
@naglismockevicius3394 3 месяца назад
yea i noticed the same thing and than started checking comments section :)
@aceautomationacademy6926
@aceautomationacademy6926 2 месяца назад
Nice catch
@NikitaJadhav-q1q
@NikitaJadhav-q1q Месяц назад
Im unable to see "-androiduiautomator" locator option in appium inspector. What could be the reason/solution in this case
@aceautomationacademy6926
@aceautomationacademy6926 29 дней назад
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.
@shantampandey2686
@shantampandey2686 Месяц назад
what are the pre requisites to learn this tutorial?
@aceautomationacademy6926
@aceautomationacademy6926 Месяц назад
There is no specific pre-requisite- kindly follow all the steps sequentially thats the only requisite
@Satyabrata2000
@Satyabrata2000 22 дня назад
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?
@aceautomationacademy6926
@aceautomationacademy6926 20 дней назад
Hi Satya: kindly try this: change your selenium-java dependency version to 4.15 and load the maven changes and re run
@KRISHINNOVOO
@KRISHINNOVOO Месяц назад
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
@aceautomationacademy6926
@aceautomationacademy6926 29 дней назад
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
@KRISHINNOVOO
@KRISHINNOVOO 23 дня назад
@@aceautomationacademy6926 make a video on it
@suhaspowar8161
@suhaspowar8161 3 месяца назад
please provide .apk file for this uber reddit app
@priyankaguthe8012
@priyankaguthe8012 4 месяца назад
Can we use ecllipse ?
@aceautomationacademy6926
@aceautomationacademy6926 4 месяца назад
Yes you can. Eclipse is just another IDE It’s the same way otherwise
@RommelRamos-zf8id
@RommelRamos-zf8id 4 месяца назад
It return an error, when executing the code in intellej, it return an permission denied. What should i do?
@aceautomationacademy6926
@aceautomationacademy6926 4 месяца назад
Hi : are you facing an issue In installing appium If yes : Run this command : npm install -g appium --unsafe-perm=true --allow-root
@aceautomationacademy6926
@aceautomationacademy6926 4 месяца назад
Or the cloned code is giving permission denied - could kindly check of the real device is connected
@RommelRamos-zf8id
@RommelRamos-zf8id 4 месяца назад
@@aceautomationacademy6926 I'll try, Thang you very much!
@KRISHINNOVOO
@KRISHINNOVOO 19 дней назад
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...
@chandrakantakafle7373
@chandrakantakafle7373 15 дней назад
Hi, I hope you will reply. I was going to make automation for messenger calls, messanger voice msg and youtube search for much grandma who is illiterate , is it possible with appium?
@ZonT001
@ZonT001 3 месяца назад
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.
@Satyabrata2000
@Satyabrata2000 22 дня назад
I am getting an error "java.lang.IllegalArgumentException: Unknown HttpClient factory netty", can you please help me resolve this error, please?
@JyotsnaEmani
@JyotsnaEmani 27 дней назад
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.
@testphone7661
@testphone7661 2 месяца назад
can you share the code ?
@JanithMadura
@JanithMadura Месяц назад
hello, how can close advertisement that pop up. If have a method for that please reply to this :)
@akbtest
@akbtest 12 дней назад
can i use vs code instead of intellij?
@aceautomationacademy6926
@aceautomationacademy6926 12 дней назад
Yes you can if you are comfortable When working with "Java projects" in VS Code, you must have the necessary extensions installed to work with those project files.
@atik4489
@atik4489 2 месяца назад
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
@aceautomationacademy6926 2 месяца назад
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.
@nguyentitatira6664
@nguyentitatira6664 2 месяца назад
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
@aceautomationacademy6926 2 месяца назад
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."); } }
@Sanjayhorke-t9w
@Sanjayhorke-t9w 17 дней назад
Will u provide live training
@aceautomationacademy6926
@aceautomationacademy6926 12 дней назад
Yes we do live training as well
@chopz96
@chopz96 Месяц назад
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 ???
@aceautomationacademy6926
@aceautomationacademy6926 29 дней назад
hi, very good observation. yes i had already logged in reddit for this particular demo
@Mulamulelirabulanyana
@Mulamulelirabulanyana 3 месяца назад
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
@aceautomationacademy6926 2 месяца назад
yes definitely possible, you can use wiremock or mock server or mockito
@rajaspitale290
@rajaspitale290 4 месяца назад
Getting following error: Could not start a new session. Possible causes are invalid address of the remote server or browser start-up failure.
@aceautomationacademy6926
@aceautomationacademy6926 4 месяца назад
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
@PAFBEAST
@PAFBEAST 2 месяца назад
Bro how to press the enter button? I used keycode but its not working at all
@aceautomationacademy6926
@aceautomationacademy6926 2 месяца назад
Try this : driver.executeScript("mobile:performEditorAction", ImmutableMap.of("action", "done"));
@aceautomationacademy6926
@aceautomationacademy6926 2 месяца назад
driver.executeScript("mobile:performEditorAction", ImmutableMap.of("action", "done"));
@PAFBEAST
@PAFBEAST 2 месяца назад
@@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
@paojalasoft
@paojalasoft 3 месяца назад
I`m getting an error how can I create the AppiumDriver class?
@aceautomationacademy6926
@aceautomationacademy6926 2 месяца назад
Make sure you have the necessary dependencies in your pom.xml file
@pujadubey4532
@pujadubey4532 5 месяцев назад
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
@aceautomationacademy6926
@aceautomationacademy6926 5 месяцев назад
Thanks for this comment 👍🏻
@Satyabrata2000
@Satyabrata2000 22 дня назад
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?
@waqasshabbir7430
@waqasshabbir7430 2 месяца назад
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
@aceautomationacademy6926 2 месяца назад
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
@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.
@waqasshabbir7430
@waqasshabbir7430 Месяц назад
@@aceautomationacademy6926 yes i Am able to open it manually
@juggernaut9364
@juggernaut9364 3 месяца назад
Plz Make a detailed video for Ios automation testing also...
@aceautomationacademy6926
@aceautomationacademy6926 3 месяца назад
Sure will do and share it
@guglumama1717
@guglumama1717 Месяц назад
This framework not supports flutter based apps
@aceautomationacademy6926
@aceautomationacademy6926 29 дней назад
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.
@KRISHINNOVOO
@KRISHINNOVOO 2 месяца назад
Can we run python program to automate Android app (with a task) in the same Android mobile...? Is it possible or not..?
@aceautomationacademy6926
@aceautomationacademy6926 2 месяца назад
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
@KRISHINNOVOO
@KRISHINNOVOO 2 месяца назад
@@aceautomationacademy6926 which python app is best to run and use appium module in the background to finish our task in the same Android mobile
@KRISHINNOVOO
@KRISHINNOVOO 2 месяца назад
which python app is best to run and use appium module in the background to finish our task in the same Android mobile
@KRISHINNOVOO
@KRISHINNOVOO 2 месяца назад
@@aceautomationacademy6926 which python app is best to run and use appium module in the background to finish our task in the same Android mobile
@KRISHINNOVOO
@KRISHINNOVOO Месяц назад
​@@aceautomationacademy6926Could you provide application(app)
@BenParker-lw2yi
@BenParker-lw2yi 5 месяцев назад
Thanks - this is what I need - clear concise and straight to point
@aceautomationacademy6926
@aceautomationacademy6926 5 месяцев назад
Thanks! hope it helps
@akshaynarwad7347
@akshaynarwad7347 3 месяца назад
Can i follow same flow in Eclipse?
@aceautomationacademy6926
@aceautomationacademy6926 3 месяца назад
Yes Akshay, ofcourse you can It's similar concept
@gokulkrishnan-up6pp
@gokulkrishnan-up6pp Месяц назад
nice video sir thank you.....
@aceautomationacademy6926
@aceautomationacademy6926 Месяц назад
Most welcome
@shortvideo2457
@shortvideo2457 2 месяца назад
Device root chaye iss mai kya
@aceautomationacademy6926
@aceautomationacademy6926 2 месяца назад
Depends on your app that you are automating
@AnuragSingh-qk6et
@AnuragSingh-qk6et 5 месяцев назад
Thank you sir - its an easy details
@aceautomationacademy6926
@aceautomationacademy6926 2 месяца назад
Glad it helped
@dnyaneshkulkarni2458
@dnyaneshkulkarni2458 2 месяца назад
Best Tutorial for Appium 😍😍
@aceautomationacademy6926
@aceautomationacademy6926 2 месяца назад
Glad you liked it
Далее
Bearwolf - GODZILLA Пародия Beatrise
00:33
Просмотров 140 тыс.
Automating Instagram using Appium with python
23:42
Просмотров 23 тыс.
The Complete App Development Roadmap [2024]
7:52
Просмотров 236 тыс.
Appium Setup On Windows Platform | 2024 Latest Setup
50:05
Setup appium for iOS Real Device and Simulator
17:20
Просмотров 20 тыс.
Mobile Automation Testing using WebdriverIO
1:29:15
Просмотров 35 тыс.
Flutter Engage
3:58:21
Просмотров 1,8 млн
Bearwolf - GODZILLA Пародия Beatrise
00:33
Просмотров 140 тыс.