能将对API的调用转化为对手机的操作,软件自身提供 restful API,运行于安卓,一切操作与获取信息均由软件完成。

Related tags

Spring Boot hermit
Overview

文档地址:https://www.lookcos.cn/docs/hermit

Hermit简介

Hermit,是一款用于Android自动化测试的软件,运行于安卓,通过接收restful API请求,进而转化为对设备的操作。
支持快速的点击、滑动、读取与设置剪切板(支持中文)、模拟输入、寻找控件并点击等一系列操作,支持可视化布局分析。
大小不到 3Mib,默认运行端口9999

基于无障碍的功能

  1. 坐标点击
  2. 坐标滑动
  3. 根据控件id的点击(如有多个相同id,可根据次序点击)
  4. 根据控件text的点击(同上,可根据次序点击)
  5. 根据控件content-desc的点击
  6. 查看屏幕截图
  7. 模拟输入功能(支持中文)
  8. 十大全局功能(返回、按下home键、最近任务、显示通知、快速设置、长按电源键、分屏、锁屏、截屏)
  9. 实时获取界面控件详细信息

基于Root的功能

  1. 坐标点击
  2. 坐标滑动
  3. 屏幕截图
  4. 申请并判断root权限
  5. 发送任意keyevent
  6. 长按坐标
  7. 根据包名启动APP

获取设备信息能力

  1. 获取、设置剪切板内容(支持中文)
  2. 设备屏幕长宽
  3. CPU 最大、最小、实时频率
  4. CPU名
  5. 内存总量、可用量
  6. 存储总量、可用量
  7. 所有安装的包名
  8. 设备语言、系统版本号、手机型号、手机厂商

可交互的布局可视化分析功能

类似Android Studio的LayoutInspector,可以分析界面层次和范围、获取界面上的控件信息,进而方便点击、滑动等操作。
可通过鼠标点选控件(详情见布局分析说明),查看对应信息:

  1. bounds (可点击范围)
  2. boundsInParent
  3. checked
  4. class
  5. clickable
  6. package
  7. resource-id (控件id)
  8. scrollable
  9. text (控件文本)
  10. content-desc (控件描述)

screencapture3.png

工作方式

注意:

可能示意图画的略微繁杂了点,简而言之:Hermit在安装并运行之后,会提供HTTP API,通过调用相应的API,进而转化为对手机的操作。因此,可以支持绝大多数语言。正是因为其基于restful API,所以可扩展性大大提升,目前已制作了基于其API的Python模块,使操作的易用性得以提升。

You might also like...

Projeto para consulta de filmes na API data IMDB e construção de playlists.

Projeto para consulta de filmes na API data IMDB e construção de playlists.

Projeto IDP: Filmes API ✍️ API Requirements Must to have Comunicar com uma API externa (desenvolvida pelo colaborador ou por terceiros). Persistir dad

Oct 9, 2022

Spring boot microservice example with Eureka Server + Eureka Client + Spring Cloud API Gateway + OAuth2.0 + Circuit Breaker + Resilience4J + FeignClient + RestTemplate

Spring boot microservice example with Eureka Server + Eureka Client + Spring Cloud API Gateway + OAuth2.0 + Circuit Breaker + Resilience4J + FeignClient + RestTemplate

Spring boot microservice example Spring boot microservice example with Eureka Server + Eureka Client + Spring Cloud API Gateway + OAuth2.0 + Circuit B

Dec 29, 2022

The Quotation Management application is a API REST created using Spring Boot framework.

The Quotation Management application is a API REST  created using Spring Boot framework.

✅ Quotation Management API - Done ✅ About • Features • Setup • Technologies • Author • License 💻 About The Quotation Management application is a API

Apr 29, 2022

Back-End/API de uma aplicação web de agendamento desenvolvida durante o Hackaton do Programa de Formação do Grupo Fcamara

🖥️ Sobre o projeto 📅 Agenda Laranja - é um meio prático e eficiente para programar o dia do trabalho presencial, respeitando as normas de segurança.

Sep 17, 2021

POC showing how to divide endpoint(s) among different Open-API screens

