208 lines
23 KiB
Plaintext
208 lines
23 KiB
Plaintext
*** Settings ***
|
||
Library Selenium2Library
|
||
|
||
*** Variables ***
|
||
#公共
|
||
${Timed_DataProtect} xpath=//div[@id="sideNav_dpm"] # 黑方主界面—定时数据保护栏
|
||
${Add_Policy} xpath=//button[@id="dpm_tab_policy_addPolicy1_btn"] # 黑方主界面—定时数据保护栏—添加策略按钮
|
||
${Add_clusterPolicy} id=dpm_tab_policy_addPolicy3_btn # 黑方主界面—定时数据保护栏—添加集群策略按钮 dpm_tab_policy_addPolicy3_btn
|
||
${dpm_date_protection} xpath=//a[@href="#/index"] # 定时数据保护
|
||
${Input_ip} xpath=//*[@id="inputSuccess2"] # 定位IP搜索输入框
|
||
${Select_master} xpath=//*[@id="treeboxbox_tree"]/div/table/tbody/tr[2]/td[2]/table/tbody/tr[2]/td[2]/table/tbody/tr/td[4]/span # 选择主机
|
||
${Button_AddStrategy} xpath=//*[@id="strategy"]/..//span[@ng-show="singleHost"] # 策略添加按钮
|
||
${BackupSet} xpath=//li[@id="switchContainer_tab_backupset_li"]//span[text()="备份集"] # 定时数据保护栏—备份集栏
|
||
${Tab_Work} xpath=//div[@ng-controller="hostInfoGridCtrl"]//li[@ng-click="clickWorkBut()"] # 定时数据保护—作业栏
|
||
${Input_celuename} xpath=//*[@id="PolicyName"] # 定位输入策略名框
|
||
${Connection credentials_Next} xpath=//*[@id="addXML"]/.//button[@ng-click="fw_step_2()"] # 连接凭证下一步
|
||
${Add_TaskCycle} xpath=//button[@id="AddTaskCycle"] # 定时数据保护栏—添加策略—任务周期—添加任务周期按钮
|
||
${Full_Backup} xpath=//*[@id="fullBackup"] # 添加策略—任务周期—完全备份
|
||
${Incre_Backup} xpath=//*[@id="incrementalBackup"] # 添加策略—任务周期—增量备份
|
||
${Divergence_Backup} id=divergenceBackup # 添加策略—任务周期—差量备份
|
||
${Cycle_Once} xpath=//input[@id="promptly"] # 添加策略—任务周期—循环模式—仅一次
|
||
${Cycle_Confirm} xpath=//button[@id="dialogues_addCycleStorage_step3_3_define_btn"] # 添加策略—任务周期—确定按钮
|
||
${Cycle_NextStep} xpath=//button[@id="dialogues_addCycleStorage_step3_2_next_btn"] # 定时数据保护栏—添加策略—任务周期—下一步按钮
|
||
${Manual_ChooseMDS} id=backupStorageType2 # 定时数据保护栏—添加策略—备份集存储—手动指定
|
||
${Select_MDS} xpath=//select[@id="dialogues_addCycleStorage_fileOrOracle_selectMedia_select"] # 定时数据保护栏—添加策略—备份集存储—选择介质
|
||
${Storage_NextStep} xpath=//button[@id="dialogues_addCycleStorage_step3_4_nodb2_next_btn"] # 定时数据保护栏—添加策略—备份集存储—下一步按钮
|
||
${Type_encrypt} xpath=//input[@id="encryption"] #备份高级选项-加密
|
||
${Type_compress} xpath=//input[@id="compress"] #备份高级选项-压缩
|
||
${Type_dedup} xpath=//*[@id="dedup"] #备份高级选项-重删
|
||
${archiveBackup} id=archiveBackup #备份高级选项-启用备份归档
|
||
${appointRecover} id=appointRecover #恢复高级选项-指定时间点
|
||
${UXappointRecover} id=restoreToAppointTime #恢复高级选项-指定时间点——uxdb
|
||
${select_timeDi_UX} id=assemblyBeginTime
|
||
${select_timeDis} xpath=//*[@ng-disabled="BeginTimeDis"]
|
||
${select_timepoint} xpath=//span[text()="选择时间"]
|
||
${select_h} xpath=//p[text()="时"]/../ol/li[@class=""][last()] #恢复高级选项-选择时间点-时
|
||
${select_m} xpath=//p[text()="分"]/../ol/li[@class=""][last()-1] #恢复高级选项-选择时间点-分
|
||
${catch_minute} xpath=//p[text()="分"]/../ol/li[@class="layui-this"] #获取选择时间点-分
|
||
${select_s} xpath=//p[text()="秒"]/../ol/li[30] #恢复高级选项-选择时间点-秒
|
||
${confirm_time} xpath=//span[text()="返回日期"]/../div/span[2] #恢复高级选项-确定恢复时间点
|
||
${confirm_time_UX} xpath=//span[text()="返回日期"]/../div/span[3] #恢复高级选项-确定恢复时间点
|
||
${Complete_Policy_Create_No_Info} xpath=//button[@id="dialogues_backupAdvOptions_stepLastDefine_btn"] # 新建备份策略—备份高级选项—确定按钮
|
||
${dpm_Protection strategy} xpath=//li[@id="switchContainer_tab_policy_li"]/span[text()="保护策略"] # 定时保护策略
|
||
${Attr_Cancel} xpath=//span[@id="dpm_tab_backupset_backUpSetInfo_cancel_btn"] # 备份集栏—详情—备份集详情弹窗—取消按钮
|
||
${Compress_Attr} xpath=//*[@id="dpm_backupset_backUpSetInfo_compress_state_td"] # 备份集详情—压缩属性
|
||
${Encryption_Attr} xpath=//*[@id="dpm_backupset_backUpSetInfo_encryption_state_td"] # 备份集详情—加密属性
|
||
${Deduped_Attr} id=dpm_backupset_backUpSetInfo_delete_state_td # 备份集详情—重删属性
|
||
${cache} id=dpm_backupset_backUpSetInfo_cache_state_td #备份集—详情—缓存
|
||
${View} xpath=//*[@id="compileButtonBackup0"]/span[text()='详情'] #备份集—详情
|
||
${Click_recover} xpath=//*[@id="compileButtonBackup0"]/span[text()='恢复'] # 点击恢复
|
||
${Policy_Work} id=switchContainer_tab_work_li # 黑方主界面—定时数据保护栏—作业栏
|
||
${Recover_Success} xpath=//tbody/tr[1]/td[@data-field="description"]/div[contains(text(),"本次恢复成功")] # 定时数据保护栏—作业栏—本次作业恢复成功
|
||
${Cache_Path} xpath=//input[@id="cachePath"] # 添加策略—高级备份选项—缓存—缓存路径
|
||
${Fin_CachePath} xpath=//button[@id="dialogues_backupAdvOptions_cacheMod_define_btn"] # 添加策略—高级备份选项—缓存—确定按钮
|
||
${Active_Cache} xpath=//*[@id="cacheB"] # 定时数据保护栏—添加策略—备份高级选项—缓存
|
||
${Recover_Cache} xpath=//input[@id="cache"] # 备份集恢复—高级选项—缓存
|
||
${Change_Cache} xpath=//input[@id="PathChangeB"] # 定时数据保护栏—添加策略—备份高级选项—更改缓存路径
|
||
${Recover_Change_Cache} xpath=//input[@id="dialogues_recoveryAdv_pathChangeRe_button"] # 定时数据保护栏—添加策略—备份高级选项—更改缓存路径
|
||
${Recover_CachePath} xpath=//input[@ng-model="recoverCache.cachePathR"] # 备份集恢复—高级选项—本地缓存设置—缓存路径输入框
|
||
${Fin_Recover_CachePath} xpath=//button[@ng-click="finishCacheR()"] # 备份集恢复—高级选项—本地缓存设置—确定按钮
|
||
${Recover} xpath=//*[@id="BackupDialog"]//button[3] #恢复策略-完成
|
||
${Recover_Confirm} xpath=//a[@class="layui-layer-btn0"] #恢复策略-确定恢复
|
||
${Success_Confirm} xpath=//button[@id="tipsPop_define_btn"] # 操作成功弹窗—确定按钮
|
||
${Input_Policy_Name} xpath=//*[@id="backTabPolicy"] # 备份集界面--按策略名查找输入框
|
||
${Button_Searchbk} xpath=//*[@id="backupSetTable"]/..//div[text()='状态'] # 备份集界面--状态栏
|
||
${Now Full_Bacup} xpath=//select[@ng-change="chooseSrctype(selectedSrctype)"]/option[text()="完全备份"] # 立即执行-完全备份
|
||
${Now Difference_Backup} xpath=//select[@ng-change="chooseSrctype(selectedSrctype)"]/option[text()="差量备份"] # 立即执行-差量备份
|
||
${Now Add_Backup} xpath=//*[@id="executeXML"]/.//option[text()='增量备份'] # 立即执行--增量备份
|
||
${Recovery_Comfirm_Button} xpath=//div/a[@class="layui-layer-btn0" and text()="确认"] # 备份集恢复页面--确认按钮
|
||
${Backup_Completed} xpath=//*[@id="backupSetTable"]//tr[2]/td[text()="已完成"] #备份集界面--备份集显示已完成
|
||
${Type_encrypt_m} id=encryption #备份高级选项-加密
|
||
${Type_compress_m} xpath=//input[@id="compress"] #备份高级选项-压缩
|
||
${Type_dedup_m} xpath=//input[@id="dedup"] #备份高级选项-重删
|
||
#DM
|
||
${DM_source} xpath=//span[@id="dpm_policy_dm_btn"] # 定时数据保护栏—添加策略—DM组件
|
||
${DM-Version_7} xpath=//*[@id="select_dm7"] #添加策略-选择达梦版本-dm7_DM
|
||
${Input_DM_Pwd} id=dpm_dm_addPolicy_password_password_input #备份密码输入框_DM
|
||
${Select_Target_Database_DM} xpath=//span[contains(text(),"DAMENG")]/../../td[2]/div #选择目标数据库_DM
|
||
${DM_Srcbkfun_Select} xpath=//div[@id="addXML"]//select[@ng-model="srcbkfun"] # DM--备份方式选择
|
||
${DM_Dump_Option} xpath=//div[@id="addXML"]//select[@ng-model="srcbkfun"]/option[text()="普通"] # DM--备份方式--普通
|
||
${DM_Binary_Option} xpath=//div[@id="addXML"]//select[@ng-model="srcbkfun"]/option[text()="流式"] # DM--备份方式--流式
|
||
${Target_database_Next_DM} xpath=//button[@id="dpm_dm_addPolicy_nextStep2_btn"] # DM目标数据库下一步
|
||
${Select_MDS_DM} xpath=//select[@id="dialogues_addCycleStorage_storagePath_selectMedia_selectedMdsIP_select"] # 定时数据保护栏—添加策略—备份集存储—选择介质
|
||
${Complie_execute} xpath=//*[@id="compileButton0"]/span[3] # 策略立即执行_DM
|
||
${Select_Srctype_DM} xpath=//*[@id="dpm_dm_executePolicy_srctypeArray_select"] # 策略立即执行-选择备份类型_DM
|
||
${ExecutePolicy_execute} xpath=//button[@ng-click="executePolicy_execute()"] # 策略立即执行-确定_DM
|
||
${Complie_full_DM} xpath=//*[@id="dpm_dm_executePolicy_srctypeArray_select"]/*[@label="完全备份"] # 策略立即执行-选择备份类型-完全备份_DM
|
||
${Complie_incre_DM} xpath=//*[@id="dpm_dm_executePolicy_srctypeArray_select"]/*[@label="增量备份"] # 策略立即执行-选择备份类型-增量备份_DM
|
||
${Complie_diff_DM} xpath=//*[@id="dpm_dm_executePolicy_srctypeArray_select"]/*[@label="差量备份"] # 策略立即执行-选择备份类型-差量备份_DM
|
||
${Complie_log_DM} xpath=//*[@id="dpm_dm_executePolicy_srctypeArray_select"]/*[@label="日志备份"] # 策略立即执行-选择备份类型-日志备份_DM
|
||
${Complie_confirm} xpath=//*[@id="alertMargin"]/div/div[3]/button # 策略立即执行-选择备份类型-完成-确认_DM
|
||
${Recover_Nextstep_DM} xpath=//button[@id="dpm_dm_addRecoverPolicy_nextStep1_btn"] # 定时数据保护栏—DM备份集恢复弹窗—下一步按钮
|
||
${DM-Version_7_recovery} xpath=//div[@ng-controller="addDMRecoveryPolicy"]//input[@id="select_dm7"] #恢复策略-选择达梦版本-dm7_DM
|
||
${Input_DM_PwdR} id=dpm_dm_addRecoverPolicy_passwordPassword_input #恢复策略-输入数据库密码_DM
|
||
#Kingbase
|
||
${Select_Backup source_kingbase} xpath=//span[@id="dpm_policy_kingbase_btn"] # 选择备份源类型_kingbase
|
||
${Input_kingbase_user} xpath=//div[@id="alone_normal"]/div[1]/input #用户输入框_kingbase
|
||
${Input_kingbase_Pwd} id=dpm_kingbase_addPolicy_password_password_input #密码输入框_kingbase
|
||
${Select_Target database_kingbase} xpath=//*[@id="addPolicyKingbaseEsTree"]/div/table/tbody/tr[2]/td[2]/table/tbody/tr[2]/td[2]/table/tbody/tr/td[2]/div # 选择目标数据库_kingbase
|
||
${Target_database_Next_kingbase} id=dpm_kingbase_addPolicy_nextStep2_btn # kingbase目标数据库下一步
|
||
${kingbase_Recory_Username} xpath=//div[@ng-controller="addKingbaseEsRecoveryPolicy"]//input[@id="userName"] # kingbase恢复页面用户名输入框
|
||
${kingbase_Recovry_Pwd} id=dpm_kingbase_recoveryPolicy_password_password_input # kingbase恢复页面密码输入框
|
||
${database_Next_kingbaseR} id=dpm_kingbase_recoveryPolicy_nextStep1_btn # kingbase恢复下一步
|
||
#Kingbase物理
|
||
${Select_Backup source_kingbase_physical} xpath=//*[@id="sourceSelectList"]/..//i[@ng-class="moduleSwitch('kingbase_physical')"] # 选择备份源类型_kingbase_physical
|
||
${kingbase_physical_Recory_Username} xpath=//div[@ng-controller="addKinPhysicalRecoveryPolicy"]//input[@id="userName_uppercase"] # kingbase_physical恢复页面用户名输入框
|
||
${kingbase_physical_Recovry_Pwd} xpath=//div[@ng-controller="addKinPhysicalRecoveryPolicy"]//div[@class="input-group hide-password-plaintext"]/input[@type="password"] # kingbase_physical恢复页面密码输入框
|
||
${KingbasePhysical_Srcbkfun_Select} xpath=//div[@id="alone_normal"]//select[@ng-model="srcbkfun"] # Kingbase物理--备份方式选择
|
||
${KingbasePhysical_Dump_Option} xpath=//div[@id="alone_normal"]//select[@ng-model="srcbkfun"]/option[text()="普通"] # Kingbase物理--备份方式--普通
|
||
${KingbasePhysical_Binary_Option} xpath=//div[@id="alone_normal"]//select[@ng-model="srcbkfun"]/option[text()="流式"] # Kingbase物理--备份方式--流式
|
||
#UXDB
|
||
${Ux_source} xpath=//span[@id="dpm_policy_uxdb_btn"] # 定时数据保护栏—添加策略—Uxdb组件
|
||
${Input_Ux_user} xpath=//div[@id="alone_normal"]/div[1]/input #用户输入框_Uxdb
|
||
${Input_Ux_Pwd} xpath=//div[@id="alone_normal"]/div[2]/div/input[2] #密码输入框_Uxdb
|
||
${Target_database_Next_Ux} xpath=//*[@id="addXML"]/.//button[@ng-click="fw_step_3()"] # Uxdb目标数据库下一步
|
||
${Select_MDS_Ux} xpath=//select[@id="dialogues_addCycleStorage_storagePath_selectMedia_selectedMdsIP_select"] # 定时数据保护栏—添加策略—备份集存储—选择介质
|
||
${Input_Ux_PwdR} xpath=//div[@id="alone_normal"]/div[3]/div/input[2] #恢复策略-输入数据库密码_Uxdb
|
||
${Input_Ux_userR} xpath=//div[@id="alone_normal"]/div[2]/input #恢复策略-用户输入框_Uxdb
|
||
${Recover_Nextstep_Ux} xpath=//*[@id="BackupDialog"]/div[1]/div[1]/ng-include/div[1]/div[1]/div[2]/div[3]/button[2] # 定时数据保护栏—Ux备份集恢复弹窗—下一步按钮
|
||
${Select_Srctype_Ux} xpath=//*[@ng-model="selectedBackupType"] # 策略立即执行-选择备份类型_Ux
|
||
${Complie_incre_Ux} xpath=//*[@ng-model="selectedBackupType"]/*[@label="增量备份"] # 策略立即执行-选择备份类型-增量备份_Ux
|
||
${bk_time} xpath=//*[@id="backupSetTable"]//tr[2]/td[contains(text(), "2023-")]
|
||
#Higohgo
|
||
${Highgo_source} xpath=//span[@id="dpm_policy_highgo_btn"] # 定时数据保护栏—添加策略—Highgo组件
|
||
${Input_Highgo_user} xpath=//div[@id="alone_normal"]/div[1]/input #新建策略--连接凭据--用户输入框_Highgo
|
||
${Input_Highgo_Pwd} xpath=//div[@id="alone_normal"]/div[2]/div/input[2] #新建策略--连接凭据--密码输入框_Highgo
|
||
${NextStep_ButtonOn_TargetDatabase} xpath=//*[@id="addXML"]/.//button[@ng-click="fw_step_3()"] # 新建策略界面--选择目标数据库---下一步按钮
|
||
${Recover_Highgo_User_Input} xpath=//div[@id="alone_normal"]/div[2]/input #备份集恢复---恢复目标界面--用户名输入框
|
||
${Recover_Execute_Button} xpath=//button[@class="btn btn-primary" and text()="执行"] #备份集恢复---高级选项---执行按钮
|
||
${Comfirm_Add_Success_Button} id=tipsPop_define_btn #恢复作业--添加成功---确认按钮
|
||
${Compress_Attr_BK_Path} xpath=//*[@id="dpm_backupset_backUpSetInfo_compress_state_td"] # 备份集详情—压缩属性
|
||
${Encryption_Attr_BK_Path} xpath=//*[@id="dpm_backupset_backUpSetInfo_encryption_state_td"] # 备份集详情—加密属性
|
||
${Deduped_Attr_BK_Path} id=dpm_backupset_backUpSetInfo_delete_state_td # 备份集详情—重删属性
|
||
${cache_BK_Path} id=dpm_backupset_backUpSetInfo_cache_state_td #备份集—详情—缓存
|
||
#ShengTong
|
||
${Module_ST} xpath=//i[@ng-class="moduleSwitch('shentong')"] # 定时数据保护栏—添加策略—神通数据库模块
|
||
${Input_ST_Usename} xpath=//div[@ng-show="step_1_show"]//input[@id="userName"] # 添加策略—连接凭据—神通数据库用户名输入框
|
||
${Input_ST_Pwd} xpath=//div[@ng-show="step_1_show"]//input[@type="password"] # 添加策略—连接凭据—神通数据库密码输入框
|
||
${Input_ST_Instance} xpath=//div[@ng-show="step_1_show"]//input[@id="sid_input"] # 添加策略—连接凭据—神通数据库实例名
|
||
${ST_BK_Target} xpath=//span[contains(text(),"OSRDB")]/../../td[2]/div # 添加策略—目标数据库—神通数据库勾选框
|
||
${Target_database_Next_ST} xpath=//button[@id="dpm_shentong_addPolicyGuide_nextStep3_btn"] # ST目标数据库下一步
|
||
${ST_Complete_CreatePolicy} xpath=//button[@id="dialogues_backupAdvOptions_stepLastDefine_btn"] # 定时数据保护—ST添加策略—备份高级选项—完成按钮
|
||
${Recover_ST_User} xpath=//div[@ng-show="first_tab_auth_show"]/div[2]/input[@ng-model="userName"] # 备份集恢复弹窗—恢复目标—用户名输入框
|
||
${Recover_ST_PWD} xpath=//div[@ng-show="first_tab_auth_show"]/div[3]//input[@type="password"] # 备份集恢复弹窗—恢复目标—密码输入框
|
||
${Recover_ST_Instance} xpath=//div[@ng-show="first_tab_auth_show"]/div[4]//input[@ng-model="sid"] # 备份集恢复弹窗—恢复目标—实例名输入框
|
||
${Recover_Nextstep} xpath=//button[@ng-click="fw_1_2()"] # 定时数据保护栏—备份集恢复弹窗—下一步按钮
|
||
${ST_Rec_Exe} xpath=//button[text()="执行"] # 神通数据库备份集恢复弹窗—高级选项—恢复执行按钮
|
||
${Exe_ST_BK} xpath=//*[@id="executeXML"]/div/ng-include/div/div[2]/select # 定时数据保护栏—定时保护策略—立即执行—备份类型下拉框_ST
|
||
${Deduped_Attr_UX} id=dpm_backupset_backUpSetInfo_noEasystack_delete_state_td # 备份集详情—重删属性_优炫
|
||
${Input_KingbasePhysical_Pwd} xpath=//*[@id="alone_normal"]/div[2]/div/input[2] # 策略创建--Kingbase连接凭据--密码输入框_kingbase
|
||
${Target_database_Next_KingbasePhysical} xpath=//*[@id="addXML"]//div[@ng-show="step_2_show"]/button[text()="下一步"] # 新建策略--目标数据库界面--下一步按钮
|
||
${Recover_Nextstep_KingbasePhysical} xpath=//*[@id="BackupDialog"]//button[text()="下一步"] # 定时数据保护栏—KingbasePhysical备份集恢复弹窗—下一步按钮
|
||
#DM_Logic
|
||
${DMLogic_source} xpath=//span[@id="dpm_policy_dm_logic_btn"] # 定时数据保护栏—添加策略—DM逻辑组件
|
||
${Input_DMLogic_Pwd} id=dpm_DMLogic_addPolicy_password_password_input #备份密码输入框_DM
|
||
${DMLogic_database} id=dpm_DMLogic_addPolicy_addition_btn #添加数据库_DMLogic
|
||
${Target_database_Next_DMLogic} xpath=//button[@id="dpm_DMLogic_addPolicy_nextStep3_btn"] # DM目标数据库下一步
|
||
${Recover_Nextstep_DMlogic} xpath=//button[@id="dpm_dmLogic_addRecoverPolicy_nextStep1_btn"] # 定时数据保护栏—DM备份集恢复弹窗—下一步按钮
|
||
${Input_DMLogic_PwdR} id=dpm_dmLogic_addRecoverPolicy_passwordPassword_input #恢复策略-输入数据库密码_DM
|
||
${fullLibrary_DM} id=fullLibraryImport #选择全库恢复
|
||
${Next3_DMLogic} xpath=//button[@id="dpm_dmLogic_addRecoveryPolicy_nextStep3_btn"] # DM恢复目标数据库下一步
|
||
${Recover_DMLogic} id=dpm_dmLogic_addRecoveryPolicy_finish_btn #恢复策略-完成
|
||
#SequoiaDB
|
||
${SequoiaDB_Module} xpath=//span[@id="dpm_policy_sequoiadb_btn"] # 定时数据保护栏—添加策略—sequoiadb组件
|
||
${Set_PolicyName} id=addSequoia_policy_name #定位输入策略名框
|
||
${Set_mysqlPolicy} id=addSequoia_policy_nodeType_mysql_btn #定位mysql节点
|
||
${Set_postgresqlPolicy} id=addSequoia_policy_nodeType_postgresql_btn #定位postgresql节点
|
||
${Set_cataloguePolicy} id=addSequoia_policy_nodeType_catalogue_btn #定位catalogue节点
|
||
${Sequoia_next_step2} id=addSequoia_next_step_to_2 #下发策略下一步
|
||
${Sequoia_next_step3} id=addSequoia_next_step_to_3 #节点类型下一步
|
||
${Sequoia_next_step4} id=addSequoia_next_step_to_4 #连接凭据下一步
|
||
${Sequoia_next_step5} id=addSequoia_next_step_to_5 #目标数据库下一步
|
||
${Recover_mysqlNextstep} id=rec_sequoia_next_step_to_2 # 备份集恢复弹窗—恢复目标—mysql下一步按钮
|
||
${Recover_mysqlfinish} id=rec_sequoia_step_finish # 备份集恢复弹窗—高级选项—确定按钮
|
||
${datagroup} xpath=//span[contains(text(),"datagroup")]/../../td[2]/div # 定时数据保护栏—添加策略—目标数据库—备份目标数据库
|
||
${SYSCatalogGroup} xpath=//span[contains(text(),"SYSCatalogGroup")]/../../td[2]/div # 定时数据保护栏—添加策略—目标数据库—备份目标数据库
|
||
#SequoiaDB_mysql
|
||
${Input_Mysql_Name} id=addSequoia_mysql_userName # 定时数据保护栏—添加策略—连接凭据—MySQL用户名输入框
|
||
${Input_Mysql_Pwd} id=addSequoia_mysql_password # 定时数据保护栏—添加策略—连接凭据—MySQL密码输入框
|
||
${Input_Mysql_Port} id=addSequoia_mysql_port # 定时数据保护栏—添加策略—连接凭据—MySQL端口输入框
|
||
${Input_Mysql_IP} id=addSequoia_mysql_ipAddress # 定时数据保护栏—连接凭据—MySQL_IP地址输入框
|
||
${MySQL__Srcbkfun_Select} id=addSequoia_mysql_backupLevel # MySQL--备份级别选择
|
||
${MySQL_Dump_Option} xpath=//*[@id="addSequoia_mysql_backupLevel"]/option[2] # MySQL--备份级别--库级别
|
||
${MySQL_Instance_Option} xpath=//*[@id="addSequoia_mysql_backupLevel"]/option[1] # MySQL--备份级别--实例级别
|
||
${Mysql_Path} id=addSequoia_mysql_path_config_btn # 新建备份策略—目标数据库—mysql路径参数
|
||
${Select_Mysqldump} id=add_sequoia_mysql_checkboxDump # mysql配置参数—mysqldump勾选框
|
||
${Input_MysqlDump} id=add_sequoia_mysql_textFieldDump # mysql配置参数—mysqldump输入框
|
||
${Select_MySQLbinlog} id=add_sequoia_mysql_checkboxBinlog # mysql配置参数—MySQLbinlog勾选框
|
||
${Input_MySQLbinlog} id=add_sequoia_mysql_textFieldBinlog # mysql配置参数—MySQLbinlog输入框
|
||
${Mysql_Path_Confirm} id=add_sequoia_mysql_confirm_btn # mysql配置参数—确认按钮
|
||
${Bk_DB} xpath=//span[contains(text(),"test(")]/../../td[2]/div # 定时数据保护栏—添加策略—目标数据库—备份目标数据库
|
||
${Type_encrypt_m} id=encryption #备份高级选项-加密
|
||
${Type_compress_m} xpath=//input[@id="compress"] #备份高级选项-压缩
|
||
${Type_dedup_m} xpath=//input[@id="dedup"] #备份高级选项-重删
|
||
${Recover_Mysql_Name} id=recSequoia_mysql_userName # 备份集恢复—恢复目标—用户名输入框
|
||
${Recover_Mysql_Pwd} id=recSequoia_mysql_password # 备份集恢复—恢复目标—密码输入框
|
||
${Select_Mysql_Style} xpath=//select[@ng-change="chooseSrctype(selectedSrctype)"] # 策略立即执行-选择备份类型
|
||
${Now Full_BackupMysql} xpath=//*[@id="executeXML"]/.//option[text()='完全备份'] # 立即执行--完全备份
|
||
${Now add_BackupMysql} xpath=//*[@id="executeXML"]/.//option[text()='增量备份'] # 立即执行--增量备份
|
||
#SequoiaDB_postgresql
|
||
${Postgresql_Username} id=addSequoia_postgresql_userName # 定时数据保护栏—添加策略—连接凭据—postgresql用户名输入框
|
||
${Postgresql_PWD} id=addSequoia_postgresql_password # 定时数据保护栏—添加策略—连接凭据—postgresql用户名输入框
|
||
${Recover_Postgresql_Username} id=recSequoia_postgresql_userName # 备份集恢复—恢复目标—用户名输入框
|
||
${Recover_Postgresql_PWD} id=recSequoia_postgresql_password # 备份集恢复—恢复目标—密码输入框
|
||
${restoreToAppointTime} id=restoreToAppointTime # 备份集回复--指定时间点恢复选择点按钮
|
||
|
||
*** Keywords ***
|