How to inspect android app and get id of elements with uiautomatorviewer

Android sdk comes with few very useful tools. One of them is uiautomatorviewer that can be used to inspect your android app and to find properties of the app elements like id,text,etc The android uiautomatorviewer is located at $> $ANDROID_HOME/tools/bin/uiautomatorviewer How to use uiautomatorviewer: Open the app in your mobile device Open uiautomatorviewer in your terminal with …

More

Appium Error : WebDriverException: Message: An unknown server-side error occurred while processing the command. Original error: Could not find adb Please set the ANDROID_HOME environment variable with the Android SDK root directory path

This Appium error is sometimes misleading. Here is how I fixed this error. Check if Path variables are present Check if the $ANDROID_HOME and$ JAVA_HOME path variables are set. Also check if the path variables are added to the $PATH. You can add these variables by adding these lines to your ~/.bashrc file: export ANDROID_HOME=~/Android/Sdk …

More

How to install Appium in Ubuntu

This is a small post that provides you the information on installing Appium on Ubuntu. Steps to install Appium Install dependencies required by Appium Run the below command on your Terminal sudo apt-get install build-essential \ curl git m4 ruby texinfo libbz2-dev \ libcurl4-openssl-dev libexpat-dev libncurses-dev zlib1g-dev Install linuxbrew Linuxbrew is required to install Node.we …

More