Coder Social home page Coder Social logo

appium-python3's Introduction

appium-python3进行app自动化测试

目前很多的公司无论招聘,还是在工作中,也会对自动化有要求,但是ui的自动化的产出低,但是在回归场景,的确能够减少人工的重复工作。自动化测试不一定快。目前很多公司会认为自动化测试就是快,这个是个误区。

1.项目概述

使用目前较为流行的UI自动化测试工具Appium,语言选择python,利用python内部的ddt进行数据驱动,yaml文件进行项目的定位等的管理,好处,读取后直接是字典格式,Excel进行测试用例的管理,unittest进行组织测试用例,测试设备选择夜神模拟器,测试报告使用BSTestRunner进行测试用例完成后测试报告的生成。依赖第三方包见requirements.txt。

2.目录简介:

a.business:业务相关的处理

b.config:配置相关

c.data:业务相关的定位信息,yaml文件存储,用例Excel管理。

d.testcase:测试用例模块

c.testlog:测试过程中的测试日志

d.testpang:测试过程中的部分截图

e.testreport:测试报告,性能收集结果存储地方。

f.testsuite:组织测试用例。

g.untils:公共的工具模块。

h.main.py:项目整体的运行的地方


目前存在的不足,只能支持单台设备,单线程跑测试用例,需要优化,性能测试数据目前收集存在不足。

3.效果展示图

整体结构

Alt text

运行后展示

控制台展示

Alt text

测试日志

Alt text

测试报告

Alt text

采集性能测试结果

Alt text

appium-python3's People

Contributors

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