This script allows you automate bonus gathering in android application Мой life:).
-
You must be a customer of a belarussian mobile operator Life.
-
Linux as OS.
-
Instead of last 2 requirements you may simply launch Android Emulator in Docker.
- credentials
login
andpassword
shoud contained your phone number and password you use to login in android application Мой life:). - appium_server
host
andport
should contained host and port from Appium Server. - telnet_token
To get token you need to connect to running android emulator manually (instructions). - emulator
host
by default islocalhost
or127.0.0.1
. To getport
you should enter the follow with running emulator:The output will be likeadb devices
emulator-5554
. The numbers defineport
. In this exampleport
is5554
. - apk_path
If you're using docker-android provide the url of apk file (example) or push apk to docker's container and provide this path.
In case you don't use docker just leave this parameter empty.
Note: in docker's case you should note configure Appium. To configure Appium Server just follow the instruction.