Giter VIP home page Giter VIP logo

chaos's Introduction

chaos

work with python + selenium + appium UI automation test tool

框架说明:

  • 引入的Python模块.txt ,列出框架中引入的Python模块
  • actions文件夹,主要用来封装要测试产品的页面,和产品中逻辑相关的action
    • SeleniumPage: 存放封装好的常用API,API说明可参见actions下的《readme》
    • example_page: 封装测试产品页面的示例
    • example_actions: 封装逻辑action的示例
    • init_driver: 封装初始化selenium和appium driver的参数
  • lib文件夹下存放本框架相关的文件
  • log文件夹下存放运行过程中打印的log文件
  • results文件夹下存放test case运行后产生的report
  • scripts文件夹下存放test case脚本
    • example: 封装test case的模板

使用步骤:

  • 安装框架引入的Python模块
  • 参照actions文件夹下的example_page,封装要测试产品的页面
  • 参照actions文件夹下的example_ actions,封装测试产品业务逻辑的action
  • 参照scripts文件夹下的example,封装test case
  • 修改actions文件夹下的init_driver中的参数为测试设备的参数
  • 双击scripts文件夹下test case的脚本执行test case
  • results文件夹下查看test report

chaos's People

Stargazers

 avatar

Watchers

 avatar  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.