AutoMationTest:Pytest测试框架,UI, API, DataBase,部分功能已封装,可根据实际需求修改

上传者: 42134144 | 上传时间: 2023-03-17 16:15:40 | 文件大小: 17.6MB | 文件类型: ZIP
1 简介 基于Python,测试框架采用Pytest,API方面采用requests库,UI采用Selenium,目前适配了windows下IE、Chrome,Mac下的Chrome 暂时未适配Firefox以及Linux下的所有浏览器(linux版本太多,有需求的话可以在Issue提出或者自行二次适配),数据库方面采用SQLAlchemy,这个用到的比较少 2 依赖 开发时采用Python3.9,需要以下依赖(MacOS下),Windows上可能有些区别,可以根据报错修改 apipkg==1.5 asgiref==3.3.1 async-lru==1.0.2 attrs==20.3.0 bcrypt==3.2.0 beautifulsoup4==4.9.3 bs4==0.0.1 certifi==2020.12.5 cffi==1.14.4 chardet==4.0.0 click==7

文件下载

资源详情

[{"title":"( 71 个子文件 17.6MB ) AutoMationTest:Pytest测试框架,UI, API, DataBase,部分功能已封装,可根据实际需求修改","children":[{"title":"AutoMationTest-master","children":[{"title":"utils","children":[{"title":"__init__.py <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"Others","children":[{"title":"RunScripts","children":[{"title":"config_parser.py <span style='color:#111;'> 6.62KB </span>","children":null,"spread":false},{"title":"__init__.py <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"config.yaml <span style='color:#111;'> 837B </span>","children":null,"spread":false}],"spread":true},{"title":"Multiple.py <span style='color:#111;'> 410B </span>","children":null,"spread":false},{"title":"__init__.py <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"TimeOperation.py <span style='color:#111;'> 304B </span>","children":null,"spread":false},{"title":"OSOperation.py <span style='color:#111;'> 2.73KB </span>","children":null,"spread":false},{"title":"SSHOperation.py <span style='color:#111;'> 1.82KB </span>","children":null,"spread":false},{"title":"mail.py <span style='color:#111;'> 1.18KB </span>","children":null,"spread":false}],"spread":true},{"title":"HTTPRequest","children":[{"title":"RequestDataSource.py <span style='color:#111;'> 1.43KB </span>","children":null,"spread":false},{"title":"HttpRequest.py <span style='color:#111;'> 533B </span>","children":null,"spread":false},{"title":"__init__.py <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"RequestBase.py <span style='color:#111;'> 6.39KB </span>","children":null,"spread":false}],"spread":true},{"title":"DBConnect","children":[{"title":"__init__.py <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"Oracle.py <span style='color:#111;'> 2.51KB </span>","children":null,"spread":false}],"spread":true},{"title":"UI","children":[{"title":"read_element.py <span style='color:#111;'> 844B </span>","children":null,"spread":false},{"title":"__init__.py <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"WebPage","children":[{"title":"README.TXT <span style='color:#111;'> 160B </span>","children":null,"spread":false},{"title":"__init__.py <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"BasePage.py <span style='color:#111;'> 2.84KB </span>","children":null,"spread":false},{"title":"WorkFlowActions_Release.py <span style='color:#111;'> 25.42KB </span>","children":null,"spread":false}],"spread":true},{"title":"HTMLParser.py <span style='color:#111;'> 3.66KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"resource","children":[{"title":"upload_file_testing","children":[{"title":"xlsx","children":[{"title":"test.xlsx <span style='color:#111;'> 9.33KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"webdriver","children":[{"title":"chromedriver_87.0.4280.88 <span style='color:#111;'> 15.49MB </span>","children":null,"spread":false}],"spread":true},{"title":"windows_envs","children":[{"title":"windows环境指南.txt <span style='color:#111;'> 952B </span>","children":null,"spread":false},{"title":"swigwin-4.0.2.zip <span style='color:#111;'> 11.07MB </span>","children":null,"spread":false},{"title":"pyhook_py3k-master.zip <span style='color:#111;'> 14.41KB </span>","children":null,"spread":false}],"spread":true},{"title":"PlatFormUsers","children":[{"title":"PlatFormUsers.json <span style='color:#111;'> 147B </span>","children":null,"spread":false}],"spread":true},{"title":"PageElement","children":[{"title":"backends.yaml <span style='color:#111;'> 82B </span>","children":null,"spread":false},{"title":"backends_user_management.yaml <span style='color:#111;'> 3.06KB </span>","children":null,"spread":false},{"title":"work_flow_details.yaml <span style='color:#111;'> 1.31KB </span>","children":null,"spread":false},{"title":"z_web_containerHomeblueIndex.yaml <span style='color:#111;'> 1.86KB </span>","children":null,"spread":false},{"title":"search.yaml <span style='color:#111;'> 107B </span>","children":null,"spread":false},{"title":"z_user_org_rightLoginindex.yaml <span style='color:#111;'> 108B </span>","children":null,"spread":false},{"title":"people_select.yaml <span style='color:#111;'> 89B </span>","children":null,"spread":false},{"title":"workflow_header.yaml <span style='color:#111;'> 132B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"Models","children":[{"title":"z_workflow.py <span style='color:#111;'> 68.79KB </span>","children":null,"spread":false},{"title":"z_user_org_right.py <span style='color:#111;'> 28.21KB </span>","children":null,"spread":false},{"title":"__init__.py <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"TestCase.py <span style='color:#111;'> 2.37KB </span>","children":null,"spread":false}],"spread":true},{"title":"requirements.txt <span style='color:#111;'> 1.50KB </span>","children":null,"spread":false},{"title":".idea","children":[{"title":"misc.xml <span style='color:#111;'> 342B </span>","children":null,"spread":false},{"title":"inspectionProfiles","children":[{"title":"Project_Default.xml <span style='color:#111;'> 936B </span>","children":null,"spread":false},{"title":"profiles_settings.xml <span style='color:#111;'> 174B </span>","children":null,"spread":false}],"spread":true},{"title":"modules.xml <span style='color:#111;'> 280B </span>","children":null,"spread":false},{"title":"AutoMationTest.iml <span style='color:#111;'> 446B </span>","children":null,"spread":false},{"title":".gitignore <span style='color:#111;'> 176B </span>","children":null,"spread":false},{"title":"vcs.xml <span style='color:#111;'> 180B </span>","children":null,"spread":false}],"spread":true},{"title":"TestCase","children":[{"title":"__init__.py <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"DataBase","children":[{"title":"__init__.py <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"demo","children":[{"title":"__init__.py <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"test_demo.py <span style='color:#111;'> 2.52KB </span>","children":null,"spread":false},{"title":"conftest.py <span style='color:#111;'> 668B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"Others","children":[{"title":"test_locust.py <span style='color:#111;'> 1.43KB </span>","children":null,"spread":false},{"title":"__init__.py <span style='color:#111;'> 0B </span>","children":null,"spread":false}],"spread":true},{"title":"API","children":[{"title":"Demo","children":[{"title":"__init__.py <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"test_demo.py <span style='color:#111;'> 1.03KB </span>","children":null,"spread":false}],"spread":true},{"title":"__init__.py <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"conftest.py <span style='color:#111;'> 416B </span>","children":null,"spread":false}],"spread":true},{"title":"UI","children":[{"title":"test_demo_ui.py <span style='color:#111;'> 8.82KB </span>","children":null,"spread":false},{"title":"__init__.py <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"conftest.py <span style='color:#111;'> 2.10KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"pytest.ini <span style='color:#111;'> 217B </span>","children":null,"spread":false},{"title":"config","children":[{"title":"__init__.py <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"config.json <span style='color:#111;'> 19B </span>","children":null,"spread":false},{"title":"globalVars.py <span style='color:#111;'> 16.19KB </span>","children":null,"spread":false}],"spread":true},{"title":"LICENSE <span style='color:#111;'> 11.08KB </span>","children":null,"spread":false},{"title":"conftest.py <span style='color:#111;'> 3.49KB </span>","children":null,"spread":false},{"title":".gitignore <span style='color:#111;'> 73B </span>","children":null,"spread":false},{"title":"readme.md <span style='color:#111;'> 32.85KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明