Professional Documents
Culture Documents
Automation
2. ## Eclipse Downloads
https://www.eclipse.org/downloads/
**_NOTE:_**
We can also set up android SDK without android studio https://proandroiddev.com/how-to-setup-
android-sdk-without-android-studio-6d60d0f2812a
4. ## NodeJs
https://nodejs.org/en/download/
6. Install Appium Doctor and check if All the set up working fine or not.
Execute the following commands on the command prompt
1. Install npm Package Tool (https://nodejs.org/en/download/)
2. npm install appium-doctor –g (Installation)
3. appium-doctor –android
No Errors should be displayed in the command prompt after executing the
above command.
Mac Machine Installation:
- Create the bash_profile file if not exists- https://redfinsolutions.com/blog/creating-bashprofile-
your-mac
- Open the file ~/.bash_profile using any editor example nano ~/.bash_profile and add the
environment variables.
export JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk_folder/Contents/Home
export ANDROID_HOME=/Users/<username>/Library/Android/sdk
export PATH=$/Library/Java/JavaVirtualMachines/jdk_folder/Contents/Home/
bin:$PATH
export PATH="/Users/ <username> /Library/Android/sdk/platform-tools":$PATH
## Enable virtualization
Needed only for android emulator (windows):
- https://mashtips.com/enable-virtualization-windows-10/
## Appium Inspector App (only for appium 1.22 onwards - not to be used for this workshop)
https://github.com/appium/appium-inspector/releases
## Extract package name and activity name from the android app:
Command - adb shell “dumpsys activity activities | grep mResumedActivity”
Sample output:
mResumedActivity: ActivityRecord{f01a302 u0
com.ravendmaster.linearmqttdashboard/.activity.MainActivity t44804}