Code Monkey home page Code Monkey logo

autotestplatform's Introduction

AutotestPlatform(自动化测试平台)

概述:

       1、接口自动化测试模块:

          单接口录入/测试,多个接口组织场景,多个场景组成测试套,选择测试套进行任务执行和报告生成。

       2、web界面自动化测试模块:

          通过selenium提供的api,以web页面元素的xpath来唯一定位每个对象,然后操作对象(点击,输入,移动,获取信息,校验,截屏等),来实现web界面测试自动化。为了应对前端界面的频繁变动,尽可能的减少用例的频繁修改,抽象出【页面-模板-数据】三层,动态组织用例。                

使用指南:


docker pull qiangzhou/autotest_platform:v1.0
docker run -dit --name autotest_platform --net host qiangzhou/autotest_platform:v1.0 bash -c "cd /opt/AutotestPlatform/web/ && uwsgi -i uwsgi.ini"

# 浏览器访问http://ip:8080
# 登陆密码admin/123

示例:

接口自动化测试模块

1、单个接口录入 2、多个接口组织场景 3、新建测试套,并添加场景 4、建立任务并执行 5、查看结果

web界面自动化测试模块

1、添加页面抽象 2、编写用例模板 3、组织用例集 4、建立任务并执行 5、查看结果

autotestplatform's People

Contributors

qiangzhouf avatar

Watchers

James Cloos 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.