selenium自动化测试框架

上传者: lb18520182905 | 上传时间: 2019-12-21 20:05:54 | 文件大小: 384KB | 文件类型: rar
集成Pyton语言unittest方法,从而便于测试场景的管理,run.py是ECShop工程脚本执行的入口。此处将用户注册、用户登陆测试场景统一设置在test_Ecshop函数中并调用执行,根据函数的返回值,判断测试场景执行的成功与否,然后通过HTMLTestRunner方法,将测试结果以HTML格式输出

文件下载

资源详情

[{"title":"( 73 个子文件 384KB ) selenium自动化测试框架","children":[{"title":"HRXT","children":[{"title":"case","children":[{"title":"test_V1_0_1","children":[{"title":"test_UserInfo_1.py <span style='color:#111;'> 6.20KB </span>","children":null,"spread":false},{"title":"__pycache__","children":null,"spread":false},{"title":"test_RoleAssign_3.py <span style='color:#111;'> 3.33KB </span>","children":null,"spread":false},{"title":"__init__.py <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"test_RoleInfo_2.py <span style='color:#111;'> 4.21KB </span>","children":null,"spread":false},{"title":"test_DataAssign_4.py <span style='color:#111;'> 3.86KB </span>","children":null,"spread":false}],"spread":true},{"title":"config","children":[{"title":"config.ini <span style='color:#111;'> 318B </span>","children":null,"spread":false},{"title":"__init__.py <span style='color:#111;'> 0B </span>","children":null,"spread":false}],"spread":true},{"title":"__pycache__","children":[{"title":"__init__.cpython-36.pyc <span style='color:#111;'> 116B </span>","children":null,"spread":false}],"spread":true},{"title":"__init__.py <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"object_common","children":[{"title":"UserManage","children":[{"title":"userassign.py <span style='color:#111;'> 1.61KB </span>","children":null,"spread":false},{"title":"rolemanage.py <span style='color:#111;'> 1.96KB </span>","children":null,"spread":false},{"title":"roleassign.py <span style='color:#111;'> 2.73KB </span>","children":null,"spread":false},{"title":"__init__.py <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"UserInfo","children":null,"spread":false},{"title":"dataassign.py <span style='color:#111;'> 1.61KB </span>","children":null,"spread":false},{"title":"usermanage.py <span style='color:#111;'> 4.41KB </span>","children":null,"spread":false}],"spread":true},{"title":"__pycache__","children":[{"title":"__init__.cpython-36.pyc <span style='color:#111;'> 121B </span>","children":null,"spread":false}],"spread":true},{"title":"EmployeiManage","children":[{"title":"AgreemManage","children":[{"title":"劳动协议信息管理 <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"__init__.py <span style='color:#111;'> 0B </span>","children":null,"spread":false}],"spread":true},{"title":"CerticateCategory","children":[{"title":"证书类别 <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"__init__.py <span style='color:#111;'> 0B </span>","children":null,"spread":false}],"spread":true},{"title":"__init__.py <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"EmployeiCerticate","children":[{"title":"__init__.py <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"员工证书管理 <span style='color:#111;'> 0B </span>","children":null,"spread":false}],"spread":true},{"title":"EmployeiInfo","children":[{"title":"员工信息管理 <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"__init__.py <span style='color:#111;'> 0B </span>","children":null,"spread":false}],"spread":false},{"title":"ContractManage","children":[{"title":"__init__.py <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"劳动合同信息管理 <span style='color:#111;'> 0B </span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":"__init__.py <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"BasicInfo","children":[{"title":"PostAssi","children":[{"title":"岗位职务专业分配 <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"__init__.py <span style='color:#111;'> 0B </span>","children":null,"spread":false}],"spread":true},{"title":"OrganiManage","children":[{"title":"__init__.py <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"组织信息管理 <span style='color:#111;'> 0B </span>","children":null,"spread":false}],"spread":true},{"title":"OrganiHier","children":[{"title":"__init__.py <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"组织层次管理 <span style='color:#111;'> 0B </span>","children":null,"spread":false}],"spread":false},{"title":"OrganiAssi","children":[{"title":"组织岗位分配 <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"__init__.py <span style='color:#111;'> 0B </span>","children":null,"spread":false}],"spread":false},{"title":"__init__.py <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"ProfesManage","children":[{"title":"职务专业信息管理 <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"__init__.py <span style='color:#111;'> 0B </span>","children":null,"spread":false}],"spread":false},{"title":"PostManage","children":[{"title":"岗位信息管理 <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"__init__.py <span style='color:#111;'> 0B </span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":"login","children":[{"title":"Login.py <span style='color:#111;'> 955B </span>","children":null,"spread":false},{"title":"__pycache__","children":[{"title":"Login.cpython-36.pyc <span style='color:#111;'> 1.46KB </span>","children":null,"spread":false},{"title":"__init__.cpython-36.pyc <span style='color:#111;'> 141B </span>","children":null,"spread":false}],"spread":false},{"title":"__init__.py <span style='color:#111;'> 0B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"__pycache__","children":[{"title":"__init__.cpython-36.pyc <span style='color:#111;'> 116B </span>","children":null,"spread":false}],"spread":true},{"title":"Warehouse","children":[{"title":"screenshot","children":[{"title":"分配系统管理权限失败异常2018-14-02 093238.jpg <span style='color:#111;'> 91.87KB </span>","children":null,"spread":false},{"title":"分配人事系统功能权限失败异常2018-14-02 092656.jpg <span style='color:#111;'> 91.88KB </span>","children":null,"spread":false},{"title":"__init__.py <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"分配系统管理权限失败异常2018-14-02 092656.jpg <span style='color:#111;'> 91.88KB </span>","children":null,"spread":false},{"title":"分配人事系统功能权限失败异常2018-14-02 093238.jpg <span style='color:#111;'> 91.87KB </span>","children":null,"spread":false}],"spread":true},{"title":"log","children":[{"title":"__pycache__","children":null,"spread":false},{"title":"__init__.py <span style='color:#111;'> 0B </span>","children":null,"spread":false}],"spread":true},{"title":"__init__.py <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"report","children":[{"title":"__init__.py <span style='color:#111;'> 0B </span>","children":null,"spread":false}],"spread":true},{"title":"test_data","children":[{"title":"__pycache__","children":null,"spread":false},{"title":"__init__.py <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"testdata.xlsx <span style='color:#111;'> 9.95KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"__init__.py <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":".idea","children":[{"title":"misc.xml <span style='color:#111;'> 1.52KB </span>","children":null,"spread":false},{"title":"vcs.xml <span style='color:#111;'> 291B </span>","children":null,"spread":false},{"title":"modules.xml <span style='color:#111;'> 1.60KB </span>","children":null,"spread":false},{"title":"workspace.xml <span style='color:#111;'> 121.36KB </span>","children":null,"spread":false},{"title":"untitled1.iml <span style='color:#111;'> 957B </span>","children":null,"spread":false},{"title":"inspectionProfiles","children":[{"title":"Project_Default.xml <span style='color:#111;'> 866B </span>","children":null,"spread":false},{"title":"profiles_settings.xml <span style='color:#111;'> 241B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"uidriver","children":[{"title":"test_def.py <span style='color:#111;'> 465B </span>","children":null,"spread":false},{"title":"__pycache__","children":[{"title":"loggin.cpython-36.pyc <span style='color:#111;'> 2.55KB </span>","children":null,"spread":false},{"title":"__init__.cpython-36.pyc <span style='color:#111;'> 122B </span>","children":null,"spread":false},{"title":"location.cpython-36.pyc <span style='color:#111;'> 3.54KB </span>","children":null,"spread":false}],"spread":true},{"title":"__init__.py <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"location.py <span style='color:#111;'> 5.39KB </span>","children":null,"spread":false},{"title":"loggin.py <span style='color:#111;'> 2.64KB </span>","children":null,"spread":false},{"title":"213.html <span style='color:#111;'> 983B </span>","children":null,"spread":false}],"spread":true},{"title":"run_all_case.py <span style='color:#111;'> 3.12KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

免责申明

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