GithubHelp home page GithubHelp logo

aiautomation's Introduction

自动化测试框架使用说明

该框架主要使用selenium进行web的自动化测试,但不仅仅限制于UI的自动化测试,请保持与aicp的ui自动化测试联合使用,可达到最佳的效果。

使用说明

安装部署

//进行测试
python setup.py test
//安装到库里
python setup.py install
//生成安装包到dist目录下
python setup.py sdist

驱动driver的安装

需要下载相关的driver放到系统path路径下 Chrome: https://sites.google.com/a/chromium.org/chromedriver/downloads Edge: https://developer.microsoft.com/en-us/microsoft-edge/tools/webdriver/ Firefox: https://github.com/mozilla/geckodriver/releases Safari: https://webkit.org/blog/6900/webdriver-support-in-safari-10/ IE: http://selenium-release.storage.googleapis.com/index.html

主要功能

数据和脚本分离

GUI和脚本分离

日志记录分离

控件(GUI)自动上传

组件(function)自动上传

测试用例(case)自动上传

测试案例编写

browser关联,日志,场景恢复,数据

GUI

iframe gui文件 window

TODO

  1. iframe 穿透

  2. gui文件

  3. 等待

  4. runner/data

  5. check point

  6. agent get task

  7. case log override?

  8. plan/case missing?

Done

  1. config文件读取
  2. fireEvent
  3. log
  4. plan runner

aiautomation's People

Contributors

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