提交 69f952b6 authored 作者: 陈泽健's avatar 陈泽健

给所有功能模块打上标签,后续通过运行标签的形式调试预定系统整体功能测试流程。

上级 39fd8782
...@@ -134,4 +134,4 @@ ...@@ -134,4 +134,4 @@
- 根据展厅巡检使用时遇到的问题进行调整,在议题文件上传前做文件是否存在的校验,若不存在则跳出函数。补充讯飞流程的切换窗口句柄代码。 - 根据展厅巡检使用时遇到的问题进行调整,在议题文件上传前做文件是否存在的校验,若不存在则跳出函数。补充讯飞流程的切换窗口句柄代码。
- 补充会议审批预约以及取消审批功能的自动化处理。调整会议模板以及历史会议的自动化处理顺序,无需重复初始化浏览器。 - 补充会议审批预约以及取消审批功能的自动化处理。调整会议模板以及历史会议的自动化处理顺序,无需重复初始化浏览器。
- 处理各模块间的执行流程优化。 - 处理各模块间的执行流程优化。
- 补充会议审批相关功能之间的流程自动化处理,会议审批模块已补充完成。 - 补充会议审批相关功能之间的流程自动化处理,会议审批模块已补充完成。给所有功能模块打上标签,后续通过运行标签的形式调试预定系统整体功能测试流程。
\ No newline at end of file \ No newline at end of file
...@@ -20,7 +20,7 @@ csv_file_path = os.path.join(current_dir, '../../../测试数据/会议主流程 ...@@ -20,7 +20,7 @@ csv_file_path = os.path.join(current_dir, '../../../测试数据/会议主流程
time_format = "%H:%M" time_format = "%H:%M"
class Message_Book_000x: class Message_Book_000x:
tags = ['会议预约主流程'] tags = ['会议预约主流程','预定系统功能']
""" """
执行指令: 执行指令:
......
...@@ -20,7 +20,7 @@ csv_file_path = os.path.join(current_dir, '../../../测试数据/会议主流程 ...@@ -20,7 +20,7 @@ csv_file_path = os.path.join(current_dir, '../../../测试数据/会议主流程
time_format = "%H:%M" time_format = "%H:%M"
class Message_Update_000x: class Message_Update_000x:
tags = ['会议预约主流程'] tags = ['会议预约主流程','预定系统功能']
""" """
执行指令: 执行指令:
1.cd 预定系统 1.cd 预定系统
......
...@@ -20,7 +20,7 @@ csv_file_path = os.path.join(current_dir, '../../../测试数据/会议主流程 ...@@ -20,7 +20,7 @@ csv_file_path = os.path.join(current_dir, '../../../测试数据/会议主流程
time_format = "%H:%M" time_format = "%H:%M"
class Message_Update_000x: class Message_Update_000x:
tags = ['会议删除','会议预约主流程'] tags = ['会议删除','会议预约主流程','预定系统功能']
""" """
执行指令: 执行指令:
1.cd 预定系统 1.cd 预定系统
......
...@@ -84,7 +84,7 @@ def message_extend_meeting(time_value, wd, name): ...@@ -84,7 +84,7 @@ def message_extend_meeting(time_value, wd, name):
class Message_UpdateStatus_000x: class Message_UpdateStatus_000x:
tags = ['会议预约主流程'] tags = ['会议预约主流程','预定系统功能']
""" """
执行指令: 执行指令:
1.cd 预定系统 1.cd 预定系统
......
...@@ -21,7 +21,7 @@ csv_file_path = os.path.join(current_dir, '../../测试数据/会议审批/会 ...@@ -21,7 +21,7 @@ csv_file_path = os.path.join(current_dir, '../../测试数据/会议审批/会
time_format = "%H:%M" time_format = "%H:%M"
class MeetingApproval_Book_000x: class MeetingApproval_Book_000x:
tags = ['会议审批功能'] tags = ['会议审批功能','预定系统功能']
""" """
执行指令: 执行指令:
1.cd 预定系统 1.cd 预定系统
......
...@@ -21,7 +21,7 @@ csv_file_path = os.path.join(current_dir, '../../测试数据/会议审批/会 ...@@ -21,7 +21,7 @@ csv_file_path = os.path.join(current_dir, '../../测试数据/会议审批/会
time_format = "%H:%M" time_format = "%H:%M"
class MeetingApproval_Status_000x: class MeetingApproval_Status_000x:
tags = ['会议审批功能'] tags = ['会议审批功能','预定系统功能']
""" """
执行指令: 执行指令:
1.cd 预定系统 1.cd 预定系统
......
...@@ -21,7 +21,7 @@ current_dir = os.path.dirname(os.path.abspath(__file__)) ...@@ -21,7 +21,7 @@ current_dir = os.path.dirname(os.path.abspath(__file__))
csv_file_path = os.path.join(current_dir, '../../../测试数据/会议室管理/会议室管理模块/会议室新增.csv') csv_file_path = os.path.join(current_dir, '../../../测试数据/会议室管理/会议室管理模块/会议室新增.csv')
class Conference_Add_000x: class Conference_Add_000x:
tags = ['会议室管理功能' , '后台管理功能'] tags = ['会议室管理功能' , '后台管理功能','预定系统功能']
""" """
执行指令: 执行指令:
1.cd 预定系统 1.cd 预定系统
......
...@@ -37,7 +37,7 @@ def text_query(wd,element_locator,query_text): ...@@ -37,7 +37,7 @@ def text_query(wd,element_locator,query_text):
class Conference_Query_000x: class Conference_Query_000x:
tags = ['会议室管理功能' , '后台管理功能'] tags = ['会议室管理功能' , '后台管理功能','预定系统功能']
""" """
执行指令: 执行指令:
1.cd 预定系统 1.cd 预定系统
......
...@@ -21,7 +21,7 @@ current_dir = os.path.dirname(os.path.abspath(__file__)) ...@@ -21,7 +21,7 @@ current_dir = os.path.dirname(os.path.abspath(__file__))
csv_file_path = os.path.join(current_dir, '../../../测试数据/会议室管理/会议室管理模块/会议室删除.csv') csv_file_path = os.path.join(current_dir, '../../../测试数据/会议室管理/会议室管理模块/会议室删除.csv')
class Conference_Delete_000x: class Conference_Delete_000x:
tags = ['会议室管理功能' , '后台管理功能'] tags = ['会议室管理功能' , '后台管理功能','预定系统功能']
""" """
执行指令: 执行指令:
1.cd 预定系统 1.cd 预定系统
......
...@@ -21,7 +21,7 @@ current_dir = os.path.dirname(os.path.abspath(__file__)) ...@@ -21,7 +21,7 @@ current_dir = os.path.dirname(os.path.abspath(__file__))
csv_file_path = os.path.join(current_dir, '../../../测试数据/会议室管理/会议室管理模块/会议室编辑.csv') csv_file_path = os.path.join(current_dir, '../../../测试数据/会议室管理/会议室管理模块/会议室编辑.csv')
class Conference_Edit_000x: class Conference_Edit_000x:
tags = ['会议室管理功能' , '后台管理功能'] tags = ['会议室管理功能' , '后台管理功能','预定系统功能']
""" """
执行指令: 执行指令:
1.cd 预定系统 1.cd 预定系统
......
...@@ -21,7 +21,7 @@ current_dir = os.path.dirname(os.path.abspath(__file__)) ...@@ -21,7 +21,7 @@ current_dir = os.path.dirname(os.path.abspath(__file__))
csv_file_path = os.path.join(current_dir, '../../../测试数据/会议室管理/功能管理模块/功能新增.csv') csv_file_path = os.path.join(current_dir, '../../../测试数据/会议室管理/功能管理模块/功能新增.csv')
class Function_Add_000x: class Function_Add_000x:
tags =['会议室功能管理' , '后台管理功能'] tags =['会议室功能管理' , '后台管理功能','预定系统功能']
""" """
执行指令: 执行指令:
1.cd 预定系统 1.cd 预定系统
......
...@@ -21,7 +21,7 @@ current_dir = os.path.dirname(os.path.abspath(__file__)) ...@@ -21,7 +21,7 @@ current_dir = os.path.dirname(os.path.abspath(__file__))
csv_file_path = os.path.join(current_dir, '../../../测试数据/会议室管理/功能管理模块/功能删除.csv') csv_file_path = os.path.join(current_dir, '../../../测试数据/会议室管理/功能管理模块/功能删除.csv')
class Function_Delete_000x: class Function_Delete_000x:
tags = ['会议室功能管理' , '后台管理功能'] tags = ['会议室功能管理' , '后台管理功能','预定系统功能']
""" """
执行指令: 执行指令:
1.cd 预定系统 1.cd 预定系统
......
...@@ -21,7 +21,7 @@ current_dir = os.path.dirname(os.path.abspath(__file__)) ...@@ -21,7 +21,7 @@ current_dir = os.path.dirname(os.path.abspath(__file__))
csv_file_path = os.path.join(current_dir, '../../../测试数据/会议室管理/功能管理模块/功能查询.csv') csv_file_path = os.path.join(current_dir, '../../../测试数据/会议室管理/功能管理模块/功能查询.csv')
class Function_Query_000x: class Function_Query_000x:
tags = ['会议室功能管理' , '后台管理功能'] tags = ['会议室功能管理' , '后台管理功能','预定系统功能']
""" """
执行指令: 执行指令:
1.cd 预定系统 1.cd 预定系统
......
...@@ -21,7 +21,7 @@ current_dir = os.path.dirname(os.path.abspath(__file__)) ...@@ -21,7 +21,7 @@ current_dir = os.path.dirname(os.path.abspath(__file__))
csv_file_path = os.path.join(current_dir, '../../../测试数据/会议室管理/功能管理模块/功能编辑.csv') csv_file_path = os.path.join(current_dir, '../../../测试数据/会议室管理/功能管理模块/功能编辑.csv')
class Function_Edit_000x: class Function_Edit_000x:
tags = ['会议室功能管理' , '后台管理功能'] tags = ['会议室功能管理' , '后台管理功能','预定系统功能']
""" """
执行指令: 执行指令:
1.cd 预定系统 1.cd 预定系统
......
...@@ -21,7 +21,7 @@ current_dir = os.path.dirname(os.path.abspath(__file__)) ...@@ -21,7 +21,7 @@ current_dir = os.path.dirname(os.path.abspath(__file__))
csv_file_path = os.path.join(current_dir, '../../../测试数据/会议室管理/区域管理模块/区域新增.csv') csv_file_path = os.path.join(current_dir, '../../../测试数据/会议室管理/区域管理模块/区域新增.csv')
class Area_Add_000x: class Area_Add_000x:
tags = ['区域管理功能' , '后台管理功能'] tags = ['区域管理功能' , '后台管理功能','预定系统功能']
""" """
执行指令: 执行指令:
1.cd 预定系统 1.cd 预定系统
......
...@@ -21,7 +21,7 @@ current_dir = os.path.dirname(os.path.abspath(__file__)) ...@@ -21,7 +21,7 @@ current_dir = os.path.dirname(os.path.abspath(__file__))
csv_file_path = os.path.join(current_dir, '../../../测试数据/会议室管理/区域管理模块/区域删除.csv') csv_file_path = os.path.join(current_dir, '../../../测试数据/会议室管理/区域管理模块/区域删除.csv')
class Area_Delete_000x: class Area_Delete_000x:
tags = ['区域管理功能' , '后台管理功能'] tags = ['区域管理功能' , '后台管理功能','预定系统功能']
""" """
执行指令: 执行指令:
1.cd 预定系统 1.cd 预定系统
......
...@@ -21,7 +21,7 @@ current_dir = os.path.dirname(os.path.abspath(__file__)) ...@@ -21,7 +21,7 @@ current_dir = os.path.dirname(os.path.abspath(__file__))
csv_file_path = os.path.join(current_dir, '../../../测试数据/会议室管理/区域管理模块/区域编辑.csv') csv_file_path = os.path.join(current_dir, '../../../测试数据/会议室管理/区域管理模块/区域编辑.csv')
class Area_Edit_000x: class Area_Edit_000x:
tags = ['区域管理功能' , '后台管理功能'] tags = ['区域管理功能' , '后台管理功能','预定系统功能']
""" """
执行指令: 执行指令:
1.cd 预定系统 1.cd 预定系统
......
...@@ -25,7 +25,7 @@ current_dir = os.path.dirname(os.path.abspath(__file__)) ...@@ -25,7 +25,7 @@ current_dir = os.path.dirname(os.path.abspath(__file__))
csv_file_path = os.path.join(current_dir, '../../测试数据/登录模块/账号密码登录.csv') csv_file_path = os.path.join(current_dir, '../../测试数据/登录模块/账号密码登录.csv')
class Login_00x: class Login_00x:
tags = ['登录功能' , '后台管理功能'] tags = ['登录功能' , '后台管理功能','预定系统功能']
""" """
执行指令是: 执行指令是:
1.cd 预定系统 1.cd 预定系统
......
...@@ -20,7 +20,7 @@ current_dir = os.path.dirname(os.path.abspath(__file__)) ...@@ -20,7 +20,7 @@ current_dir = os.path.dirname(os.path.abspath(__file__))
csv_file_path = os.path.join(current_dir, '../../测试数据/系统设置模块/系统设置.csv') csv_file_path = os.path.join(current_dir, '../../测试数据/系统设置模块/系统设置.csv')
class System_Setting_000x: class System_Setting_000x:
tags = ['系统设置功能'] tags = ['系统设置功能','预定系统功能']
""" """
执行指令: 执行指令:
1.cd 预定系统 1.cd 预定系统
......
...@@ -32,7 +32,7 @@ logging.basicConfig( ...@@ -32,7 +32,7 @@ logging.basicConfig(
class User_Chanage_Pwd_000x: class User_Chanage_Pwd_000x:
tags = ['用户管理功能' , '后台管理功能'] tags = ['用户管理功能' , '后台管理功能','预定系统功能']
""" """
执行指令: 执行指令:
1.cd 预定系统 1.cd 预定系统
......
...@@ -31,7 +31,7 @@ logging.basicConfig( ...@@ -31,7 +31,7 @@ logging.basicConfig(
) )
class Add_User_000x: class Add_User_000x:
tags = ['用户管理功能' , '后台管理功能'] tags = ['用户管理功能' , '后台管理功能','预定系统功能']
""" """
执行指令: 执行指令:
1.cd 预定系统 1.cd 预定系统
......
...@@ -27,7 +27,7 @@ logging.basicConfig( ...@@ -27,7 +27,7 @@ logging.basicConfig(
) )
class Query_User_000x: class Query_User_000x:
tags = ['用户管理功能' , '后台管理功能'] tags = ['用户管理功能' , '后台管理功能','预定系统功能']
""" """
执行指令: 执行指令:
1.cd 预定系统 1.cd 预定系统
......
...@@ -27,7 +27,7 @@ logging.basicConfig( ...@@ -27,7 +27,7 @@ logging.basicConfig(
) )
class Delete_User_000x: class Delete_User_000x:
tags = ['用户管理功能' , '后台管理功能'] tags = ['用户管理功能' , '后台管理功能','预定系统功能']
""" """
执行指令: 执行指令:
1.cd 预定系统 1.cd 预定系统
......
...@@ -31,7 +31,7 @@ logging.basicConfig( ...@@ -31,7 +31,7 @@ logging.basicConfig(
) )
class User_Status_000x: class User_Status_000x:
tags = ['用户管理功能' , '后台管理功能'] tags = ['用户管理功能' , '后台管理功能','预定系统功能']
""" """
执行指令: 执行指令:
1.cd 预定系统 1.cd 预定系统
......
...@@ -31,7 +31,7 @@ logging.basicConfig( ...@@ -31,7 +31,7 @@ logging.basicConfig(
) )
class User_Edit_000x: class User_Edit_000x:
tags = ['用户管理功能' , '后台管理功能'] tags = ['用户管理功能' , '后台管理功能','预定系统功能']
""" """
执行指令: 执行指令:
1.cd 预定系统 1.cd 预定系统
......
...@@ -15,7 +15,7 @@ current_dir = os.path.dirname(os.path.abspath(__file__)) ...@@ -15,7 +15,7 @@ current_dir = os.path.dirname(os.path.abspath(__file__))
csv_file_path = os.path.join(current_dir, '../../../测试数据/账号管理/部门管理模块/部门编辑.csv') csv_file_path = os.path.join(current_dir, '../../../测试数据/账号管理/部门管理模块/部门编辑.csv')
class Department_Edit_000x: class Department_Edit_000x:
tags = ['部门管理功能' , '后台管理功能'] tags = ['部门管理功能' , '后台管理功能','预定系统功能']
""" """
执行指令: 执行指令:
1.cd 预定系统 1.cd 预定系统
......
...@@ -20,7 +20,7 @@ class Main_Department_Manage_000x: ...@@ -20,7 +20,7 @@ class Main_Department_Manage_000x:
1.cd 预定系统 1.cd 预定系统
2.hytest --report_title 部门主流程测试报告 --test 部门主流程_0** 2.hytest --report_title 部门主流程测试报告 --test 部门主流程_0**
""" """
tags = ['部门管理功能' , '后台管理功能'] tags = ['部门管理功能' , '后台管理功能','预定系统功能']
ddt_cases = read_csv_data(csv_file_path) ddt_cases = read_csv_data(csv_file_path)
def teststeps(self): def teststeps(self):
......
...@@ -15,7 +15,7 @@ current_dir = os.path.dirname(os.path.abspath(__file__)) ...@@ -15,7 +15,7 @@ current_dir = os.path.dirname(os.path.abspath(__file__))
csv_file_path = os.path.join(current_dir, '../../../测试数据/账号管理/部门管理模块/部门新增.csv') csv_file_path = os.path.join(current_dir, '../../../测试数据/账号管理/部门管理模块/部门新增.csv')
class Department_Add_000x: class Department_Add_000x:
tags = ['部门管理功能' , '后台管理功能'] tags = ['部门管理功能' , '后台管理功能','预定系统功能']
""" """
执行指令: 执行指令:
1.cd 预定系统 1.cd 预定系统
......
...@@ -15,7 +15,7 @@ current_dir = os.path.dirname(os.path.abspath(__file__)) ...@@ -15,7 +15,7 @@ current_dir = os.path.dirname(os.path.abspath(__file__))
csv_file_path = os.path.join(current_dir, '../../../测试数据/账号管理/部门管理模块/部门删除.csv') csv_file_path = os.path.join(current_dir, '../../../测试数据/账号管理/部门管理模块/部门删除.csv')
class Department_Add_000x: class Department_Add_000x:
tags = ['部门管理功能' , '后台管理功能'] tags = ['部门管理功能' , '后台管理功能','预定系统功能']
""" """
执行指令: 执行指令:
1.cd 预定系统 1.cd 预定系统
......
...@@ -15,7 +15,7 @@ current_dir = os.path.dirname(os.path.abspath(__file__)) ...@@ -15,7 +15,7 @@ current_dir = os.path.dirname(os.path.abspath(__file__))
csv_file_path = os.path.join(current_dir, '../../../测试数据/账号管理/部门管理模块/部门查询.csv') csv_file_path = os.path.join(current_dir, '../../../测试数据/账号管理/部门管理模块/部门查询.csv')
class Department_Query_000x: class Department_Query_000x:
tags = ['部门管理功能' , '后台管理功能'] tags = ['部门管理功能' , '后台管理功能','预定系统功能']
""" """
执行指令: 执行指令:
1.cd 预定系统 1.cd 预定系统
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论