2 | Appium Step by Step | Complete Setup for Android Mobile Testing without using Android Studio

  Рет қаралды 6,682

Automation Step by Step

Automation Step by Step

Күн бұрын

Topics:
00:00 Intro
01:12 What we will learn
03:23 Check missing dependencies on the system
08:59 Setup Java JDK
13:21 Windows - Set Java env variables
17:18 Mac OS - Set Java env variables
24:58 Install Appium android drivers
30:04 Setting up Android SDK Tools
30:48 Option 1 : Download and setup only the required tools without using Android Studio
32:49 Windows - Download cmdline-tools and set ANDROID_HOME and Path Env variables
41:50 Mac OS - Download cmdline-tools and set ANDROID_HOME and Path Env variables
46:06 Windows - Setup platform-tools and build-tools
Correction - the path of ANDROID_HOME should only be upto the folder having cmdline-tools and not till cmdline-tools. This is corrected here 53:53
55:39 Mac OS - Setup platform-tools and build-tools
01:00:20 Command for setting up Emulator
01:04:05 Outro
Document - docs.google.com/document/d/e/...
All Parts - • Appium 2 Beginner Tuto...
All Free Tutorials 🟢 AutomationStepByStep.com/
▬▬▬▬▬▬▬
Share with all who may need this
If my work has helped you, consider helping any animal near you, in any way you can
Never Stop Learning
Raghav Pal
---

