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

处理优化展厅巡检相关流程。

上级 69f952b6
......@@ -135,3 +135,4 @@
- 补充会议审批预约以及取消审批功能的自动化处理。调整会议模板以及历史会议的自动化处理顺序,无需重复初始化浏览器。
- 处理各模块间的执行流程优化。
- 补充会议审批相关功能之间的流程自动化处理,会议审批模块已补充完成。给所有功能模块打上标签,后续通过运行标签的形式调试预定系统整体功能测试流程。
- 处理优化展厅巡检相关流程。
\ No newline at end of file
No preview for this file type
No preview for this file type
No preview for this file type
......@@ -46,3 +46,6 @@ class XF_Meeting_0001:
sleep(2)
safe_click((By.XPATH, "//div[@slot='footer']//span[contains(text(),'确定')]"), wd)
sleep(2)
# 点击二次确认按钮
safe_click((By.XPATH, "//button[@class='el-button el-button--default el-button--small el-button--primary ']//span[contains(text(),'确定')]"), wd)
sleep(2)
\ No newline at end of file
......@@ -24,8 +24,10 @@ class Unified_Platform_0001:
print(f"这是跳转后的窗口句柄{wd.window_handles}")
# 选择融合视讯会议
INFO("选择融合视讯会议")
# 勾选视讯会议默认选择smc会议
safe_click((By.XPATH, "//span[contains(text(),'视讯会议')]"),wd)
sleep(1)
# 选择腾讯会议
safe_click((By.XPATH, "//div[@aria-label='checkbox-group']//label[@class='el-checkbox']//span[@class='el-checkbox__inner']"),wd)
# 选择会议室与参会人
......@@ -110,10 +112,9 @@ class Unified_Platform_0001:
print(f"这是跳转后的窗口句柄{wd.window_handles}")
# 选择会议室
safe_click((By.XPATH, "//div[@class='meeting_area']//div[@class='el-table__fixed-header-wrapper']//div[1]//label[1]//span[1]//span[1]"),wd)
# 选择smc会议
safe_click((By.XPATH, "//span[contains(text(),'视讯会议')]"),wd)
sleep(1)
safe_click((By.XPATH, "//span[@class='el-checkbox__label'][contains(text(),'腾讯会议')]"),wd)
sleep(2)
safe_click((By.XPATH, "//span[contains(text(),'确定创建')]"),wd)
......
......@@ -16,7 +16,7 @@ class Server_monitoring_0001:
def teststeps(self):
i = 0
# 使用示例
url = "https://192.168.5.218:8443/media/file/check.txt"
url = "http://192.168.5.200:8081/media/cmdb/service_info/check.txt"
save_path = "check.txt"
extract_info = ['[m]ysql', '[r]edis', '[f]dfs_storaged', '[f]dfs_tracker', '[e]mqx',
'ubains-meeting-api-1.0-SNAPSHOT.jar', 'ubains-meeting-inner-api-1.0-SNAPSHOT.jar', 'uwsgi']
......
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
name,conference_name,message_name,book_type,issue_name,book_start_time,book_end_time,message_notification,check_text
展厅巡检_001,展厅会议室,展厅巡检测试,普通会议,议题1,08:45,09:00,开会前一天提醒,预定成功
\ No newline at end of file
展厅巡检_001,展厅会议室,展厅巡检测试,普通会议,议题1,08:15,08:30,开会前一天提醒,预定成功
\ No newline at end of file
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论