41 lines
5.2 KiB
Plaintext
41 lines
5.2 KiB
Plaintext
*** Variables ***
|
|
${Archive} xpath=//div[@id="sideNav_archive"] # 黑方主界面—数据归档功能栏
|
|
${Add_Archive_Policy} xpath=//button[@ng-click="openAddPolicy()"] # 数据归档功能栏—任务栏—添加归档策略按钮
|
|
${CDM_Policy} xpath=//span[@ng-click="openAddPolicyDetail('CDM_ARCHIVE')"] # 添加归档按钮—添加归档策略弹窗—副本数据管理
|
|
${Input_Arch_Policy} xpath=//input[@id="PolicyName"] # 添加归档策略弹窗—数据源—策略名输入框
|
|
${Add_To_Right} xpath=//button[@ng-click="addSelectedPolicy()"] # 添加归档策略弹窗—数据源—添加按钮(到右侧)
|
|
${Next_Step} xpath=//button[@ng-click="fw_step_2()"] # 添加归档策略弹窗—数据源—下一步按钮
|
|
${Option_CLZL} xpath=//input[@name="backUpSet" and @value="1"] # 添加归档策略弹窗—选项—备份集范围—存量及增量备份集选项
|
|
${Optiob_ZL} xpath=//input[@name="backUpSet" and @value="0"] # 添加归档策略弹窗—选项—备份集范围—增量备份集选项
|
|
${Option_CL} xpath=//input[@name="backUpSet" and @value="2"] # 添加归档策略弹窗—选项—备份集范围—存量备份集选项
|
|
${Complete_Arch_Policy} xpath=//button[@id="archive_addArchivePolicy_finishAdd_btn"] # 添加归档策略弹窗—选项—完成按钮
|
|
${Success_Confirm} xpath=//button[@class="btn btn-primary ok"] # 二次确定弹窗确定按钮
|
|
${Close_Arch_More} xpath=//h4[text()="归档策略详情"]/../..//button[text()="确定"] # 归档任务详情弹窗—归档任务确定按钮
|
|
${DPM_Policy} xpath=//span[@ng-click="openAddPolicyDetail('DPM_ARCHIVE')"] # 添加归档按钮—添加归档策略弹窗—定时数据保护
|
|
${Select_MDS_Type} xpath=//select[@id="archive_addArchivePolicy_selectedmediaType_select"] # 添加归档策略弹窗—归档介质类型选择—归档介质下拉框
|
|
${MDS_Tape} xpath=//option[@value="string:2"] # 添加归档策略弹窗—归档介质类型选择—磁带归档介质
|
|
${Select_MDS_Name} xpath=//select[@ng-options="Media.value as Media.name for Media in Medias"] # 添加归档策略弹窗—归档介质选择—归档介质下拉框
|
|
${Select_Tape_Name} xpath=//select[@ng-options="Media.value as Media.name for Media in Medias"]//option[text()="D2D2T"] # 添加归档策略弹窗—归档介质选择—介质D2D2T
|
|
${Arched_Bk} xpath=//li[@id="archive_tab_archivedBackups_li"] # 数据归档功能栏—已归档备份集栏
|
|
${Input_Arch_PolicyName} xpath=//input[@id="archivedBackupsFilters_policyName"] # 数据归档功能栏—已归档备份集栏—归档策略名输入框
|
|
${Button_Search_Policy} xpath=//button[@id="archive_tab_archivedBackups_searchfilter_input"] # 数据归档功能栏—已归档备份集栏—搜索按钮
|
|
${Input_Load_PolicyName} xpath=//input[@id="archivedBackups_load_policyName"] # 加载备份集弹窗—策略名输入框
|
|
${Complete_Load_Policy} xpath=//div[@id="archivedBackups_load"]//button[@id="archive_tab_archivedBackups_load_finish_btn"] # 加载备份集弹窗—完成按钮
|
|
${Start_Scan_Tape} xpath=//div[text()="D2D2T"]/../..//button[text()="开始扫描"] # 数据归档管理功能栏—归档介质列表—开始扫描按钮
|
|
${Tape_Scan_List} xpath=//li[@id="archive_tab_archiveMedia_li"] # 数据归档管理栏—归档介质列表栏
|
|
${MDS_S3} xpath=//option[@value="string:3"] # 添加归档策略弹窗—归档介质类型选择—S3归档介质
|
|
#${Select_S3_Name} xpath=//select[@ng-options="Media.value as Media.name for Media in Medias"]//option[text()="${Cloud_Name}"] # 添加归档策略弹窗—归档介质选择—介质Cloud
|
|
${Input_archiveEncryption} xpath=//input[@id="archive_addArchivePolicy_encryption_input"] # 添加归档策略弹窗—归档加密选项—加密
|
|
${Select_Encry_Algo} xpath=//select[@id="archive_addArchivePolicy_encry_algo_select"] # 添加归档策略弹窗—归档加密选项—加密类型下拉框
|
|
${Input_time_Solt} xpath=//input[@id="timeSolt"] # 添加归档策略弹窗—存量归档—时间段
|
|
${Laydate_Btns_Confirm} xpath=//span[@lay-type="confirm"] # 添加归档策略弹窗—存量归档—时间段确定按钮
|
|
${MDS_OSM} xpath=//option[@value="string:1"] # 添加归档策略弹窗-归档介质类型选择-光盘库
|
|
${Select_OSM_Name} xpath=//select[@ng-options="Media.value as Media.name for Media in Medias"]//option[text()="D2D2B"] # 添加归档策略弹窗-归档介质选择-介质OSM
|
|
${confirm_delete} xpath=//*[@id="alertMargin"]/div/div[3]/button # 确认无归档可用介质
|
|
${confirm_data} xpath=//span[contains(text(),"确定")]
|
|
${change_time} xpath=//*[@id="timeSolt"] # 存量选择时间段
|
|
${Archive_Monitor} id=archive_tab_taskMonit_li # 数据归档功能栏—任务监控栏
|
|
${Archive_Task_Name} id=archive_tab_taskMonit_compnamefilter_input # 数据归档功能栏—任务监控栏—任务名输入框
|
|
${Search_Archive_Task} id=archive_tab_taskMonit_startFliter_span # 数据归档功能栏—任务监控栏—查询按钮
|
|
${Button_Confirm} xpath=//button[@id="tipsPop_define_btn"] # 确定按钮
|