GithubHelp home page GithubHelp logo

dralastat / bricks_antient Goto Github PK

View Code? Open in Web Editor NEW
1.0 0.0 0.0 42.56 MB

Android application test platform, free for creating test case by building bricks.

Java 100.00%
appium android-appium java bricks bricks-antient

bricks_antient's Introduction

Bricks_Antient

中文使用指引 -目录

English version README -Contents

目录

项目介绍

Android应用自动化测试平台,基于Appium,通过实时获取手机界面图像,进而获取当前页面的控件信息来进行用例创建。用例可以如搭积木般拼接,组合成的用例也可以再次编辑,提高操作灵活性。

基本原理

经过拆分任何一个APP的操作,都是元素+动作的形式,通过最小元的拆解方法,可以实现灵活组合,于是有以下定义:

  • 元素 + 动作 = 模块
  • 模块 + 验证方法 = 事件
  • 事件集 = 用例

平台特性

  • 易用: 界面可视化,将主要精力用于用例设计
  • 高效: 积木式搭建,随时拆装,随时重定义
  • 可拓展: 将所有操作细化到最小单元,为自动创建用例提供最好的地基

如何安装

基本环境:

  • Java 8
  • Node.js 8.11.4(或者升级至最新),Node.js下载地址
  • Appium 1.8.1(更新版本未做测试)
  • Android SDK

通过以下方式安装Appium 1.8.1:

$ npm install -g [email protected]

如果是在国内进行安装,可能会遇到部分库无法下载导致安装失败,可以尝试使用cnpm镜像

$ npm install -g cnpm --registry=https://registry.npm.taobao.org

然后执行

$ cnpm install -g [email protected]

最后将项目代码clone至本地,执行 Main_Entry.java即可运行Bricks平台。

如何使用

Contents

Background

Install

Basic environment needed:

  • Java 8
  • Node.js 8.11.4(或者升级至最新),Node.js download link
  • Appium 1.8.1(更新版本未做测试)
  • Android SDK

Install Appium 1.8.1:

$ npm install -g [email protected]

Clone this project to your local enviroment, run the Main_Entry.java to active the platform.

Any optional sections

Usage

Note: The license badge image link at the top of this file should be updated with the correct :user and :repo.

Any optional sections

Any optional sections

More optional sections

bricks_antient's People

Contributors

dralastat avatar

Stargazers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.