Skip to content

Latest commit

 

History

History
39 lines (29 loc) · 991 Bytes

README.md

File metadata and controls

39 lines (29 loc) · 991 Bytes

Accessibility Service and UI Automator

This is a sample project to demonstrate how to use Accessibility Service and UI Automator to automate UI testing.

Team Members

  1. Pradhaan
  2. Hardik
  3. Karan
  4. Shreya

Tech Stack

  • Android Studio
  • Java
  • UI Automator
  • Accessibility Service

How to run the project

Running the Accessibility Service

  • Open the project in Android Studio
  • Build the project
  • Go to MyAccessibilityService.java
  • Run the project on a device or emulator
  • Click on the Button labelled as Button
  • Start the Accessibility Service
  • Open, close and switch between apps to see the logs in the Logcat

Running the UI Automator

  • Open the project in Android Studio
  • Build the project
  • Go to ExampleInstrumentedTest.java
  • Right click on the file and select Run ExampleInstrumentedTest