MCPcopy Index your code
hub / github.com/dipjyotimetia/MobileTestFramework

github.com/dipjyotimetia/MobileTestFramework @v1.5.6

Chat with this repo
repository ↗ · DeepWiki ↗ · release v1.5.6 ↗ · + Follow
231 symbols 472 edges 33 files 150 documented · 65%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Mobile Test Framework

Codacy Badge CI
Testing Powered By SauceLabs

Full-fledged Mobile, API and Database framework using appium and rest-assured

Supported Platforms

Appium supports app automation across a variety of platforms, like iOS,Android, from any platform. Each platform is supported by one or more "drivers", which know how to automate that particular platform. Choose a driver below for specific information about how that driver works and how to set it up:

Why Appium?

  • Appium is an Open source automation tool used for cross platform testing like native, hybrid and web applications on both the platforms IOS and Android. Its capability for testing all kinds of tools under one platform, makes it a multipurpose and convenient testing tool.Appium is called as a cross platform testing tool because it uses JSON wire protocol internally to interact with native apps of IOS and Android using Selenium Webdriver.

Setup & Tools

  * JAVA_HOME: Pointing to the Java SDK folder\bin
  * GRADLE_HOME: Pointing to Gradle directory\bin.
  * ALLURE_HOME: Pointing to allure directory\bin.
  * APPIUM_HOME: Pointing appium main.js from global location.
  * NODE_HOME: Pointing nodejs installation.
  • For more details navigate to the above Wiki Page

Connect - Local Devices:

Connect an Android and an iOS Device using a USB cable to your PC

  • Follow documentation for device connection

Getting Started

$ git clone 
$ cd 
$ import project from intelij as a gradle project
$ gradle clean
$ gradle build
$ gradle task E2E
$ gradle allureReport
$ gradle allureServe

Write your first user journey

Create new class and name as the TC00_E2E_TEST-**

  • Provide jira link in @Link
  • Provide all the api components as @Feature
  • Provide test severity and description
  • Write test
  • Use CatchBlock in try/catch section

Android Execution

browserstack

iOS Execution

browserstack

Extension points exported contracts — how you extend this code

Constants (Interface)
@author Dipjyoti Metia [2 implementers]
src/main/java/com/core/Constants.java
Access (Interface)
@author Dipjyoti Metia [1 implementers]
src/main/java/com/core/Access.java

Core symbols most depended-on inside this repo

command
called by 26
src/main/java/com/core/ADB.java
click
called by 8
src/main/java/com/core/UserActions.java
log
called by 7
src/main/java/com/core/ApiActions.java
_createService
called by 5
src/main/java/com/core/AppiumController.java
fluentWait
called by 5
src/main/java/com/core/UserActions.java
httpRequest
called by 4
src/main/java/com/core/ApiActions.java
getDriver
called by 3
src/main/java/com/core/AppiumController.java
_androidCapabilities
called by 3
src/main/java/com/core/AppiumController.java

Shape

Method 195
Class 30
Enum 4
Interface 2

Languages

Java100%

Modules by API surface

src/main/java/com/core/UserActions.java58 symbols
src/main/java/com/core/ADB.java34 symbols
src/main/java/com/core/ApiActions.java24 symbols
src/main/java/com/core/AppiumController.java13 symbols
src/test/java/com/MockServiceLayer/WireMock.java11 symbols
src/main/java/com/reporting/Listeners/TestListener.java10 symbols
src/test/java/com/MockServiceLayer/TC001_MockService.java9 symbols
src/main/java/com/core/ServerManager.java9 symbols
src/main/java/com/utils/FileSystem.java6 symbols
src/main/java/com/core/DataActions.java6 symbols
src/main/java/com/pages/HomePage.java5 symbols
src/main/java/com/reporting/ExtentReports/ExtentTestManager.java4 symbols

For agents

$ claude mcp add MobileTestFramework \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page