GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - ortontd/appium-python3: appium UI 自动化测试框架

BranchesTags
Open more actions menu
 
 

Latest commit

 

History

28 Commits
28 Commits

Folders and files

NameName
Last commit message
Last commit date
config
config
 
 
data
data
 
 
excetfuntion
excetfuntion
 
 
funtions
funtions
 
 
img
img
 
 
template
template
 
 
testcase
testcase
 
 
testlog
testlog
 
 
testreport
testreport
 
 
testsuite
testsuite
 
 
untils
untils
 
 
README.md
README.md
 
 
main.py
main.py
 
 
requirements.txt
requirements.txt
 
 

Repository files navigation

appium-python3进行app自动化测试

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

1.项目概述

使用目前较为流行的UI自动化测试工具Appium,

语言选择python3,利用ddt进行数据驱动,

yaml管理项目的定位,Excel管理测试用例,

unittest进行组织测试用例,测试设备选择夜神模拟器,

测试报告使用BSTestRunner进行测试用例完成后测试报告的生成。

依赖第三方包见requirements.txt。

2.目录简介:

2.1 config:配置相关

2.2 data:用例存放Excel管理,dingwei下面需要写成测试步骤的逻辑。

2.3 exctfuntion 根据测试文件里面的测试步骤形成相应的测试逻辑

2.4 funtions:根据测试逻辑相关和exctfuntion下的形成测试步骤后组合成测试用例

2.5 testcase:根据功能模块 形成的测试用例加入相应的测试数据 组成测试用例

2.6 testlog:测试过程的日志

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

2.8 testsuite:组织测试用例。

2.9 untils: 公共的工具模块。

2.10 main.py ui自动化测试的主脚本


目前存在的不足,只能支持单台设备,单线程跑测试用例,性能测试数据目前收集存放在txt文档中没有进行分析

友情推荐本人其他开源代码:

1.python app自动化测试平台版本:Alt text

2.python接口测试框架:Alt text

3.python接口测试平台版本Alt text

4.python+flask 做后台,实现微信小程序:Alt text

3.效果展示图

整体结构

Alt text

运行后展示

控制台展示

Alt text

测试日志

Alt text

测试报告

Alt text

采集性能测试结果

Alt text

About

appium UI 自动化测试框架

Resources

Readme
Activity

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.