- This is an automation script for creating SHG Data for Lok-OS Training Android Application.
- This is made using Appium Testing Framework.
- The request data for the Application is as follows 'JSON Data'
- The final report and findings are as follows 'Final Report'
- Android Framework
- Appium Automation Framework
- Appium Inspector
- Charles Proxy and MITM Proxy for Packet Analysis
- First clone this repository
- Now install
Node.js
, if not already installed. - Now open terminal and run the following command
npm install -g appium
- Install
Intellij Idea
, if not already installed. - Now open the cloned repository with Intellij Idea.
- Open pom.xml file and resolve all dependencies with following button
- Download this
Zip File
- Unzip this file in
C:\Program Files\Platform Tools
- Now add this folder to
Path
inEnvironmental Variables
(for windows). - With this ADB is installed on the system and accesible via the Terminal.
- First enable
Developer Options
on your Android Device. This process might be different for differentOEM's
- Now enable
USB Debugging
from Developer Options. Install via USB
andUSB debugging (Security Settings)
also need to be enable on certainOEM's
likeXiaomi
.
- Install
LokOS-traning
application from playstore. - Login with your credentials.
- Set the login PIN to
1234
- Connect the device to PC via USB or over
WiFi
- Now just open
LokOS_Automation
file and run it.
- Now just enter the number of SHG's to be created along with number of members in each SHG and let the magic happen.
The above script relies on UI elements for simulating the input.
It works perfectly fine on Xiaomi Devices and Samsung Devices(refer to Line 254
in LokOS_Automation File).
However it can be tweaked to work with any OEM's device with very minor
changes in 2-3 Lines. You can contact me in case you want to get it tweaked
for your OEM, or you can use Appium Inspector to identify the UI component yourself.