mirror of
https://github.com/mosip/inji-wallet.git
synced 2026-01-08 21:18:14 -05:00
* MOSIP-31384 Signed-off-by: Anup Nehe <anup.nehe@technoforte.co.in> * resolve conflict Signed-off-by: Anup Nehe <anup.nehe@technoforte.co.in> * resolve conflict Signed-off-by: Anup Nehe <anup.nehe@technoforte.co.in> * MOSIP-31384 Signed-off-by: Anup Nehe <anup.nehe@technoforte.co.in> * incorprated changes Signed-off-by: Anup Nehe <anup.nehe@technoforte.co.in> * INJIMOB-924 MOSIP-31927 Signed-off-by: Anup Nehe <anup.nehe@technoforte.co.in> * resolve conflicts Signed-off-by: Anup Nehe <anup.nehe@technoforte.co.in> * MOSIP-31384 Signed-off-by: Anup Nehe <anup.nehe@technoforte.co.in> * resolve conflicts Signed-off-by: Anup Nehe <anup.nehe@technoforte.co.in> * resolve conflicts Signed-off-by: Anup Nehe <anup.nehe@technoforte.co.in> * MOSIP-31874 Signed-off-by: Anup Nehe <anup.nehe@technoforte.co.in> * resolve conflicts Signed-off-by: Anup Nehe <anup.nehe@technoforte.co.in> * MOSIP-31384 Signed-off-by: Anup Nehe <anup.nehe@technoforte.co.in> * resolve conflicts Signed-off-by: Anup Nehe <anup.nehe@technoforte.co.in> * resolve conlifcts Signed-off-by: Anup Nehe <anup.nehe@technoforte.co.in> * resolve conflicts Signed-off-by: Anup Nehe <anup.nehe@technoforte.co.in> --------- Signed-off-by: Anup Nehe <anup.nehe@technoforte.co.in>
Inji Automation - Mobile Automation Framework using Appium
Overview
Inji Automation is a mobile automation framework designed for iOS and Android platforms. It automates both positive and negative scenarios to ensure comprehensive testing of mobile applications.
Installation
To set up Appium for use with this framework, please follow the installation instructions provided in the Appium documentation.
Build
- Build the JAR file:
mvn clean package -DskipTests=true - The JAR file will be generated in the
targetdirectory. - For running tests on Device Farm, use the JAR file with dependencies (
zip-with-dependencies).
Configurations
- Update
Config>>kernal.propertiesto modify the environment settings. - Update the following keys in
src/main/java>>inji.utils>>TestDataReader.java:uinuin2aidfor environment changes.
- Update
Config>>config.propertieswith the following values:nodePathappiumServerExecutable
- Update
Config>>DesiredCapabilies.jsonwith the following keys:appium:udidappium:app
- If the run is on Device Farm, set
isDeviceFarmRuntotrue. - To run tests in an IDE, set
isDeviceFarmRuntofalseand execute thetestng.xmlfile.
Reports
Test reports will be available in the test-output>>emailableReports directory after test execution.