Skip to content

This repository hosts a mobile testing framework built with Appium, Java, and TestNG. This framework is designed for automating tests specifically for the ToDoList mobile application on Android devices.

Notifications You must be signed in to change notification settings

nhitokieu-nt/appium-java-testng

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Appium with Java-TestNG Framework

To-do List application


Introduction

This is an automation framework supporting UI mobile testing. It's built on top of the following component

  • Selenium: Automation tool for web applications.
  • TestNG: Test runner for executing tests.
  • Appium: Framework for mobile application automation.

Prerequisites

  1. Java Development Kit (JDK): Java 8 or higher installed.
  2. Appium: Appium 2.x or higher installed
  3. Android Emulator or Real Device: Android Studio or SDK Flatform Tool
  4. Install Allure report commandline

Project Structure

ToDoList/
|- src
   |- main/java/com.todolist
      |- driver
      |- utils                            # Functions for file, random
   |- test
      |- java/com/todolist
         |- constants                        # Constants
         |- models                           # Data models
         |- pageobjects                      # Page object classes
            |- shared                        # Common page classes
         |- tests                            # UI test cases of the application
      |- resources                           # Data (app, config data, test data ..)
         |- app                              # Application file (.apk)
         |- testdata                         # Data file (E.g. Excel, csv, ...)
         |- testsuite                        # Test suite     
         |- appium.properties                # Appium capabilities
|- .gitignore                             # Excluded the unnecessary files in the repo
|- README.md                              # This file          

Getting Started

Clone the repository:

  git clone <repository-url>
  cd <repository-folder>

Install dependencies:

  mvn clean install -DskipTests

Run tests:

  mvn clean test

Allure report:

  allure serve .\allure-results

About

This repository hosts a mobile testing framework built with Appium, Java, and TestNG. This framework is designed for automating tests specifically for the ToDoList mobile application on Android devices.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages