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.
To set up Appium for use with this framework, please follow the installation instructions provided in the Appium documentation.
- Build the JAR file:
mvn clean package -DskipTests=true
- The JAR file will be generated in the
target
directory. - For running tests on Device Farm, use the JAR file with dependencies (
zip-with-dependencies
).
- Update
Config>>kernal.properties
to modify the environment settings. - Update the following keys in
src/main/java>>inji.utils>>TestDataReader.java
:uin
uin2
aid
for environment changes.
- Update
Config>>config.properties
with the following values:nodePath
appiumServerExecutable
- Update
Config>>DesiredCapabilies.json
with the following keys:appium:udid
appium:app
- If the run is on Device Farm, set
isDeviceFarmRun
totrue
. - To run tests in an IDE, set
isDeviceFarmRun
tofalse
and execute thetestng.xml
file.
Test reports will be available in the test-output>>emailableReports
directory after test execution.