mirror of
https://github.com/mosip/inji-wallet.git
synced 2026-01-09 05:27:57 -05:00
* MOSIP-38135 Signed-off-by: Anup Nehe <anup.nehe@technoforte.co.in> * resolve conflicts Signed-off-by: Anup Nehe <anup.nehe@technoforte.co.in> * MOSIP-38135 Signed-off-by: Anup Nehe <anup.nehe@technoforte.co.in> * INJIMOB-2722 Signed-off-by: Anup Nehe <anup.nehe@technoforte.co.in> * MOSIP-39578 Signed-off-by: Anup Nehe <anup.nehe@technoforte.co.in> * MOSIP-39578 Signed-off-by: Anup Nehe <anup.nehe@technoforte.co.in> * MOSIP-39578 Signed-off-by: Anup Nehe <anup.nehe@technoforte.co.in> * MOSIP-39578 Signed-off-by: Anup Nehe <anup.nehe@technoforte.co.in> * Update iosRegression.xml Signed-off-by: anup-nehe <anup.nehe@technoforte.co.in> --------- 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.