*** Variables *** ${nessus_logo} xpath=//h1[@class="essentials"] # nessus登录页面—logo ${nessus_input_name} xpath=//input[@aria-label="Username"] # nessus登录页面—nessus用户名输入框 ${nessus_input_pwd} xpath=//input[@aria-label="Password"] # nessus登录页面—nessus密码输入框 ${nessus_login_button} xpath=//button[@data-domselect="sign-in"] # nessus登录页面—登录点击按钮 ${nessus_new_policy} xpath=//a[@id="new-scan"] # nessus工作面板—New scan ${nessus_uesr_defined} xpath=//a[text()="User Defined"] # nessus工作面板—用户自定义选项 ${nessus_template} xpath=//h5[text()="Templates"]/.. # nessus工作面板—用户自定义选项—策略模板 ${nessus_input_ip} xpath=//textarea[@data-input-id="text_targets"] # nessus工作面板—ip地址输入框 ${nessus_save_policy} xpath=//span[text()="Save"] # nessus工作面板—save按钮 ${nessus_input_policyname} xpath=//input[@data-input-id="name"] # nessus工作面板—扫描策略—策略名输入框 ${nessus_running} xpath=//i[@title="Running"] # nessus工作面板—策略运行图标 ${rsas_input_name} id=username # 绿盟登录页面—用户名输入框 ${rsas_input_pwd} name=password # 绿盟登录页面—密码输入框 ${rsas_login} xpath=//input[@onclick="submitForm();"] # 绿盟登录页面—登录按钮 ${rsas_logo} id=logo_img # 绿盟登录页面—logo ${rsas_all_scan} xpath=//span[text()="全部漏洞扫描"]/../..//input[@class="quick_task_btn"] # 绿盟工作面板—新建任务—全部漏洞扫描—立即扫描 ${rsas_input_taskname} id=task_input # 绿盟工作面板—新建任务—任务名输入框 ${rsas_input_ip} id=ipList # 绿盟工作面板—新建任务—ip输入框 ${rsas_senior_config} xpath=//a[text()="高级选项"] # 绿盟工作面板—新建任务—高级选项 ${all_ports} id=port_strategy_user # 绿盟工作面板—新建任务—高级选项—全端口选项 ${rsas_complete} id=submitButton # 绿盟工作面板—新建任务—确定提交按钮 ${rsas_process} id=process # 绿盟任务运行标志 ${rsas_iframe} id=mainFrame # 绿盟工作面板框架