python3 ui框架_Appium-Python3--UI自动化-[-12-]-UI自动化框架介绍

C:\chushujin\study\sales_ui_auto>tree

├─.idea

│ └─inspectionProfiles

├─app_package --APP的apk包

├─comm --封装一些访问数据库,日志输出,读取配置文件,HTMLTestRunner报告,获取设备信息方法封装

├─config --封装一些获取项目路径方法,读取excel等

├─locator --封装读取配置中元素的路径

│ └─app

│ ├─appCommon

│ │ ├─testLoginOut

│ │ │

│ │ └─testSalesLogin

│ │

│ └─BusinessProcess

│ ├─testLendRequestProcess

│ │ ├─testCustomerInfo

│ │ │

│ │ ├─testLoanInfo

│ │ │

│ │

│ └─testPotentialManager

├─page -- 通过locator中的读取到的内容,进行后续操作的封装

│ └─app

│ ├─appCommon

│ │ ├─testLoginOut

│ │ │

│ │ └─testSalesLogin

│ │

│ └─BusinessProcess

│ ├─testLendRequestProcess

│ │ ├─testCustomerInfo

│ │ │

│ │ ├─testLoanInfo

│ │ │

│ │

│ └─testPotentialManager

├─page_element --页面元素的定位和操作的方法封装

├─result --测试过程中的截图,日志,html报告

│ └─image

│ ├─2020-08-28

│ ├─2020-08-31

│ ├─2020-09-01

│ └─error

├─testCase -- 测试用例实现逻辑

│ ├─app

│ │ ├─appCommon

│ │ │ ├─testLogin

│ │ │ │

│ │ │ ├─testLoginOut

│ │ │ │

│ │ │

│ │ ├─BusinessProcess

│ │ │ ├─testLendRequestProcess

│ │ │ │ ├─testCustomerInfo

│ │ │ │ │

│ │ │ │ ├─testLoanInfo

│ │ │ │ │

│ │ │ │

│ │ │ ├─testPotentialManager

│ │ │ │

│ │ │

│ │

├─testFile -- 测试用例在excel中放置,名称,参数,期望结果,描述

│ └─app

│ ├─appCommon

│ │ ├─testLogin

│ │ └─testLoginOut

│ └─BusinessProcess

│ ├─testLendRequestProcess

│ │ ├─testCustomerInfo

│ │ └─testLoanInfo

│ └─testPotentialManager

├─testModels -- 类似java中getter和setter方法

│ └─app

│ ├─appCommon

│ │ └─testLogin

│ │

│ └─BusinessProcess

│ ├─testLendRequestProcess

│ │ ├─testCustomerInfo

│ │ │

│ │ └─testLoanInfo

│ └─testPotentialManager

└─util -- 封装生成一下身份证号,手机号,中文姓名,随机字符串等

├─deal_param

├─decorator

├─generator

├─caseList.txt --测试用例执行顺序

├─config.ini   --配置文件

├─runCase.py   -- 主入口

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值