Пікірлер: 37
@marwanm8942
@marwanm8942 2 ай бұрын
you are always a rock Raghav with a high-quality tutorial 👍
@RaghavPal
@RaghavPal 2 ай бұрын
Thank you so much Marwan
@jallaboomesh
@jallaboomesh 2 ай бұрын
Hi Raghav, Really good explanation. Thank you very much 🙂
@RaghavPal
@RaghavPal 2 ай бұрын
You're most welcome Srinivas
@PDhakad4
@PDhakad4 3 ай бұрын
Hi boss thank you for video
@RaghavPal
@RaghavPal 3 ай бұрын
Most welcome
@nitinjawale1624
@nitinjawale1624 3 ай бұрын
Sir waiting for the next video and please make a complete session for mobile automation testing.
@RaghavPal
@RaghavPal 3 ай бұрын
Coming soon Nitin... keep learning
@nitinjawale1624
@nitinjawale1624 3 ай бұрын
@@RaghavPal Thank you sir
@essoapp
@essoapp 2 ай бұрын
please upload the next , next episodes on the next day , please try to complete this tutorial soon
@RaghavPal
@RaghavPal 2 ай бұрын
I will try
@user-fw9pg9lu2i
@user-fw9pg9lu2i 2 ай бұрын
I have installed Appium apps that version - 1.15.1 But not visible in cmd, showing an error - 'appium' is not recognized as an internal or external command, operable program or batch file.
@RaghavPal
@RaghavPal 2 ай бұрын
Navneet The error message "'appium' is not recognized as an internal or external command, operable program or batch file" indicates that the system cannot find the "appium" command in the current environment. This typically happens when Appium is either not installed or not added to the system's PATH variable. Let's troubleshoot this issue step by step: 1. Check Appium Installation: - First, ensure that you have correctly installed Appium. If not, download and install it from the official website. - Make sure you've followed the installation instructions for your operating system. 2. Add Appium to PATH: - The PATH environment variable contains a list of directories where the system looks for executable files. - To add Appium to the PATH: - Open the System Properties (you can search for it in the Start menu). - Go to the Advanced tab and click on the Environment Variables button. - In the System Variables section, find the Path variable and click Edit. - Add the path to the directory where Appium is installed (e.g., `C:\Program Files odejs`) to the list of paths. Separate multiple paths with semicolons. - Click OK to save the changes. - Restart your command prompt or terminal for the changes to take effect. 3. Verify Installation: - Open a new command prompt or terminal window. - Type `appium --version` and press Enter. - If you see the version number (e.g., "1.15.1"), then Appium is correctly installed and added to the PATH. 4. Check Node.js Installation: - Appium relies on Node.js. Ensure that Node.js is installed and also added to the PATH. - You can download Node.js from the official website and follow the installation instructions. 5. Restart Command Prompt or Terminal: - Sometimes, changes to the PATH variable require restarting the command prompt or terminal. - Close any existing command prompt or terminal windows and open a new one. 6. Check for Typos: - Double-check that you're typing the command correctly. It should be `appium`, not `Appium` or any other variation. 7. Reinstall Appium (if necessary): - If none of the above steps work, consider uninstalling and reinstalling Appium. - Make sure to follow the installation instructions carefully. Remember to verify each step
@STD2580
@STD2580 2 ай бұрын
Hi Raghav, on mac machine, i had set the android_home and saved it and then android_home is not detected in terminal
@RaghavPal
@RaghavPal 2 ай бұрын
Sudheer did you add the variables in the env file and saved it. Check the names and paths again. Also after this try to check on a new terminal window. If you still face issues, send me your steps
@amankrshah07
@amankrshah07 Ай бұрын
Hi Ragav, Thank you for the awesome video. I'm encountering an error and could use your help: " C:\Users\sabhyata>sdkmanager --list 'sdkmanager' is not recognized as an internal or external command, operable program or batch file." I've followed all the previous steps. Can you please let me know how to fix this? Thanks
@amankrshah07
@amankrshah07 Ай бұрын
also i have tried the bellow step Microsoft Windows [Version 10.0.22631.3672] (c) Microsoft Corporation. All rights reserved. E:\android\cmdline-tools\latest\bin>sdkmanager --list Error: LinkageError occurred while loading main class com.android.sdklib.tool.sdkmanager.SdkManagerCli java.lang.UnsupportedClassVersionError: com/android/sdklib/tool/sdkmanager/SdkManagerCli has been compiled by a more recent version of the Java Runtime (class file version 61.0), this version of the Java Runtime only recognizes class file versions up to 60.0 E:\android\cmdline-tools\latest\bin>
@RaghavPal
@RaghavPal Ай бұрын
Aman It seems you're encountering a couple of issues related to the Android SDK and `sdkmanager`. Let's address them step by step: 1. 'sdkmanager' is not recognized as an internal or external command: - This error occurs when the system cannot find the `sdkmanager` executable in your system's PATH. - To fix this, you need to add the correct path to the Android SDK tools directory to your system's environment variables. - Follow these steps: - Right-click on "My Computer" (or "This PC") and select "Properties." - Click on "Advanced system settings." - In the "Advanced" tab, click on the "Environment Variables" button. - Under "System variables," find the "Path" variable and click "Edit." - Add the path to your Android SDK tools directory (usually something like `C:\Users\\AppData\Local\Android\sdk\tools\bin`). - Make sure to separate multiple paths with semicolons. - Click "OK" to save the changes. - Open a new Command Prompt window and try running `sdkmanager --list` again. 2. Java Runtime Version Error: - The second error indicates that the `SdkManagerCli` class has been compiled with a newer version of Java than the one installed on your system. - You'll need to ensure that you have the correct Java version installed. - Follow these steps: - Make sure you have the latest JDK (Java Development Kit) installed on your system. - Set the `JAVA_HOME` environment variable to point to the JDK installation directory. - Update your system's PATH variable to include the `bin` directory of the JDK. - Restart your Command Prompt and try running `sdkmanager --list` again. Remember to replace `` with your actual Windows username --
@fathimanazra1279
@fathimanazra1279 3 ай бұрын
hi sir which is better downloading android studio or SDK tools only ?
@RaghavPal
@RaghavPal 3 ай бұрын
Android Studio is a complete platform for android development. So if you only want to setup Android env for testing, can go with SDK tools only. In the next video i will also cover how to create Emulators without using Android Studio and with both
@sreeni417
@sreeni417 2 ай бұрын
Hi Raghav, Can you please make a Playlist on Playwright with Typescript and cucumber BDD framework.
@RaghavPal
@RaghavPal 2 ай бұрын
I will plan Sreeni
@GracyIma
@GracyIma 3 ай бұрын
Sir please kindly complete it thank you
@RaghavPal
@RaghavPal 3 ай бұрын
Yes Grace.. in the process
@potify3315
@potify3315 2 ай бұрын
Hi teacher, the teaching was really great, but I did not find how to fix the error ✖ android could NOT be found in C:\android!
@RaghavPal
@RaghavPal 2 ай бұрын
I believe it is due to ANDROID_HOME env variables is either not set or the path is not proper. Please check with the video again
@awpshko
@awpshko 10 күн бұрын
There is one thing has been confusing me for 2 days: appium-doctor. In your previous video and part 2 doc-file you mention "npm install -g appium-doctor" which was released 2 years ago. But in the reality you use @appium/doctor (npm i -g @appium/doctor). Both use "appium-doctor" command but 1 fails checking installation and PATHs for "--android". It will be great if you could update the doc file with this info.
@RaghavPal
@RaghavPal 9 күн бұрын
Sergei Let's break down the issue step by step: Step 1: Identify the difference between the two installations The main difference between the two installations is the package name: * `appium-doctor` (old package) * `@appium/doctor` (new package) The `@` symbol in the new package name indicates that it's a scoped package, which is a way to namespace packages in npm. Step 2: Investigate the behavior of both installations The user reports that both installations allow them to use the `appium-doctor` command. However, the old installation (`appium-doctor`) fails to check the installation and PATHs for the `--android` option. Step 3: Determine the correct installation method Based on the user's experience, it seems that the correct installation method is `npm i -g @appium/doctor`. This is likely the recommended installation method by the Appium team, as it's the one that works correctly with the `--android` option. Step 4: Update the documentation As requested by the user, the documentation should be updated to reflect the correct installation method. The old article should be updated to remove the reference to `npm install -g appium-doctor` and instead recommend `npm i -g @appium/doctor`. Conclusion The correct installation method for `appium-doctor` is `npm i -g @appium/doctor`. The old package `appium-doctor` is likely deprecated and should not be used -
1 | Appium Step by Step | Basic Setup on Windows and Mac OS
35:26
Automation Step by Step
Рет қаралды 12 М.
Became invisible for one day!  #funny #wednesday #memes
00:25
Watch Me
Рет қаралды 60 МЛН
100❤️
00:19
MY💝No War🤝
Рет қаралды 24 МЛН
39kgのガリガリが踊る絵文字ダンス/39kg boney emoji dance#dance #ダンス #にんげんっていいな
00:16
💀Skeleton Ninja🥷【にんげんっていいなチャンネル】
Рет қаралды 8 МЛН
Appium Setup On Windows Platform | 2024 Latest Setup
50:05
AUTOMATION WITH PRIYANKA
Рет қаралды 7 М.
Do yourself a favor; learn Order Flow.
20:19
Arjo
Рет қаралды 2,4 М.
How To Price For B2B | Startup School
17:46
Y Combinator
Рет қаралды 24 М.
Selenium will stop supporting Java 8 on September 30, 2023
10:25
Naveen AutomationLabs
Рет қаралды 22 М.
MOBILE Automation TESTING with APPIUM + WEBDRIVER.IO (ANDROID)
1:00:27
Became invisible for one day!  #funny #wednesday #memes
00:25
Watch Me
Рет қаралды 60 МЛН