Automation
Auto install application from Playstore with Appium
There are quite number of times when you want to install an application from Playstore automatically. Here is the simple guideline for how to do that with Appium.

The example scenario we will be doing is to install CocCoc browser application from Playstore. We would need the following things to get along
- Python3
- Appium
- Venv
- Pytest
- Pycharm (or any IDE / Code Editor)
- Android SDK
Android SDK
We need to install Android SDK, so that we can connect and access to Android devices. Also, with uiautomatorviewer from Android SDK, we can inspect element in the running application in Android devices.
To open uiautomator viewer, we will need to add PATH to Android SDK location. After that, simply run this
uiautomatorviewer
Then UIAutomator viewer will be opened up and we can inspect element by simply clicking on the element in the UI.

Find and tap on element with Appium
We will interact with elements by Appium , structured in Page Object Models for better readability and maintenance.
- Playstore locators