{"id":19756293,"url":"https://github.com/xiaowang012/ui_auto_test","last_synced_at":"2025-09-03T15:40:43.039Z","repository":{"id":113247627,"uuid":"436652349","full_name":"xiaowang012/UI_auto_test","owner":"xiaowang012","description":"python ui自动化","archived":false,"fork":false,"pushed_at":"2021-12-13T05:53:48.000Z","size":8437,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-28T09:11:14.638Z","etag":null,"topics":["python","selenium","unittest","xlrd"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/xiaowang012.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-12-09T14:45:49.000Z","updated_at":"2022-03-30T09:37:17.000Z","dependencies_parsed_at":null,"dependency_job_id":"2696deeb-ca44-44b3-bb7b-818922b0de69","html_url":"https://github.com/xiaowang012/UI_auto_test","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/xiaowang012/UI_auto_test","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xiaowang012%2FUI_auto_test","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xiaowang012%2FUI_auto_test/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xiaowang012%2FUI_auto_test/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xiaowang012%2FUI_auto_test/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xiaowang012","download_url":"https://codeload.github.com/xiaowang012/UI_auto_test/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xiaowang012%2FUI_auto_test/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273467467,"owners_count":25111129,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-03T02:00:09.631Z","response_time":76,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["python","selenium","unittest","xlrd"],"created_at":"2024-11-12T03:15:31.591Z","updated_at":"2025-09-03T15:40:43.032Z","avatar_url":"https://github.com/xiaowang012.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# UI_auto_test\n这是一个基于python unittest selenium htmltestrunner写的一个UI自动化测试程序。  \nbootstrap文件夹:存放着bootstrap样式，用于美化测试报告  \ncommon文件夹:存放公共方法，如读取excel测试数据，读取config.ini配置文件，定义不同的浏览器的驱动代码  \nconfig文件夹:配置文件，用于某些测试的场景，如交换机测试时可以将username/password/host存放在里面  \ndata文件夹:是一个excel文档，里面存放测试数据，(如果是xls可以使用xlrd/xlwt，xlsx需要使用openpyxl)  \ndriver文件夹：用于存放三种浏览器driver(chrome,ie,firefox)  \nlog文件夹：存放日志在logs.log中  \nreport文件夹：用于存放测试报告(仅支持html格式)  \nrun文件夹：执行测试用例(默认是导入testcase中所有的以test开头的文件)   \ntestcase文件夹：存放测试用例(test_01,test_02...需要自己继续写。)      \n执行方法：  \n首先在data中完善测试数据，然后去testcase中完善测试用例(支持ddt)，执行run.py即可，report中的报告会自动覆盖。     \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxiaowang012%2Fui_auto_test","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxiaowang012%2Fui_auto_test","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxiaowang012%2Fui_auto_test/lists"}