robotframework-demo/Project/task4/Resource/RE4_CDP/ElementPath.robot

284 lines
36 KiB
Plaintext
Raw Normal View History

2023-12-14 03:19:52 +00:00
*** Variables ***
${Button_ProtectConfig} xpath=//button[text()="配置保护"] # 黑方主界面—磁盘信息栏—配置保护按钮
${Protect_Parameter} xpath=//h4[text()="添加保护"]/../..//a[text()="保护参数"] # 配置保护—添加保护弹窗—保护参数
${policyConfig_warnvalues} xpath=//input[@ng-model='policyConfig.warnvalues'] # 配置保护—添加保护—保护参数—io空间告警率输入框
${Snap_Retain_Min} xpath=//div[@id="schedule-add"]//label[@ng-click="changeCycle(1)"]//input # 配置保护—添加保护—快照设置—以分钟为循环周期
${Add_Protect_Policy} id=addVolumeBtn # 配置保护—添加保护—添加按钮
${Input_Search_Hostname} xpath=//input[@id="inputSuccess2"] # 黑方主界面—持续数据保护栏—代理名称搜索框
${Start_Recovery_Mode} xpath=//*[text()="启用恢复模式"] # 黑方主界面—持续数据保护栏—启用恢复模式
${Button_sure_common} xpath=//a[text()="确定"] # 黑方主界面—持续数据保护栏—确定
${CDP_Iframe} xpath=//iframe[@ng-src="./cdp/cdpmodule.htm"] # 黑方主界面—CDPiframe框架
${Button_Refresh} xpath=//*[@id="cdp_diskInfo_diskRecovery_btn"]/../..//span[text()="刷新"] # 黑方主界面—磁盘信息—刷新按钮
${Snapshot_Manage} xpath=//li[text()="快照管理"] # 黑方主界面—持续数据保护栏—快照管理
${First_Snapshot} xpath=//tr[@class=" ev_dhx_web"]/td[1] # 黑方主界面—持续数据保护栏—快照管理—第一行快照
${Mount_Snapshot} xpath=//button[text()="快照挂载"] # 持续数据保护栏—快照管理—快照挂载按钮
${Mount_Disk} xpath=//tr[@class=" ev_dhx_web"]/td[1]/img # 持续数据保护栏—快照管理—挂载弹框—挂载磁盘勾选框
${Mount_Nextstep} xpath=//button[@ng-click="snapMountNext()"] # 持续数据保护栏—快照管理—挂载弹框—下一步按钮
${Button_Mount} xpath=//button[text()="挂载"] # 持续数据保护栏—快照管理—挂载弹框—挂载按钮
${Confirm_Mount} xpath=//h4[text()="成功"]/../..//button[text()="确定"] # 快照挂载成功弹框—确定按钮
${Disk_Info} xpath=//li[text()="磁盘信息"] # 黑方主界面—持续数据保护栏—磁盘信息
${Confirm_Stop_Sucess} xpath=//*[@id="cdp_protection_tips_confirm"] # 保护操作—停止保护弹窗—确定按钮
${Confim_Delete} xpath=//button[text()="删除"] # 删除保护弹窗—删除按钮
${Confirm_Delete_Success} xpath=//*[@id="cdp_protection_tips_confirm"] # 保护操作—删除保护弹窗—确定按钮
${Status_Protected} xpath=//div[contains(text(),"保护状态:保护中")] # 持续数据保护栏—磁盘信息—保护中
${Snap_KeepTime} xpath=//span[text()="已保留天数1"] # 配置保护—保护参数—IO日志保留天数
${Mount_Disk_E} xpath=//td[contains(text(),"磁盘1")]/../td[1]/img # 持续数据保护栏—快照管理—挂载弹框—磁盘E勾选框
${Protected_Time} xpath=//div[@class="col-sm-6 ng-binding"]/strong # 黑方主界面—磁盘信息栏—保护起始时间
${Button_Close} xpath=//h4[text()="详情"]/../..//button[text()="关闭"] # 配置保护—详情弹窗—关闭按钮
${More_Protect_Parameter} xpath=//h4[text()="详情"]/../..//a[text()="保护参数"] # 配置保护—详情弹窗—保护参数
${Confirm_Pause_Sucess} xpath=//*[@id="cdp_protection_tips_confirm"] # 保护操作—暂停保护弹窗—确定按钮
${Confirm_Resume_Sucess} xpath=//*[@id="cdp_protection_tips_confirm"] # 保护操作—恢复保护弹窗—确定按钮
${Confirm_Start_Sucess} xpath=//*[@id="tipsPop_define_btn"] # 保护操作—启动保护弹窗—确定按钮
${Confirm_Delete_Sucess} xpath=//p[text()="删除成功"]/../..//button[text()="确定"] #快照管理—删除快照弹出框—确定按钮
${Confirm_Umount_Sucess} xpath=//p[text()="卸载成功"]/../..//button[text()="确定"] #快照管理—快照卸载弹出框—确定按钮
${Umount_Snap} xpath=//*[@ng-click="umountSnap()"] #快照卸载
${Btn_Mount_Disk} xpath=//button[text()="磁盘挂载"] #持续数据保护栏—磁盘挂载
${DiskMount_NextStep} xpath=//*[@id="mountGuide"]/div[2]/div/div[2]/div[3]/button[2] #磁盘挂载—选择时间点下一步
${DiskMount_NextStep2} xpath=//*[@id="mountGuide"]/div[2]/div/div[3]/div[2]/button[2] #磁盘挂载—选择挂载磁盘界面—下一步按钮
${Btn_DiskMount} xpath=//*[@ng-click="mount()"] #磁盘挂载—选择挂载主机—磁盘挂载按钮
${DiskMount_Sucess} xpath=//p[text()="挂载消息已发送"]/../../div[3]/button #磁盘挂载弹出框—确认按钮
${Check_FileRestore} xpath=//*[@id="cdpSnapDetails"]/..//tbody/tr[1]/td[text()="详细信息"] #磁盘恢复—恢复详情界面—详细信息按钮
${FileRestore_Sucess} xpath=//p[text()="文件恢复消息已发送"]/../..//button[text()="确定"] #磁盘恢复弹出框—确认按钮
${Finish_FileRestore} xpath=//*[@ng-click="restoreFile(currentAgent.id, data)"] #磁盘恢复—同名文件处理界面—确定按钮
${FileRestore_NextStep} xpath=//button[text()="下一步"] #磁盘恢复—选择恢复文件界面—下一步按钮
${Btn_FileRestore} xpath=//button[text()="文件恢复"] #挂载恢复—文件恢复选择主机界面—文件恢复按钮
${Btn_RecoveryDetails} xpath=//*[@id="cdpSnapDetails"]/div[2]/div/div[3]/button #磁盘恢复—恢复详情界面—确定按钮
${Tunnel_Name} xpath=//span[contains(text(),"来自")]/../..//td[1] # 持续数据保护栏—管道名称前+号
${Tunnel_CDP_Bk} xpath=//span[contains(text(),"来自")]/../../..//span[text()="实时备份"]/../../td[1] # 持续数据保护栏—管道—实时代理前+号
${Sync_Tunnel_Name} xpath=//span[contains(text(),"sou-des")]/../../td[1]/div # 持续数据保护栏—同步管道名称前+号
${CDP_Tunnel_Name} xpath=//span[contains(text(),"sou-des")]/../../..//span[@id="实时备份"]/../../td[1]/div # 持续数据保护栏—同步管道名称—实时同步前+号
${Btn_Auth} xpath=//*[@ng-click="beforeFileInBtn()"] #系统设置—产品授权管理界面—导入授权文件按钮
${Auth_Sucess} xpath=//p[text()="导入成功"]/../..//button[text()="确定"] #导入授权成功界面—确认按钮
${SYNC} xpath=//*[@id="sideNav_sync"] #黑方主界面—异地灾备界面
${Mange_Channel} xpath=//span[text()="管道管理 "] #异地灾备—管道管理
${Create_NewChannel} xpath=//span[text()="新建同步管道"] #异地灾备界面—新建同步管道
${Input_ChannelOrginName} xpath=.//*[@id="channel_source"] #异地灾备界面—新建同步管道—源节点名称输入框
${Input_ChannelTargetName} xpath=.//*[@id='channel_target'] #异地灾备界面—新建同步管道界面—目标节点名称输入框
${Input_ChannelName} xpath=.//*[@id='channel_prop'] #异地灾备界面—新建同步管道界面—管道名称输入框
${Input_ChannelOraginIP} xpath=//*[@id="source_ip"] #异地灾备界面—新建同步管道界面—源端IP输入框
${Input_ChannelTargetIP} xpath=.//*[@id='target_ip'] #异地灾备界面—新建同步管道界面—目标端IP输入框
${Input_TargetUserName} xpath=.//*[@id='username'] #异地灾备界面—新建同步管道界面—目标端用户名输入框
${Input_TargetPwd} xpath=.//*[@id='password_mask'] #异地灾备界面—新建同步管道界面—目标端密码输入框
${Btn_FinishChannel} xpath=//*[@ng-click="finish_add_channel()"] #异地灾备界面—创建同步管道界面—完成按钮
${Btn_AddTask} xpath=//*[@ng-click="addTask()"] #异地灾备界面—添加任务按钮
${Seletct_TaskType} xpath=//*[@id="diag_sync_task"]/div/div/div[2]/div/div/span[3] #异地灾备界面—添加任务—选择实时保护任务类型
${Input_SyncTaskName} xpath=.//*[@id="task_name"] #异地灾备界面—添加同步任务—任务名输入框
${SyncTask_NextStep} xpath=.//*[@id='diag_sync_task']/div/div/div[3]/div[2]/div[4]/button[4] #异地灾备界面—添加同步任务界面—下一步按钮
${Select_Stroe} xpath=//*[@id="manualAssignment"] #异地灾备界面—添加同步任务界面—手动指定存储
${Input_channel_compress} xpath=//*[@id="channel_compress"] #异地灾备界面—添加同步任务界面—加密
${Input_channel_encryption} xpath=//*[@id="channel_encryption"] #异地灾备界面—添加同步任务界面—压缩
${Sucess_SyncTask} xpath=//p[text()="启动成功"]/../../div[3]/button #异地灾备界面—同步任务启动成功
${Btn_ConfirmDelete} xpath=//*[@id="diag_sync_task"]/div/div/div[5]/button[2] #异地灾备界面—删除同步任务—确认按钮
${Btn_SucessDelete} xpath=//p[text()="删除成功!"]/../../div[3]/button #异地灾备界面—删除同步任务成功
${Sucess_StopTask} xpath=//p[text()="停止成功"]/../../div[3]/button #异地灾备界面—同步任务停止成功
${Del_Channel} xpath=//span[text()="删除同步管道"] #异地灾备界面—删除同步管道
${Btn_SucessDelChannel} xpath=//p[text()="删除成功"]/../../div[3]/button #异地灾备界面—删除同步管道成功—确认按钮
${Confirm_DelChannel} xpath=//*[@id="diag_channel"]/div/div/div[3]/button[4] #异地灾备界面—确认删除同步管道
${Button_Refresh_SnapNum} xpath=//button[text()="刷新"] # 持续数据保护栏—挂载恢复功能栏—刷新按钮
${Last_Page} xpath=//div[@ng-click="changeCurPage('last')"] # 实时数据保护栏—快照管理栏—切换页码(尾页)
${First_Snap_Time} xpath=//div[@grid-id="snap"]/div[2]//tbody/tr[2]/td[2] # 持续数据保护栏—快照管理—第一行快照的创建时间
${Mount_Custom_Time} xpath=//*[text()="挂载指定时间点"]/../span/input # 磁盘挂载弹窗—挂载指定时间点选项
${Mount_Custom_Hour} xpath=.//*[@id='mountGuide']/div[2]/div/div[2]/div[2]/div[2]/div[2]/input[1] # 磁盘挂载弹窗—挂载指定时间选项—小时输入框
${Mount_Custom_Min} xpath=.//*[@id='mountGuide']/div[2]/div/div[2]/div[2]/div[2]/div[2]/input[2] # 磁盘挂载弹窗—挂载指定时间选项—分钟输入框
${Mount_Custom_Sec} xpath=.//*[@id='mountGuide']/div[2]/div/div[2]/div[2]/div[2]/div[2]/input[3] # 磁盘挂载弹窗—挂载指定时间选项—秒输入框
${Mount_Custom_NextStep} xpath=//button[@ng-click="mountNext()" and @ng-disabled="partitionChecks.length==0"] # 实时数据保护栏—磁盘信息—磁盘挂载—下一步按钮
${Button_Custom_Mount} xpath=//button[contains(text(),"磁盘挂载") and @ng-click="mount()"] # 实时数据保护栏—磁盘信息—磁盘挂载弹窗—磁盘挂载按钮
${livecd_addRecovery_btn} xpath=//*[@id="livecd_addRecovery_btn"] # 实时保护界面-回迁主机-livecd-新增整机恢复按钮
${regBackup} xpath=//*[@id="backupMode"]/option[2] #配置保护-添加保护-保护参数-备份模式-非连续保护
${Btn_proCancelAdd} xpath=//*[@ng-click="proCancelAdd()"] # 持续数据保护—磁盘信息—取消增量初始化按钮
${Confirm_ProCancel_Add_Success} xpath=//p[text()='消息已发送']/../..//button[text()="确定"] # 保护操作-取消初始化/增量初始化弹窗-确定按钮
${Btn_proCancel} xpath=//*[@ng-click="proCancel()"] # 持续数据保护—磁盘信息—取消初始化按钮
${chk_unselect_part} xpath=//a[text()="确定"] # 磁盘列表-取消保护分区勾选状态弹窗-确定按钮
${Btn_change_protect_save} xpath=//button[text()="保存"] # 磁盘列表-修改保护参数弹窗-保存按钮
${Panel_AgentID} xpath=//*[@id="hover-panel"]/div[1] # 持续数据保护栏-代理悬浮窗-代理ID
${Success_Confirm} xpath=//button[@class="btn btn-primary ok"] # 操作成功确定按钮
${Edit_Protect} xpath=//button[text()="编辑保护"] #主机基本信息-编辑保护按钮版本
${Edit_Policy_Box} xpath=//*[@id="editConfigProtect"] #编辑配置弹框版本
${Edit_Snapshot_Only} xpath=//*[@id="cdp_editConfigProtect_cdpState_kuaizhao_click"] #编辑配置-只编辑快照
${Edit_Policy_All} xpath=//*[@id="cdp_editConfigProtect_cdpState_baohu_click"] #编辑配置-编辑完整策略
${Edit_IO_Only} xpath=//*[@id="cdp_editConfigProtect_cdpState_io_click"] #编辑配置-只编辑IO配置
${Button_EditConfigProtect_Confirm} xpath=//*[@id="editConfigProtect"]/div[2]/button[2] #编辑配置-弹框-确定按钮
${Edit_Snapshot_BOX} xpath=//*[@id="onlySnapshot"] #编辑配置-快照配置弹框
${Edit_Only_Snapshot_Starttime_Data} xpath=//*[@id="onlySnapshot_form_startDate"] #编辑配置-只编辑快照配置-开始时间-日期
${Edit_Only_Snapshot_Starttime_Time} xpath=//*[@id="onlySnapshot_form_startTime"] #编辑配置-只编辑快照配置-开始时间-时间点
${Edit_Only_Snapshot_Starttime_Data_Today} xpath=//span[@class="laydate-btns-now"] #编辑配置-只编辑快照配置-开始时间-日期-现在
${Edit_Only_Snapshot_Starttime_Time_Now} xpath=//span[@class="laydate-btns-now"] #编辑配置-只编辑快照配置-开始时间-时间-现在
${Edit_Only_Snapshot_Schedule_CycInterval} xpath=//*[@id="cdp_onlySnapshot_form_cycInterval_input"] #编辑配置-只编辑快照配置-快照间隔-周期
${Edit_Only_Snapshot_Schedule_CycType} xpath=//*[@id="cdp_onlySnapshot_form_cycType_select"] #编辑配置-只编辑快照配置-快照间隔-单位
${Edit_Only_Snapshot_Schedule_CycType_Min} xpath=//*[@id="cdp_onlySnapshot_form_cycType_select"]/option[text()="分钟"] #编辑配置-只编辑快照配置-快照间隔-单位-分钟
${Edit_Only_Snapshot_Schedule_CycType_Hour} xpath=//*[@id="cdp_onlySnapshot_form_cycType_select"]/option[text()="小时"] #编辑配置-只编辑快照配置-快照间隔-单位-分钟
${Button_HandleOnlySnapshot_Confirm} xpath=//*[@id="onlySnapshot"]/div[2]/button[2] #编辑配置-只编辑快照配置-确定按钮
${Input_Only_Snapshot_SnapMaxNum} xpath=//*[@id="cdp_onlysnap_snapMaxNum_input"] #编辑配置-只编辑快照配置-最大保留快照数
${Edit_Ok_Alert} xpath=//*[@id="alertMargin"]/div #编辑配置-编辑成功弹框
${Button_Edit_Ok_Alert} xpath=//*[@id="tipsPop_define_btn"] #编辑配置-编辑成功弹框-确定按钮
${Protect_Perform} xpath=//*[@id="cdp_diskInfo_caret_span"] #持续保护栏-代理页面-保护操作(···)版本
${Pause_Protect} xpath=//*[@id="cdp_diskInfo_cdpState_pause_span"] #持续保护栏-代理页面-保护操作-暂停保护版本
${Resume_Protect} xpath=//*[@id="cdp_diskInfo_cdpState_resume_span"] #持续保护栏-代理页面-保护操作-恢复保护版本
${Stop_Protect} xpath=//*[@id="cdp_diskInfo_cdpState_stop_span"] #持续保护栏-代理页面-保护操作-停止保护版本
${Start_Protect} xpath=//*[@id="cdp_diskInfo_cdpState_start_span"] #持续保护栏-代理页面-保护操作-启动保护版本
${Delete_Protect} xpath=//*[@id="cdp_diskInfo_cdpState_delete_span"] #持续保护栏-代理页面-保护操作-删除保护版本
${Resume_cdp} xpath=//*[@id="cdp_diskInfo_diskRecovery_btn"] #持续保护栏-代理页面-恢复按钮版本
${ResumePoint_Lately} xpath=//*[@id="diskRecovery-lately"] #磁盘恢复-选择时间点-最近时间点版本
${ResumePoint_Appoint} xpath=//*[@id="diskRecovery-appoint"] #磁盘恢复-选择时间点-指定时间点版本
${ResumePoint_Timechoice} xpath=//*[@id="diskRecoveryPoint-date"] #选择时间点-指定时间点-时间选择版本
${ResumePoint_Snapshot} xpath=//*[@id="diskRecovery-snapshot"] #磁盘恢复-选择时间点-指定快照版本
${ResumePoint_next} xpath=//*[@id="diskRecovery"]/div[2]/button[3] #磁盘恢复-选择时间点-下一步版本
${ResumeBasic_Rmode} xpath=//*[@id="cdp_diskRecovery_recoveryMode_select"] #磁盘恢复-基础配置-选择恢复方式版本
${ResumeBasic_Target} xpath=//*[@id="cdp_diskRecovery_targetHost_select"] #磁盘恢复-基础配置-选择目标机版本
${ResumeBasic_Tmode} xpath=//*[@id="cdp_diskRecovery_transmissionMode_select"] #磁盘恢复-基础配置-数据传输模式版本
${ResumeBasic_Tunnel} xpath=//*[@id="cdp_diskRecovery_diskRecoveryChannel_select"] #磁盘恢复-基础配置-数据通道版本
${ResumeBasic_Compress} xpath=//*[@id="diskRecovery_checkbox"] #磁盘恢复-基础配置-OSVI恢复压缩模式版本
${ResumeBasic_Tdisk} xpath=//*[@id="cdp_disk_select"] #磁盘恢复-基础配置-目标端选择弹窗-选择目标端磁盘版本
${ResumeBasic_Ts_Confirm} xpath=//*[@id="targerChange"]/div[2]/button[2] #磁盘恢复-基础配置-目标端选择弹窗-确认版本
${ResumeBasic_Confirm} xpath=//*[@id="diskRecovery"]/div[2]/button[4] #磁盘恢复-基础配置-确认版
${Diskinfo_snapshot_cycle} xpath=//*[@id="cdp_changeTab_snapshotCycle_div"]/span #主机信息-基本信息-快照周期
${Button_DiskInfoRefresh} xpath=//*[@id="cdp_diskInfo_diskRecovery_btn"]/../..//span[text()="刷新"] #主机信息-基本信息-刷新按钮
${Edit_OnlyIoNote_BOX} xpath=//*[@id="onlyIoNote"] #编辑配置-只编辑IO配置弹框
${Edit_IoPolicy_IoReserveDays} xpath=//*[@id="cdp_onlyIoNote_ioReserveDays_input"] #编辑配置-只编辑IO配置-IO日志最大保留天数输入框
${Edit_IoPolicy_IoNoteSpace_SelectValue} xpath=//*[@id="cdp_onlyIoNote_ioNoteSpace_select"] #编辑配置-只编辑IO配置-IO日志空间选项
${Edit_IoPolicy_IoNoteSpace_SelectValue_Default} xpath=//*[@id="cdp_onlyIoNote_ioNoteSpace_select"]/option[text()="默认"] #编辑配置-只编辑IO配置-IO日志空间选项-默认
${Edit_IoPolicy_IoNoteSpace_SelectValue_Custom} xpath=//*[@id="cdp_onlyIoNote_ioNoteSpace_select"]/option[text()="自定义"] #编辑配置-只编辑IO配置-IO日志空间选项-自定义
${Edit_IoPolicy_IoNoteSpace_SelectValue_Minute} xpath=//*[@id="cdp_onlyIoNote_ioNoteSpace_select"]/option[text()="最小值"] #编辑配置-只编辑IO配置-IO日志空间选项-最小值
${Edit_IoPolicy_IoMaxSize} xpath=//*[@id="cdp_onlyIoNote_ioMaxSize_input"] #编辑配置-只编辑IO配置-IO日志空间输入框
${Edit_IoPolicy_WarnValues} xpath=//*[@id="cdp_onlyIoNote_warnValues_input"] #编辑配置-只编辑IO配置-自动发送告警阈值
${Edit_IoPolicy_PauseValues} xpath=//*[@id="cdp_onlyIoNote_pauseValues_input"] #编辑配置-只编辑IO配置-自动暂停阈值
${Edit_IoPolicy_ResumeValues} xpath=//*[@id="cdp_onlyIoNote_resumeValues_input"] #编辑配置-只编辑IO配置-自动恢复保护阈值
${Button_HandleOnlyIoNote_Confirm} xpath=//*[@id="cdp_onlyIoNote_handleOnlyIoNoteConfirm_button"] #编辑配置-只编辑IO配置-确认编辑按钮
${Button_DiskMount} xpath=//button[text()="磁盘挂载"] #主机信息-磁盘挂载按钮
${DiskMount_Setting_BOX} xpath=//*[@id="diskMount"] #主机信息-磁盘挂载配置弹框
${Cdp_DiskMount_TargetHost_Input} xpath=//*[@id="cdp_diskMount_targetHost_input"] #主机信息-磁盘挂载-选择主机框
${DiskMount_ChooseTargetHost} xpath=//*[@id="diskMount_chooseTargetHost"] #主机信息-磁盘挂载-选择目标主机-模板主机筛选框
${Button_HandleChooseTargetHost_Confirm} xpath=//*[@id="diskMount_chooseTargetHost"]/div[3]/button[2] #主机信息-磁盘挂载-选择目标主机-确定按钮
${Cdp_DiskMount_DataChannel_Input} xpath=//*[@id="cdp_diskMount_dataChannel_input"] #磁盘挂载-选择数据通道
${DiskMountBackupType_Latest} xpath=//*[@id="fullBackup"] #磁盘挂载-最近时间点选项
${DiskMountBackupType_Sign} xpath=//*[@id="fullBackup1"] #磁盘挂载-指定时间点选项
${DiskMountBackupType_Snap} xpath=//*[@id="fullBackup2"] #磁盘挂载-快照时间点选项
${DiskMount_SpecifiedTime} xpath=//*[@id="diskMount_specifiedTime"] #磁盘挂载-指定时间点-选择时间框
${Laydate-btns-now} xpath=//*[@id="app"]//span[text()='现在'] #磁盘挂载-指定时间挂载-选择现在
${Backup_Disk_All} xpath=//*[@id="backup_disk_all"] #主机信息-磁盘挂载-选择所有磁盘
${Backup_Disk_Choose} xpath=//*[@id="backup_disk_choose"] #主机信息-磁盘挂载-选择所有磁盘
${DiskMount_LayTableAllChoose} xpath=//*[@id="diskMount"]//span[text()='设备']/../../../th[1]/div[1]/div[1]/i[1] #磁盘挂载-指定磁盘-全选磁盘框
${HandleDiskMount_confirm} xpath=//*[@id="diskMount"]//button[text()='确定'] #主机信息-磁盘挂载-确定挂载按钮
${DiskMount_Microsecond} xpath=//*[@id="diskMount_microsecond"] #磁盘挂载-指定时间-输入微秒信息
${Cdp_DiskMount_ChooseSnopshot_input} xpath=//*[@id="cdp_diskMount_chooseSnopshot_input"] #磁盘挂载-指定快照-选择快照框
${DiskMount_ChooseSnopshot} xpath=//*[@id="diskMount_chooseSnopshot"] #磁盘挂载-指定快照挂载-快照列表框
${HandleChooseSnopshot_Confirm} xpath=//*[@id="diskMount_chooseSnopshot"]//button[text()='确定'] #磁盘挂载-指定快照挂载-选择快照页面确定按钮
${HandleCdpStateShowBtn_CreatSnapshot} xpath=//*[@id="cdp_diskInfo_cdpState_creatSnapshot_span"] #主机信息-更多-创建快照按钮
${CreatSnapshot_Box} xpath=//*[@id="creatSnapshot"] #主机信息-创建快照弹框
${CreatSnapshot_Input} xpath=//*[@id="creatSnapshot"]/div[1]/div[1]/input #主机信息-创建快照-快照名称输入框
${CreatSnapshot_Comment_Input} xpath=//*[@id="creatSnapshot"]/div[1]/div[2]/textarea #主机信息-创建快照-快照备注输入框
${HandleCreatSnapshot_Confirm} xpath=//*[@id="creatSnapshot"]//button[text()='确定'] #主机信息-创建快照-确定按钮
${Create_Snapshot_Ok_Box} xpath=//div[text()='创建成功'] #主机管理-创建快照-创建成功
${Button_Create_Snapshot_Ok_Confirm} xpath=//div[text()='创建成功']/../div[3]/a[1] #主机信息-创建快照-创建成功-确定按钮
${SnapTimeRange_Input} xpath=//*[@id="cdpContent"]//span[text()='快照名'] #快照管理-快照名
${Snapshot_Manage_Name} xpath=//*[@id="cdpContent"]//div[contains(text(),"${Snap_Name1}")] #快照管理-快照信息-快照名称
${Tab_Disk_Mount_Point} xpath=//*[@id="cdpContent"]//span[text()='挂载点'] #主机信息-挂载点tab页
${Tab_Basic_Info} xpath=//*[@id="cdpContent"]//span[text()='日志']/../..//span[text()='基本信息'] #主机信息-基本信息tab页
${Tab_Snapshot_Manage} xpath=//*[@id="cdpContent"]//span[text()='快照管理'] #主机信息-快照管理tab页
${Tab_Job_Manage} xpath=//*[@id="cdpContent"]//span[text()='作业管理'] #主机信息-作业管理tab页
${Button_Snapshot_Manage_Delete} xpath=//*[@id="cdpContent"]//div[text()='${Snap_Name1}']/../../td[5]/div[1]/div[1]/span[1] #快照管理-快照列表-删除按钮
${Box_Delete_Snapshot_Confirm} xpath=//*[@id="unaryLayer"] #快照管理-确认删除快照弹框
${Button_Delete_Snapshot_Confirm} xpath=//*[@id="unaryLayer"]/../..//a[text()='确认'] #快照管理-确认删除快照弹框-确认按钮
${Box_Delete_Snapshot_Ok} xpath=//*[@id="unaryLayer"]/div[1]/div[1]/i #快照管理-确认删除-删除成功弹框
${Button_Snapsho_delete_Ok_Confirm} xpath=//*[@id="tipsPop_define_btn"] #删除成功弹框确认按钮
${Box_DiskRecovery} xpath=//*[@id="diskRecovery"] #主机信息-恢复-磁盘恢复弹框
${CDP_agent} xpath=//*[@id="disk_info"]//span[text()='在线'] #主机信息-代理状态-在线
${About_Info} xpath=//*[@id="sideNav_about"] #首页-信息与帮助栏
${Box_Disk_Mount_Success} xpath=//*[@id="app"]//div[text()='挂载成功'] #磁盘挂载-挂载成功弹框
${Button_Disk_Mount_Success_Confirm} xpath=//*[@id="app"]//div[text()='挂载成功']/..//div[3]/a[1] #磁盘挂载-挂载成功弹框-确定按钮
${Button_Diskmountpoint_Search} xpath=//*[@id="cdp_mount_searchMountTime_button"] #挂载点-查找按钮
${Tbl_Diskmountpoint_Search} xpath=//*[@id="cdpContent"]/div[2]/div[2]/div[1]/div[2]/div/div/div[4]/div[2]/div[1]/div[2]/div/div[2]/table #挂载点-页面挂载列表
${HandleDiskMount_Cancle} xpath=//*[@id="diskMount"]//button[text()='取消'] #主机信息-磁盘挂载-取消挂载按钮
${CDP_Dataprotect} xpath=//*[@id="sideNav_cdp"] #黑方主界面-持续保护栏版本
${Trans_mode} xpath=//select[@ng-model="configProtectInfo.opInfo.type"] # 配置保护—基础配置—数据传输协议
${Next_Page} xpath=//span[text()="下一步"] # 配置保护—下一步
${System_Allocated} xpath=//*[@id="systemAuto"] # 配置保护—基础配置—系统分配
${Manually_Specify} xpath=//*[@id="manualChoose"] # 配置保护—基础配置—手动指定
${Iscsi_Mode} xpath=//select[@ng-model="configProtectInfo.opInfo.type"]/option[text()="iSCSI"] # 配置保护—基础配置—数据传输协议—iscsi传输方式
${FC_Mode} xpath=//select[@ng-model="configProtectInfo.opInfo.type"]/option[text()="Fibre Channel"] # 配置保护—基础配置—数据传输协议—FC传输方式
${Osvi_Mode} xpath=//div[@ng-show="configProtectInfo.opInfo.type==1"]/div/div[2]/div/div/div # 配置保护—基础配置—是否初始化备份使用osvi
${Choose_Encryption} xpath=//*[@id="encryption_checkbox"] # 配置保护—基础配置—OSVI加密选项
${Choose_Compress} xpath=//*[@id="compress_checkbox"] # 配置保护—基础配置—OSVI压缩选项
${Choose_Dedup} xpath=//*[@id="deleteAgain_checkbox"] # 配置保护—基础配置—OSVI重删选项
${Encryption_Way} xpath=//select [@ng-model="encryptionVal"] # 配置保护—基础配置—OSVI加密选项-加密方式
${Encryption_Way_AES256} xpath=//select [@ng-model="encryptionVal"]/option[text()="AES256"] # 配置保护—基础配置—OSVI加密选项-AES256加密方式
${Encryption_Way_sm4} xpath=//select [@ng-model="encryptionVal"]/option[text()="sm4"] # 配置保护—基础配置—OSVI加密选项-SM4加密方式
${Backup_Mode} xpath=//select[@ng-model="configProtectInfo.basicInfo.type"] # 配置保护—基础配置—备份模式
${dr_rtbackup_capacity} xpath=//select[@ng-model="configProtectInfo.basicInfo.type"]/option[1] # 配置保护—基础配置-备份模式-连续保护
${dr_regBackup_capacity} xpath=//select[@ng-model="configProtectInfo.basicInfo.type"]/option[2] # 配置保护—基础配置-备份模式-非连续保护
${choice_time_day} xpath=//*[@id="baseConfig_form_startDate"] # 配置保护—基础配置-点击开始时间-年月日
${start_time_day} xpath=//span[text()="现在"] # 配置保护—基础配置-选择开始时间-年月日
${start_time_day_sure} xpath=//*[@id="layui-laydate1"]/div[2]/div/span[3] # 配置保护—基础配置-确定开始时间-年月日
${choice_time_minute} xpath=//*[@id="baseConfig_form_startTime"] # 配置保护—基础配置-点击开始时间-时分
${start_time_minute} xpath=//span[text()="现在"] # 配置保护—基础配置-选择开始时间-时分
${start_time_minute_sure} xpath=//*[@id="layui-laydate2"]/div[2]/div/span[2] # 配置保护—基础配置-确定开始时间-时分
${Snapshot_Time} xpath=//*[@id="cdp_configProtect_cycInterval_input"] # 配置保护—基础配置-快照间隔
${Snapshot_Set} xpath=//*[@id="cdp_configProtect_cycType_select"] # 配置保护—基础配置-快照间隔-单位
${Snapshot_Set_Hour} xpath=//*[@id="cdp_configProtect_cycType_select"]/option[text()="小时"] # 配置保护—基础配置-快照间隔-小时
${Snapshot_Set_Minute} xpath=//*[@id="cdp_configProtect_cycType_select"]/option[text()="分钟"] # 配置保护—基础配置-快照间隔-分钟
${SnapCount} xpath=//*[@id="cdp_configProtect_snapMaxNum_input"] # 配置保护—基础配置-最大快照保留数
${select_medium_server} xpath=//select[@ng-model="configProtectInfo.storage.mdsId"] # 配置保护—基础配置-选择介质服务器
${select_medium} xpath=//select[@ng-model="configProtectInfo.storage.mediaId"] # 配置保护—基础配置-选择介质
${data_transfer_address} xpath=//select[@ng-model="configProtectInfo.storage.ip"] # 配置保护—基础配置-选择数据传输地址
${IO_Log_Space} xpath=//*[@id="cdp_configProtect_ioNoteSpace_select"] # 配置保护—高级配置—IO日志空间选择
${Select_IO_Default} xpath=//*[@id="cdp_configProtect_ioNoteSpace_select"]/option[text()="默认"] # 配置保护—高级配置—IO日志空间选择-默认
${Select_IO_Custom} xpath=//*[@id="cdp_configProtect_ioNoteSpace_select"]/option[text()="自定义"] # 配置保护—高级配置—IO日志空间选择-自定义
${Input_IO_Custom} xpath=//*[@id="cdp_configProtect_ioMaxSize_input"] # 配置保护—高级配置—IO日志空间选择-自定义
${Select_IO_Min} xpath=//*[@id="cdp_configProtect_ioNoteSpace_select"]/option[text()="最小值"] # 配置保护—高级配置—IO日志空间选择-最小值
${Block_Size} xpath=//*[@id="cdp_configProtect_blockSize_select"] # 配置保护—高级配置—块大小
${Set_Block_Size} xpath=//*[@id="configProtect"]//option[contains(text(),"64")] # 配置保护—高级配置—块大小
${Auto_Alarm} xpath=//*[@id="cdp_configProtect_warnValues_input"] # 配置保护—高级配置—自动发送告警
${Auto_Pause} xpath=//*[@id="cdp_configProtect_pauseValues_input"] # 配置保护—高级配置—自动暂停保护
${Auto_Recover} xpath=//*[@id="cdp_configProtect_resumeValues_input"] # 配置保护—高级配置—自动恢复保护
${Limit_Speed} xpath=//*[@id="cdp_configProtect_speedLimit_input"] # 配置保护—高级配置—限速
${Input_IO_Retain} xpath=//*[@id="cdp_configProtect_ioReserveDays_input"] # 配置保护—高级配置—io日志保留天数输入框
${IO_Log_Space} xpath=//*[@id="cdp_configProtect_ioNoteSpace_select"] # 配置保护—高级配置—IO日志空间选择
${Driver_Mode} xpath=//*[@id="configProtect"]//*[@id="cdp_configProtect_ioPackedFlag_select"] # 配置保护—高级配置—驱动模式
${Immediate_Execution} xpath=//span[text()="完成"] # 配置保护—完成
${Button_Refresh} xpath=//*[@id="cdp_diskInfo_diskRecovery_btn"]/../..//span[text()="刷新"] # 黑方主界面—基本信息—刷新按钮
${Button_sure} xpath=//*[@id="tipsPop_define_btn"] # 配置保护—保存后立即执行-确定
${Button_Edit_ProtectConfig} xpath=//button[text()="编辑保护"] # 黑方主界面—磁盘信息栏-编辑保护按钮
${Click_Protect_Policy} xpath=//div[@ng-class="{active:editConfigProtectActive==='baohu'}"] # 黑方主界面—磁盘信息栏-编辑保护按钮-保护策略
${Click_Sure} xpath=//button[@ng-click="handleEditConfigProtect('confirm')"] # 黑方主界面—磁盘信息栏-编辑保护按钮-保护策略-确认
${Edit_Button_sure} xpath=//*[@id="tipsPop_define_btn"] # 黑方主界面—磁盘信息栏-编辑保护按钮-保护策略—保存后立即执行-确定
${Button_Mount_Point_Search} xpath=//*[@id="cdp_mount_searchMountTime_button"] #挂载点-查找按钮
${Button_Mount_Point_Umount_Confirm} xpath=//*[@id="unaryLayer"]/../../div[3]/a[2] #挂载点-卸载-确认卸载弹框-确认按钮
${Box_Umount_Disk_Success} xpath=//*[@id="unaryLayer"]/div[1]/div[1]/i #挂载点-卸载-卸载成功弹框
${Tab_Log} xpath=//*[@id="cdpContent"]//span[text()='日志'] #主机信息-日志tab页
${Button_Task_Manage_Search} xpath=//*[@id="cdp_task_searchTask_button"] #作业管理-查找按钮
${Production_Machine_Status} xpath=//*[@id="disk_info"]/div/div[2]/div/div/div[3]/div[1]/div/span #配置保护-基本信息-生产机状态
${Input_Agent_Name_CDP} xpath=//*[@id="cdp_searchTree_input"] #保护对象列表-主机名称输入框
${Button_Recovery_TagetDisk_Confirm} xpath=//*[@id="targerChange"]/div[2]/button[2] #整机恢复-目标端磁盘选择-确定按钮
${Select_Recovery_Targetdisk} xpath=//*[@id="cdp_disk_select"] #整机恢复-目标盘选择-选择下拉框
${Button_Edit_Policy_cancle} xpath=//*[@id="editConfigProtect"]/div[2]/button[1] #编辑配置-弹框-关闭按钮
${Button_Snapshot_Manage_Redresh} xpath=//*[@id="cdp_snapshot_refreshSnapshot_button"] #快照管理-刷新快照按钮
${Btn_CreateSnap} xpath=//*[@id="cdp_diskInfo_cdpState_creatSnapshot_span"] #基本信息-...-创建快照
${CreateSnap_Name} xpath=//*[@id="cdp_disk_creatSnapshot_name_input"] #基本信息-...-创建快照--快照名称
${CreateSnap_Note} xpath=//*[@id="cdp_disk_creatSnapshot_comment_textarea"] #基本信息-...-创建快照--快照备注
${Check_auth_UserName} xpath=//*[@id="authentication_userName_input"] #鉴权弹窗-用户名输入框
${Check_auth_Passwd} xpath=//*[@id="authentication_userPwd_input"] #鉴权弹窗-密码输入框
${Check_auth_confirm} xpath=//*[@id="authentication_confirm_btn"] #鉴权弹窗-确定按钮
${Mount_Refresh} xpath=//*[@id="cdp_mount_refreshMount_span"]/span #挂载点tab页-刷新按钮
${Click_DrPolicy_ChoiceTime} xpath=//*[@id="takeOverRehearseSelectTimeDiv"] #应用容灾界面—策略管理—手动演练/接管—指定时间点-选择时间点
${Click_DrPolicy_TimePoint} xpath=//*[@id="takeOverRehearseSpecifiedTimeRadio"] #应用容灾界面—策略管理—手动演练/接管—指定时间点-选择时间点
${Disk_Info_Snapshot} xpath=//*[@id="disk_info"]//div[contains(text(),"快照数")]//span #主机信息-快照数
${Mode_Protected} xpath=//div[text()="当前保护模式:"]/span # 持续数据保护栏—磁盘信息—当前保护模式
${IO_Use_Space} xpath=//*[@id="onlyIoNote"]/div[1]/div[3]/div[2]/input #IO日志已用空间
${IO_Space} xpath=//*[@id="cdp_onlyIoNote_ioMaxSize_input"] #IO日志空间
${Warning_Manage} xpath=//*[@id="header_alarm_a"] #告警管理
${Warning_CDP} xpath=//*[@id="alarmManage_tab_cdp_li"]/span #告警管理-实时
${Edit_Cancel} xpath=//*[@id="cdp_onlyIoNote_handleOnlyIoNoteCancel_button"] #编辑保护-取消
${CDP_Log} xpath=//*[@id="cdpContent"]/div[2]/div[2]/div[1]/div[1]/ul/li[5]/span #实时代理日志页面
${Button_HandleOnlyIoNote_cancle} xpath=//*[@id="cdp_onlyIoNote_handleOnlyIoNoteCancel_button"] # 编辑配置-只编辑IO配置-取消编辑按钮
${Button_delCdpPolicyOK} xpath=//*[@id="delCdpPolicyOK"] #删除保护弹框OK按钮
${Button_Confirm_Delete_Policy_OK} xpath=//*[@id="unaryLayer"]/../..//a[text()='确认'] #实时确认按钮
${Button_cdp_downloadLogs_define} xpath=//*[@id="cdp_downloadLogs_define_btn"] #保护对象列表-日志下载-确认按钮
${Select_Log_download_timr_range} //*[@id="lastday"] #保护对象列表-日志下载-日期范围
${Button_cdp_downloadLogs_syslog} xpath=//*[@id="cdp_downloadLogs_syslog_btn"] #日志下载-日志类型-系统日志
${Button_cdp_downloadLogs_mdslog} xpath=//*[@id="cdp_downloadLogs_mdslog_btn"] #日志下载-日志类型-mds日志
${Button_cdp_downloadLogs_errlog} xpath=//*[@id="cdp_downloadLogs_errlog_btn"] #日志下载-日志类型-error日志
${Button_cdp_downloadLogs_bluelog} xpath=//*[@id="cdp_downloadLogs_bluelog_btn"] #日志下载-日志类型-蓝屏日志
${Button_cdp_downloadLogs_type} xpath=//*[@id="cdp_downloadLogs_type_btn"] #日志下载-日志类型-引擎日志
${System_Management} xpath=//*[@id="sideNav_system"]//div[text()="系统管理"] # 黑方主界面-系统管理
${ProductAuthorization_Management} xpath=//*[@id="hiddenBody"]//a//span[text()="产品授权管理"] # 黑方主界面-系统管理-产品授权管理
${AssignedAuthorization_CDP} xpath=//*[@id="authorizationTable"]//td[text()="1TB 实时备份容量授权"]/../td[3] # 系统管理-产品授权管理-已分配实时授权