Appium Tutorial 4: How to setup Appium on Mac for Android | Real Device | Emulator

  Рет қаралды 22,190

askomdch

askomdch

Күн бұрын

Пікірлер
@askomdch
@askomdch 5 жыл бұрын
Hi guys, the bash profile changes we did in step 6 will be temporary if you are on Mac OS Catalina [The latest version]. This is because Mac OS Catalina is using "zsh" instead of "bash". So if you exit the terminal and re-open it, the changes will not apply. To resolve this temporarily, you will need to execute the command "source .bash_profile" every time you open the terminal. To apply this change permanently, you can follow one of the below two options: Option 1: If you don't want to change your .bash_profile, all you need to do is to create a .zprofile file in your home directory and then add this command "source .bash_profile" to it. With this, whenever the terminal is launched, the OS will load the .zprofile file (since Apple moved from bash to zsh in Catalina OS) which will in turn source the bash profile file. Option 2: Just create a .zprofile file in your home directory and then copy all the content we added to .bash_profile file to this file. After this, the next time you launch the terminal, the changes will be automatically applied. Let me know if you face any issues even after following these steps
@praveenjaiswal6285
@praveenjaiswal6285 3 жыл бұрын
I am getting this error though I have tried both the points mentioned: An unknown server-side error occurred while processing the command. Original error: Neither ANDROID_HOME nor ANDROID_SDK_ROOT environment variable was exported. Read developer.android.com/studio/command-line/variables for more details ----------------------------------------------------------------------------- I am getting jave and andoid path by echo cmd: praveenjaiswal@admins-MacBook-Air ~ % echo $ANDROID_HOME /Users/praveenjaiswal/Library/Android/sdk praveenjaiswal@admins-MacBook-Air ~ % echo $JAVA_HOME /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home praveenjaiswal@admins-MacBook-Air ~ % Could you please help me with this?
@RajuRV-jl8qm
@RajuRV-jl8qm 2 жыл бұрын
Thank you so so so so much I have tired of getting the solution doing the appium setup in mac, and at last, got a solution from you, will be learning appium automation stuff from your videos
@sumodshirote4748
@sumodshirote4748 3 жыл бұрын
why didnt i found you before ... Your awesome.. thank you so much ... you saved me...
@igorbober8343
@igorbober8343 2 жыл бұрын
Hello! I have a question about installation of Appium. Unfortunately I can't catch your phrase when you are talking about it. So, if I used: brew install node, I got installed nod and npm. In this case I have to install via NPM or via desktop client? Thank You!
@Mashy4chelsea
@Mashy4chelsea 8 ай бұрын
How to start appium without updating bash profile? (appium command line version installed)
@sathisha4456
@sathisha4456 3 жыл бұрын
How to get AppPackage and AppActivity for another testing android app using simulator.
@christianwestermann38
@christianwestermann38 3 жыл бұрын
How do i open Chrome and scrape the first page it opens (discover feed)? I am lost. Please could you push me into the right direction?
@jiteshkumar6345
@jiteshkumar6345 4 жыл бұрын
Hi Om, in my System npm and node both are installed but when i entered command where npm it shows command not found. Please help me to solve this isue
@Kumar2k12
@Kumar2k12 11 ай бұрын
Please give the link to your notes on Notepad
@jaswantdhayal1305
@jaswantdhayal1305 4 жыл бұрын
What an explanation boss, Thanks a ton. Keep it up !
@askomdch
@askomdch 4 жыл бұрын
Thank you
@ayushgarg4327
@ayushgarg4327 4 жыл бұрын
You are Just Awesome. Thank you!
@askomdch
@askomdch 4 жыл бұрын
Thank you
@ankushsingh7161
@ankushsingh7161 4 жыл бұрын
Hi Om, I have added the correct location for Android_home in Appium while restarting, yet I am getting the below error. please help: An unknown server-side error occurred while processing the command. Original error: The JAVA_HOME environment variable must be set for Android Tools to work properly
@namitakulkarni7020
@namitakulkarni7020 4 жыл бұрын
Hello Omprakash, Its excellent video, the setup worked exactly same as per the video. Thanks you so much for this video this helped me a lot..Also please let me know if there are any video for setting up the framework and start automating any app. Thanks, Namita
@askomdch
@askomdch 4 жыл бұрын
Here's the complete playlist: kzbin.info/aero/PLIuQPt4XLm7CVoAGEwDLe_7Oc6LSyF1C9
@namitakulkarni7020
@namitakulkarni7020 4 жыл бұрын
@@askomdch Excellent Thanks Om!!!
@slflorax5718
@slflorax5718 4 жыл бұрын
Hi Om, Can you please make a video on how to upload images into native app, Thanks.
@askomdch
@askomdch 4 жыл бұрын
Will do. Thank you.
@vaishalidesarda7470
@vaishalidesarda7470 5 жыл бұрын
Encountered internal error running command: Error executing adbExec. Original error: 'Command '/Users/blablabla/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell pm install /data/local/tmp/appium_cache/6d0e9823805a8ef231cf59ca1d0a611142f7af46.apk' exited with code 1'; Stderr: ''; Code: '1' It ends up in the error above.
@askomdch
@askomdch 5 жыл бұрын
Please share the desired capabilities. Looks like ADB is not able to install the app, may be due to incorrect appPackage or appActivity or app file path.
@sangshen8
@sangshen8 4 жыл бұрын
Thank you so much for this detailed & crystal-clear tutorial! Everything worked except that I'm not able to launch emulator. I get the AVD Manager popup with this error message: "The emulator process for AVD was killed." When I try to launch via command-line (./emulator -avd ) I get this error: "PANIC: Missing emulator engine program for 'x86' CPU." I confirmed that all necessary dependencies were selected in SDK Manager. Despite that I'm facing this issue.
@denverdanny3381
@denverdanny3381 3 жыл бұрын
I guess Im randomly asking but does anybody know of a tool to get back into an Instagram account? I somehow forgot the account password. I love any assistance you can offer me
@remycanaan3168
@remycanaan3168 3 жыл бұрын
@Denver Danny instablaster ;)
@denverdanny3381
@denverdanny3381 3 жыл бұрын
@Remy Canaan i really appreciate your reply. I got to the site thru google and Im in the hacking process atm. Looks like it's gonna take a while so I will reply here later when my account password hopefully is recovered.
@denverdanny3381
@denverdanny3381 3 жыл бұрын
@Remy Canaan it worked and I actually got access to my account again. I'm so happy:D Thanks so much, you saved my ass :D
@remycanaan3168
@remycanaan3168 3 жыл бұрын
@Denver Danny Happy to help :)
@ayushgarg4327
@ayushgarg4327 4 жыл бұрын
where appium command does not shown where appium is installed.. But when I enter appium -v and appium.. It works. Can you please tell me why "where appium" is not working?
@askomdch
@askomdch 4 жыл бұрын
Hmm ok may be you can try "which appium". Also for "where appium", make sure all alphabets are in small cap.
@ayushgarg4327
@ayushgarg4327 4 жыл бұрын
Thanks a lot. You are seriously Awesome. which appium works 🙏🙏🙏🙏🙏🙏
@PraveenCherukuri
@PraveenCherukuri 4 жыл бұрын
Hi Om, Thanks for the very detailed explanation of how to setup. When I attempt launching the app, I get the following error. Unable to debug the details. Can you please help me understand this please. Error: An unknown server-side error occurred while processing the command. Original error: The instrumentation process cannot be initialized. Make sure the application under test does not crash and investigate the logcat output.
@askomdch
@askomdch 4 жыл бұрын
Check if Play Protect is scanning your app. It's the setting in the Play Store and you might want to turn it off for your app.
@corejavaforeveryone8858
@corejavaforeveryone8858 4 жыл бұрын
Hi OM, The following should be installed or not in order to appium setup in MAC or we can ignore any one of the and why Homebrew Carthage Node & NPM JDK Xcode authorize-ios ios-deploy ideviceinstaller ios_webkit_debug_proxy Appium Appium Doctor Maven Eclipse TestNg
@askomdch
@askomdch 4 жыл бұрын
All the tools mentioned in the video is all that is required to start with Appium for iOS automation. Do not worry about anything else.
@corejavaforeveryone8858
@corejavaforeveryone8858 4 жыл бұрын
However the interviewer asked about this all and I am not able to answer , they also asked more questions about npm uninstall with all appium session
@askomdch
@askomdch 4 жыл бұрын
@@corejavaforeveryone8858 Ok, if you have worked with Appium, you should be able to answer most of these questions. I have covered all these topics in my videos, except for authorize-ios, ideviceinstaller and ios_webkit_debug_proxy. I suggest you go through all the videos and learn Appium, so you don't have to look out for these answers. Also, the interviewer seems not up to date. -> authorize-ios is deprecated. For Appium, it is not required to be installed anymore. -> ideviceinstaller is used internally by Appium to install the application on the device. Again, we don't have to install it seperately. -> ios_webkit_debug_proxy is also not used by Appium anymore. Appium uses appium-ios-device. Also I don't think it makes sense to ask about these utilities in the interview. These are not used everyday while doing automation with Appium. Yes it is good to have knowledge about these.
@kannansubbu9078
@kannansubbu9078 3 жыл бұрын
You are simply great!
@ashishkainth6966
@ashishkainth6966 4 жыл бұрын
Hi Om I followed your video and its really helpful to me. I am getting following error when I click on Start Session An unknown server-side error occurred while processing the command. Original error: The JAVA_HOME environment variable must be set for Android Tools to work properly Looking forward to your prompt reply.
@askomdch
@askomdch 4 жыл бұрын
Please set the path using "Edit Configurations" option that shows up while launching Appium desktop. This is a known issue with iOS.
@wendanjiang3953
@wendanjiang3953 4 жыл бұрын
Thanks a lot! This video really helped me a lot!
@dhivagarajith2807
@dhivagarajith2807 5 жыл бұрын
What is emulator and simulator ...? What's the difference .?
@askomdch
@askomdch 5 жыл бұрын
Emulator is for Android. Using that you create a virtual Android device. Simulator is for iOS. Using that you create a virtual iOS device. These are Android and iOS specific things to create virtuals phones for testing and development purposes
@Samadhi99-h1j
@Samadhi99-h1j 4 жыл бұрын
Thanks a lot!! This works fine!!
@rameshwarjadhav
@rameshwarjadhav 4 жыл бұрын
Thanks again, Om
@AA-en5ok
@AA-en5ok 2 жыл бұрын
Page Object Model (POM) Design with Appium - Part 1
40:52
askomdch
Рет қаралды 17 М.
人是不能做到吗?#火影忍者 #家人  #佐助
00:20
火影忍者一家
Рет қаралды 20 МЛН
99.9% IMPOSSIBLE
00:24
STORROR
Рет қаралды 31 МЛН
Quilt Challenge, No Skills, Just Luck#Funnyfamily #Partygames #Funny
00:32
Family Games Media
Рет қаралды 55 МЛН
Cat mode and a glass of water #family #humor #fun
00:22
Kotiki_Z
Рет қаралды 42 МЛН
Mobile Automation Testing using WebdriverIO
1:29:15
SDET Unicorns by Dilpreet Johal
Рет қаралды 37 М.
MOBILE Automation TESTING with APPIUM + WEBDRIVER.IO (ANDROID)
1:00:27
Appium Automation Framework from scratch | Java | Maven | TestNG
47:43
Automation Step by Step
Рет қаралды 231 М.
Microservices explained - the What, Why and How?
18:30
TechWorld with Nana
Рет қаралды 902 М.
人是不能做到吗?#火影忍者 #家人  #佐助
00:20
火影忍者一家
Рет қаралды 20 МЛН