Files
anup-nehe 21383c3c93 MOSIP-42477 added new testcases for android (#2034)
* MOSIP-41601

Signed-off-by: Anup Nehe <anup.nehe@technoforte.co.in>

* INJIMOB-2974

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-41639

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>

* resolve conflicts

Signed-off-by: Anup Nehe <anup.nehe@technoforte.co.in>

* MOSIP-41639

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>

---------

Signed-off-by: Anup Nehe <anup.nehe@technoforte.co.in>
2025-07-29 13:04:55 +05:30
..
2024-06-19 20:03:17 +05:30
2024-07-12 07:41:54 +05:30
2024-07-26 15:59:56 +05:30
2024-11-25 12:06:47 +05:30

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.

Pre-requisites

Ensure the following software is installed on the machine from where the automation tests will be executed:

  1. The project requires JDK 21

Configurations

  1. update resourec/uin.json,resourec/Vid.json,resourec/aid.json file as per the uin and vids being used.
  2. Update utils/TestDataReader to include updates for FullName, uin, idType, gender, phoneNumber, dateOfBirth, and externalEmail as they are used during creation.

BrowserStack

  1. singup to browserStack & get the userName and accessKey from home page on browserStack.
  2. Upload app on browserStack it will return 'bs://', update the same appid in iosConfig.yml/androidconfig.yml.
  3. update the userName and accessKey from iosConfig.yml/androidconfig.yml.
  4. update the device from tag platforms from https://www.browserstack.com/list-of-browsers-and-platforms/automate (Windows, Mac).
  5. Open command prompt and change directory by using command 'cd ../injitest'.
  6. Hit the command mvn clean test -DtestngXmlFile=androidSanity.xml -Dbrowserstack.config="androidConfig.yml", for running the sanity for android.
  7. Hit the command mvn clean test -DtestngXmlFile=iosSanity.xml -Dbrowserstack.config="iosConfig.yml", for running the sanity for ios.
  8. Hit the command mvn clean test -DtestngXmlFile=iosRegression.xml -Dbrowserstack.config="iosConfig.yml", for running the regression for ios.
  9. Hit the command mvn clean test -DtestngXmlFile=androidRegression.xml -Dbrowserstack.config="androidConfig.yml", for running the Regression for android.

Reports

Test reports will be available in the test-output>>emailableReports directory after test execution.