Coder Social home page Coder Social logo

seleniumautomate's Introduction

Selenium自动化测试框架

Automated selenium test framework

Powered by fanxn

环境要求 Requirements

  • Python3+
  • selenium
  • chromedriver
  • openpyxl
  • Chrome 52.0+ or Firefox
  • pillow

说明 Description

运行 python start.py启动测试 程序会读取Scenarios目录下的所有用例定义文件,按顺序执行文件中定义的动作 如果在用例定义文件中定义了截图操作,截图会被保存在在target目录下,按照用例文件名命名的目录中。

Run command python start.py will automatically read scenario definition files in directory "Scenarios", execute scenarios sequentially. If saving screenshot is ordered, screenshot will be saved in a directory named after the scenario file name in directory "target".

v0.1 改动

  1. 添加滚动截图功能,如果页面长度超过屏幕显示,那么同一页面将会产生多张截图,然后被合并为一张进行存储。

seleniumautomate's People

Contributors

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