68 lines
8.6 KiB
Plaintext
68 lines
8.6 KiB
Plaintext
|
*** Variables ***
|
|||
|
${login_slogan} id=slogan # 黑方登录页面的logo元素
|
|||
|
${input_userName} id=userName # 黑方登录页面用户名输入框
|
|||
|
${input_passwd} id=passWord # 黑方登录页面密码输入框
|
|||
|
${btn_login} id=login_btn # 黑方登录页面登录按钮
|
|||
|
${button_loginmessage} id=header_loginRecord_a # 黑方操作页面-登录记录按钮
|
|||
|
${button_sideNav_cdm} id=sideNav_cdm # 黑方操作页面-侧边栏-副本数据管理
|
|||
|
${cdm_sideNav_all} xpath=//span[text()='所有主机'] # 黑方操作页面-副本数据管理-所有主机
|
|||
|
${cdm_inputSuccess2} id=inputSuccess2 # 黑方操作页面-副本数据管理-代理搜索框
|
|||
|
${cdm_newpolicy} xpath=//span[text()='新建备份策略'] # 黑方操作页面-副本数据管理-新建备份策略
|
|||
|
${cdm_tab_policy_li} id=cdm_tab_policy_li # 黑方操作页面-副本数据管理-策略
|
|||
|
${mssql_newpolicy_title} xpath=//h4[text()='新建备份策略'] # mssql副本-新建备份策略-弹窗标题
|
|||
|
${mssql_newpolicy_type} xpath=//span[text()='数据库(SQLServer)'] # mssql副本-新建备份策略-mssql副本组件
|
|||
|
${mssql_newpolicy_goStep1} id=cdm_sqlserver_sideNav_addMode_goStep1_btn # mssql副本-新建备份策略-连接凭据
|
|||
|
${mssql_newpolicy_goStep1_PolicyName} id=PolicyName # mssql副本-新建备份策略-连接凭据-策略名
|
|||
|
${mssql_newpolicy_goStep1_nextStep2_btn} id=cdm_sqlServer_addPolicyGuide_nextStep2_btn # mssql副本-新建备份策略-连接凭据-下一步
|
|||
|
${mssql_newpolicy_goStep2} xpath=//h4[text()='选择sqlserver实例'] # mssql副本-新建备份策略-选择sqlserver实例
|
|||
|
${mssql_newpolicy_goStep2_nextStep3_btn} id=cdm_sqlServer_addPolicyGuide_backStep3_btn # mssql副本-新建备份策略-实例选择-下一步
|
|||
|
${mssql_newpolicy_goStep3} xpath=//h4[text()='选择目标数据库'] # mssql副本-新建备份策略-选择目标数据库
|
|||
|
${mssql_newpolicy_goStep3_database_all} xpath=(//span[text()='SqlServer数据库'])/../../td[2] # mssql副本-新建备份策略-目标数据库-全选
|
|||
|
${mssql_newpolicy_goStep3_filterBtn_btn} id=dialogues_baseFilter_filterBtn_btn # mssql副本-新建备份策略-目标数据库-过滤设置
|
|||
|
${mssql_newpolicy_goStep3_baseFilterSel_btn} id=dialogues_baseFilter_baseFilterSel_btn # mssql副本-新建备份策略-过滤设置-数据库过滤
|
|||
|
${mssql_newpolicy_goStep3_baseFilterKey_btn} id=dialogues_baseFilter_baseFilterKey_btn # mssql副本-新建备份策略-过滤设置-关键字过滤
|
|||
|
${mssql_newpolicy_goStep3_baseFilterKey_keyFilterCon} id=keyFilterCon # mssql副本-新建备份策略-过滤设置-关键字过滤-关键字输入框
|
|||
|
${mssql_newpolicy_goStep3_baseFilterKey_addkeyFilter} xpath=//button[@id='dialogues_baseFilter_filterModalSure_btn'][text()="添加"] # mssql副本-新建备份策略-过滤设置-关键字过滤-添加
|
|||
|
${mssql_newpolicy_goStep3_baseFilterKey_addkeyFilterSure_btn} xpath=//button[@id='dialogues_baseFilter_filterModalSure_btn'][text()="确定"] # mssql副本-新建备份策略-过滤设置-关键字过滤-确定
|
|||
|
${mssql_newpolicy_goStep3_nextStep4_btn} id=cdm_sqlServer_addPolicyGuide_backStep4_btn # mssql副本-新建备份策略-目标数据库-下一步
|
|||
|
${mssql_newpolicy_goStep4} xpath=//span[text()='设置任务周期'] # mssql副本-新建备份策略-设置任务周期
|
|||
|
${mssql_newpolicy_goStep4_AddTaskCycle} id=AddTaskCycle # mssql副本-新建备份策略-设置任务周期-添加任务周期
|
|||
|
${mssql_newpolicy_goStep4_AddTaskCycle_sunday} id=dialogues_addCycleStorage_cycleMode_sunday_checkboxInput # mssql副本-新建备份策略-设置任务周期-添加任务周期-星期日
|
|||
|
${mssql_newpolicy_goStep4_AddTaskCycle_Sure_btn} id=dialogues_addCycleStorage_step3_3_define_btn # mssql副本-新建备份策略-设置任务周期-添加任务周期-确定
|
|||
|
${mssql_newpolicy_goStep4_nextStep5_btn} id=dialogues_addCycleStorage_step3_2_next_btn # mssql副本-新建备份策略-设置任务周期-下一步
|
|||
|
${mssql_newpolicy_goStep5} xpath=//h4[text()='设置存储路径'] # mssql副本-新建备份策略-设置存储路径
|
|||
|
${mssql_newpolicy_goStep5_nextStep6_btn} id=dialogues_addCycleStorage_step3_4_nodb2_next_btn # mssql副本-新建备份策略-设置存储路径-下一步
|
|||
|
${mssql_newpolicy_goStep6} xpath=//h4[text()='备份高级选项'] # mssql副本-新建备份策略-备份高级选项
|
|||
|
${mssql_newpolicy_goStep6_next_btn} xpath=(//button[text()='完成'])[5] # mssql副本-新建备份策略-备份高级选项-完成
|
|||
|
${mssql_newpolicy_addsucess} xpath=//p[text()='添加成功!'] # mssql副本-新建备份策略-添加成功
|
|||
|
${mssql_define_btn} id=tipsPop_define_btn # mssql副本-策略-默认确定按钮
|
|||
|
${policy_input_backupNameSearch} id=backupNameSearch # mssql副本-策略-查询策略输入框
|
|||
|
${policy_btn_backContentSearch} id=cdm_tab_policy_backContent_search_btn # mssql副本-策略-查询按钮
|
|||
|
${policy_table_firstname} xpath=(//td[@align='left'])[2][text()] # mssql副本-策略-查询结果第一个策略名
|
|||
|
${policy_run} xpath=//span[text()='立即执行'] # mssql副本-策略-立即执行
|
|||
|
${policy_run_title} xpath=//h4[text()='立即执行策略'] # mssql副本-策略-立即执行-立即执行策略
|
|||
|
${policy_run_select} xpath=//select[@ng-model='selectedSrctype'] # mssql副本-策略-立即执行-选择
|
|||
|
${policy_run_select_type} 永久增量备份 # mssql副本-策略-立即执行-选择备份类型
|
|||
|
${policy_run_executePolicyExecute_btn} id=cdm_sqlServer_executePolicy_executePolicyExecute_btn # mssql副本-策略-立即执行-选择备份类型-确定
|
|||
|
${policy_run_msg} xpath=//p[text()='添加成功'] # mssql副本-策略-立即执行-添加成功
|
|||
|
${cdm_tab_work_li} id=cdm_tab_work_li # 黑方操作页面-副本数据管理-作业
|
|||
|
${cdm_tab_work_export_btn} id=cdm_tab_work_export_btn # 黑方操作页面-副本数据管理-导出当前作业日志
|
|||
|
${cdm_tab_work_PolicyName} id=workPolicyName # 黑方操作页面-副本数据管理-作业策略名称
|
|||
|
${cdm_tab_work_search_span} id=cdm_tab_work_workPolicyName_search_span # 黑方操作页面-副本数据管理-作业页面查询
|
|||
|
${task_select_count} $("#pcWorktable_cdm_outerDiv").find("tr").length # 黑方操作页面-作业详情页面-作业个数
|
|||
|
${task_status} $("#pcWorktable_cdm_outerDiv").find("td").eq(-2)[0].textContent # 黑方操作页面-作业详情页面-作业状态
|
|||
|
${cdm_tab_backupset_li} id=cdm_tab_backupset_li # 黑方操作页面-副本数据管理-副本数据
|
|||
|
${policy_input_backTabPolicy} id=backTabPolicy # 黑方操作页面-副本数据-副本数据管理-查询策略输入框
|
|||
|
${cdm_tab_backupset_search_span} id=cdm_tab_backupset_searchfilter_span # 黑方操作页面-副本数据管理-副本数据管理-查询
|
|||
|
${cdm_tab_recovery_step1} xpath=//label[text()='选择需要恢复到的主机:'] # 黑方操作页面-副本数据管理-副本数据管理-恢复目标
|
|||
|
${cdm_tab_recovery_step1_next_btn} id=cdm_sqlServer_addRecoveryPolicy_nextStep12_btn # 黑方操作页面-副本数据管理-副本数据管理-恢复目标-下一步
|
|||
|
${cdm_tab_recovery_step2_next_btn} id=cdm_sqlServer_addRecoveryPolicy_backStep23_btn # 黑方操作页面-副本数据管理-副本数据管理-实列选择-下一步
|
|||
|
${cdm_tab_recovery_step3_next_btn} id=cdm_sqlServer_addRecoveryPolicy_backStep4_btn # 黑方操作页面-副本数据管理-副本数据管理-目标数据库-下一步
|
|||
|
${cdm_tab_recovery_step4_title} xpath=//h4[text()='恢复高级选项'] # 黑方操作页面-副本数据管理-副本数据管理-恢复高级选项-标题
|
|||
|
${cdm_tab_recovery_step4_next_btn} id=cdm_sqlServer_addRecoveryPolicy_finish_btn # 黑方操作页面-副本数据管理-副本数据管理-恢复高级选项-完成
|
|||
|
${cdm_tab_recovery_step4_recTargetPath} id=recTargetPath # 黑方操作页面-副本数据管理-副本数据管理-恢复高级选项-恢复路径
|
|||
|
${cdm_tab_recovery_step4_finish_title} xpath=//div[text()='确认要执行恢复吗?'] # 黑方操作页面-副本数据管理-副本数据管理-恢复高级选项-确认要执行恢复标题
|
|||
|
${cdm_tab_recovery_step4_finish_btn} xpath=//a[text()='确认'] # 黑方操作页面-副本数据管理-副本数据管理-恢复高级选项-确认要执行恢复按钮
|
|||
|
${recovery_run_msg} xpath=//p[text()='添加成功!'] # mssql副本-副本数据管理-恢复数据-添加成功
|
|||
|
${mssql_recovery_goStep3_database_all} xpath=((//span[text()='SqlServer数据库'])/../../td[2])[2] # mssql副本-新建恢复策略-目标数据库-全选
|