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 -- 主入口