Code Monkey home page Code Monkey logo

webuitestframework's Introduction

Web UIAutomation 自动化框架介绍

开发背景

  1. 手动Smoke比较繁琐,项目比较成熟,迭代比较稳定,UI元素的变化不大,可以开始尝试自动化的执行
  2. UI自动化和API自动化,都是CICD中自动化测试的基础部件

框架图:

框架图

框架配置说明:

  1. PageObject中解析自己的页面元素
  2. Action中组装模拟动作
  3. TestScript中组合自己的action行为模拟操作流程

使用指南:

  1. 依赖下载配置
  2. 配置文件
  3. 本地方法运行
  4. pytest远端运行
  5. 报告查看
  6. [自动化用例合集]
  7. [Selenium Hub]

ToDo List:

  1. 各page中详细的页面元素id定义,统一在Conf/page_element.yaml文件中(需要开发配合)
  2. 全局元素action和verify方法封装
  3. 图片对比公共方法封装
  4. pytest+allure,组合封装和装饰器定义
  5. jenkins接入,slack接入
  6. 脚本并发设计,多case运行启动多个local driver或者remote driver
  7. selenium node基于k8s动态扩展集群(适配脚本的并发运行)

webuitestframework's People

Contributors

willingsasi avatar

Watchers

 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.