文章 2023-02-22 来自:开发者社区

基于UIAutomation+Python+Unittest+Beautifulreport的WindowsGUI自动化测试框架主入口main解析

注:1、本文为本站首发,他用请联系作者并注明出处,谢谢!2、源码解析/mian入口说明、testcase说明、page说明1 main.py主入口# -*- coding:utf-8 -*- # 作者:虫无涯 # 日期:2023/2/17 # 文件名称:main.py # 作用:框架的主入口函数 # coding=utf-8 import time from common.reportOut...

文章 2023-02-21 来自:开发者社区

基于UIAutomation+Python+Unittest+Beautifulreport的WindowsGUI自动化测试框架common目录解析

1 框架工具说明工具说明使用Unittest框架开源自动化测试框架,直接使用批量或指定用例运行Unittest框架可支持此功能log日志使用Python的logging库即可生成HTML测试报告使用BeautifulReport模块可实现此功能用例设计和结果分离PO模式用户登录封装直接把登录功能模块化,使用Unittest框架中的setup,teardown即可定制测试报告模板使用Beautif....

基于UIAutomation+Python+Unittest+Beautifulreport的WindowsGUI自动化测试框架common目录解析
文章 2023-01-13 来自:开发者社区

WindowsGUI自动化测试框架搭建之需求整理、详细设计和框架设计

1 需求整理1.1 实现目的基于CS架构,模拟用户(鼠标、键盘)操作,达到快速、重复执行测试用例;便于回归测试,快速覆盖主线用例或功能;线上或线下巡检测试,结合持续集成,及时发现运行环境存在的问题;提升个人自动化测试技术能力,为业务提供强有力的测试手段。1.2 功能需求基于Unittest,封装、调用和组织所有的测试用例,进行批量或指定用例运行;支持邮件服务,可添加任意团队成员邮箱,及时通知团队....

WindowsGUI自动化测试框架搭建之需求整理、详细设计和框架设计

本页面内关键词为智能算法引擎基于机器学习所生成,如有任何问题,可在页面下方点击"联系我们"与我们沟通。

产品推荐

{"cardStyle":"productCardStyle","productCode":"","productCardInfo":{"productTitle":"Terraform","productDescription":"Terraform是基础架构自动化编排工具,高度可扩展,阿里云作为其provider支持您创建并管理新的基础架构,让您在阿里云上轻松定义、预览和部署云资源,实现云上自动化需求。","productContentLink":"https://help.aliyun.com/product/95817.html","isDisplayProductIcon":false,"productButton1":{"productButtonText":"产品文档","productButtonLink":"https://help.aliyun.com/product/95817.html"},"productButton2":{"productButtonText":"开源仓库","productButtonLink":"https://github.com/aliyun/terraform-provider-alicloud"},"productButton3":{"productButtonText":"快速体验","productButtonLink":"https://api.aliyun.com/terraform"},"productPromotionInfoBlock":[{"$id":"0","productPromotionGroupingTitle":"开源免费","productPromotionInfoFirstText":"基础设施即代码","productPromotionInfoFirstLink":"https://help.aliyun.com/document_detail/95820.html","productPromotionInfoSecondText":"用代码管理维护资源","productPromotionInfoSecondLink":"https://help.aliyun.com/document_detail/95821.html"},{"$id":"1","productPromotionGroupingTitle":"多云适用","productPromotionInfoFirstText":"能够管理多云资源","productPromotionInfoFirstLink":"https://help.aliyun.com/document_detail/95828.html","productPromotionInfoSecondText":"便于云资源管理与迁移","productPromotionInfoSecondLink":"https://help.aliyun.com/document_detail/95828.html"},{"$id":"2","productPromotionGroupingTitle":"自动化管理","productPromotionInfoFirstText":"减少人为因素错误","productPromotionInfoFirstLink":"https://help.aliyun.com/document_detail/95828.html","productPromotionInfoSecondText":"开发降本增效","productPromotionInfoSecondLink":"https://help.aliyun.com/document_detail/95828.html"},{"$id":"3","productPromotionGroupingTitle":"开箱即用","productPromotionInfoFirstText":"丰富的Modules和Examples","productPromotionInfoFirstLink":"https://github.com/alibabacloud-automation","productPromotionInfoSecondText":"开发者共建贡献","productPromotionInfoSecondLink":"https://help.aliyun.com/document_detail/95835.html"}],"isOfficialLogo":false},"activityCardInfo":{"activityTitle":"","activityDescription":"","cardContentBackgroundMode":"LightMode","activityContentBackgroundImageLink":"","activityCardBottomInfoSelect":"activityPromotionInfoBlock"}}

开发与运维

集结各类场景实战经验,助你开发运维畅行无忧

+关注