Multiple Open-API groups: Spring boot POC showing how to divide endpoint(s) among different Open-API screens Demo Link (Select definition from top rig

Dec 15, 2022

source code of the live coding demo for "Building resilient and scalable API backends with Apache Pulsar and Spring Reactive" talk held at ApacheCon@Home 2021

reactive-iot-backend The is the source code of the live coding demo for "Building resilient and scalable API backends with Apache Pulsar and Spring Re

Jan 13, 2022

Spring Boot JdbcTemplate example with SQL Server: CRUD Rest API using Spring Data JDBC, Spring Web MVC

Spring Boot JdbcTemplate example with SQL Server: Build CRUD Rest API Build a Spring Boot CRUD Rest API example that uses Spring Data Jdbc to make CRU

Dec 20, 2022

Springboot CRUD api using containerized mongoDB. ☕🍃📦

Javongo ☕ 🍃 Springboot CRUD api using containerized mongoDB. Feel free to use it as an example for your projects. Running Make sure ports 27017 & 808

Mar 19, 2022

This is a plugin for Minecraft Server (Spigot API) introduces a sector system which connects a single world across multiple servers.

OpenSourceSectors 😎 🗒️ This is a plugin for Minecraft Server (Spigot API) introduces a sector system which connects a single world across multiple s

Dec 28, 2022
Comments
  • 布局范围分析器获取图像失败

    布局范围分析器获取图像失败

    GET /image/screen?t=500

    No virtual method getMainExecutor()Ljava/util/concurrent/Executor; in class Landroid/content/Context; or its super classes (declaration of 'android.content.Context' appears in /system/framework/framework.jar)

    机型:魅族 Note8

    opened by kytrun 1
  • 布局范围分析器获取图像失败(app版本2.02)

    布局范围分析器获取图像失败(app版本2.02)

    GET /image/screen?t=1000 报 500 错误 错误内容为: Attempt to invoke virtual method 'android.hardware.display.VirtualDisplay android.media.projection.MediaProjection.createVirtualDisplay(java.lang.String, int, int, int, int, android.view.Surface, android.hardware.display.VirtualDisplay$Callback, android.os.Handler)' on a null object reference

    机型:Redmi MIUI版本:10.3.11

    opened by XJasen 1
Releases(2.100)
Owner
Lookcos
Go big or go home.
Lookcos
This is the RestFul API using SpringBoot made to integrate the frontend of this repository.

This is the RestFul API using SpringBoot made to integrate the frontend of this repository. Requirements For building and running the application you

gabrielclisboa 1 Jan 21, 2022
DatasetCreator is a lightweight RESTFul client implementation of the Salesforce CRM Analytics External Data API.

DatasetCreator is a lightweight RESTFul client implementation of the Salesforce CRM Analytics External Data API. It has been deliberately developed with no 3rd party jars with the goal of being a lean, reliable and scalable solution.

Salesforce Platform 6 Dec 16, 2022
Spring Boot, Hibernate, JpaRepository, RESTful services & PostgreSQL.

HRMS-Project Human Resources Management System Back End application with Java, Spring Boot, Hibernate, JpaRepository, RESTful services & PostgreSQL. S

Hikmet Tutuncu 9 Aug 23, 2022
e-Learning restful application with Spring boot

eLearning project backend This project was done as part of our Enterprise Application (EA) course project in Maharishi International University A Micr

Yonas Hailu 2 Mar 28, 2022
A secured RESTful service for company payrolls.

Account Service A RESTful service for a company to upload employee payrolls. Scope Project was created as part of a learning track of an online academ

Alexios Giazitzis 1 Feb 14, 2022
A code sharing platform built using spring boot, hibernate and JPA as ORM with PostgreSQL which also follows a RESTful architecture.

Snap-Snippet A code sharing platform built using spring boot, hibernate and JPA as ORM with PostgreSQL which also follows a RESTful architecture. Tech

Adnan Hossain 7 Nov 29, 2022
There are two challenges one is to create a backend api the other is to create a frontend application to consume the public data api devall.

Sobre | Desafio | Resolução | Tecnologias | Execução | Itexto desafio tecnico Sobre os Desafios existem dois desafios um é criar uma api backend o out

fabricio S Miranda 1 Oct 18, 2021
Deploy this 🔥🔥🔥 BLAZING FAST 🔥🔥🔥 API to get instant access to ✨✨✨ INNOVATIVE ✨✨✨ API to quickly define whether the numbers are odd or even.

Is Odd API This ?? is ?? ?? a ?? simple API that ?? returns ?? whether ?? ?? a ?? number ?? ?? is ?? ?? odd ?? or ?? not. ♂ With ?? ?? this ?? ?? API

rferee 5 Sep 23, 2022
一个能够获取随机图片的 Api,使用 SpringBoot 构建

Random-Image-Api Random-Image-Api 一个能够获取随机图片的 Api,基于 Spring Boot 构建 可读取本地图片列表的地址,并提供随机访问服务,可配置域名白名单访问 项目说明 程序启动的时候会自动加载 项目路径/list 文件夹下的所有列表文件; 图片列表文件:

陈亚伟 1.3k Dec 21, 2022
Esse repositório disponibiliza uma versão zero de uma API de cadastro de usuários (Users) a ser melhorada com desafios ☕️ 🇧🇷

java-training-api Esse repositório disponibiliza uma versão zero de uma API de cadastro de usuários (Users) na pasta SRC a ser melhorada. DESAFIOS Os

Guillaume Falourd 91 Dec 22, 2022