diff options
| author | youzhijiang <[email protected]> | 2024-10-10 14:48:52 +0800 |
|---|---|---|
| committer | youzhijiang <[email protected]> | 2024-10-10 14:48:52 +0800 |
| commit | 7f2e8aab0fc2275bc1f06b0d2c39d37dd56c34d1 (patch) | |
| tree | 60d03c4b4876f04eb4bdb891615eb1576101336f /page_element/objects_element_position.py | |
| parent | 4b95c8d8c914129c7a770b359779b617bb1aec2b (diff) | |
修改元素定位
Diffstat (limited to 'page_element/objects_element_position.py')
| -rw-r--r-- | page_element/objects_element_position.py | 368 |
1 files changed, 206 insertions, 162 deletions
diff --git a/page_element/objects_element_position.py b/page_element/objects_element_position.py index b25dc601..12dbce51 100644 --- a/page_element/objects_element_position.py +++ b/page_element/objects_element_position.py @@ -56,6 +56,27 @@ mainPage_secondLevelMenu_Intervals_posId = "Objects_interval" # 二级菜单Int mainPage_secondLevelMenu_Geolocation_posId = "Advanced/IP_Libraries" # 二级菜单Geolocation mainPage_secondLevelMenu_Asns_posId = 'Objects_asn' # 二级菜单ASNs +mainPage_firstLevelMenu_Objects_posXpath = "//li[@class='MuiListItem-root MuiListItem-gutters Mui-selected menu-object css-1cpzmuh']//span[text()='Objects']" +mainPage_secondLevelMenu_ipAddress_posXpath = "//div[@class='MuiListItem-root MuiListItem-gutters Mui-selected menu-ip-object css-1l56wwh']" # 二级菜单IP Addresses +mainPage_secondLevelMenu_Ports_posXpath = "//div[@class='MuiListItem-root MuiListItem-gutters menu-port-object css-1l56wwh']" +mainPage_secondLevelMenu_FQDNs_posXpath = "//div[@class='MuiListItem-root MuiListItem-gutters menu-fqdn-object css-1l56wwh']" +mainPage_secondLevelMenu_Subscriber_ids_posXpath = "//div[@class='MuiListItem-root MuiListItem-gutters menu-subscriber-id-object css-1l56wwh']" +mainPage_secondLevelMenu_HTTP_Signatures_posXpath = "//div[@class='MuiListItem-root MuiListItem-gutters menu-http-signature-object css-1l56wwh']" +mainPage_secondLevelMenu_keywords_posXpath = "//div[@class='MuiListItem-root MuiListItem-gutters menu-keyword-object css-1l56wwh']" +mainPage_secondLevelMenu_urls_posXpath = "//div[@class='MuiListItem-root MuiListItem-gutters menu-url-object css-1l56wwh']" +mainPage_secondLevelMenu_Account_posXpath = "//div[@class='MuiListItem-root MuiListItem-gutters menu-account-object css-1l56wwh']" +mainPage_secondLevelMenu_Mobile_Identities_posXpath = "//div[@class='MuiListItem-root MuiListItem-gutters menu-mobile-identity-object css-1l56wwh']" +mainPage_secondLevelMenu_APNs_posXpath = "//div[@class='MuiListItem-root MuiListItem-gutters menu-apn-object css-1l56wwh']" +mainPage_secondLevelMenu_Application_posXpath = "//div[@class='MuiListItem-root MuiListItem-gutters menu-application-object css-1l56wwh']" +mainPage_secondLevelMenu_Application_appGroups_posXpath = "//div[@class='MuiListItem-root MuiListItem-gutters menu-app-group css-1l56wwh']" +mainPage_secondLevelMenu_Application_appSignatures_posXpath = "//div[@class='MuiListItem-root MuiListItem-gutters menu-app-signature css-1l56wwh']" +mainPage_secondLevelMenu_Application_customizedAttr_posXpath = "//div[@class='MuiListItem-root MuiListItem-gutters menu-traffic-attribute css-1l56wwh']" +mainPage_secondLevelMenu_Tunnel_posXpath = "//div[@class='MuiListItem-root MuiListItem-gutters menu-tunnel-object css-1l56wwh']" +mainPage_secondLevelMenu_Flags_posXpath = "//div[@class='MuiListItem-root MuiListItem-gutters menu-flag-object css-1l56wwh']" +mainPage_secondLevelMenu_Intervals_posXpath = "//div[@class='MuiListItem-root MuiListItem-gutters menu-interval-object css-1l56wwh']" + + + # =====================================================================System界面==========System界面======================================================================= mainPage_firstLevelMenu_System_posId = "System" # 一级菜单System mainPage_secondLevelMenu_auditLogs_posId = "system_PolicyConfigurationLog" # 二级菜单AuditLog @@ -74,20 +95,23 @@ listPage_auditlogSearch_username_text_posXpath = "//div[@class='el-input el-inpu mainPage_ObjectSearch_selectLabel_posId = "select-label" # 查询框id mainPage_ObjectSearch_buttonSearch_posId = "searchQuery" # 查询按钮id mainPage_ObjectSearch_buttonClear_posId = "searchClear" # 清空查询按钮id +mainPage_ObjectSearch_buttonClear_posXpath = "//button[@class='MuiAutocomplete-clearIndicator css-25qtv2']" # 清空查询按钮xpath mainPage_ObjectSearch_buttonSearch_Item_posId = "object_ip_search" # 查询item输入框id mainPage_ObjectSearch_buttonSearch_Item_first_content_posXpath = "//div[@class='view-row']//span[@class='el-tooltip content-show']" # item搜索框第一个元素 -mainPage_ObjectSearch_buttonSearch_Item_posXpath = "//div/div/div/div[2]/div/div[1]/div/div/div/div[2]/div[1]/div/div[1]/div[1]/div/div/input" # 查询item输入框Xpath +mainPage_ObjectSearch_buttonSearch_Item_posXpath = "//input[@class='MuiInput-input css-za5rna']" # 查询item输入框Xpath mainPage_ObjectSearch_buttonAddItem_posId = "temporary_form" # 添加item_id +mainPage_ObjectSearch_buttonAddItem_posXpath = "//i[@class='iconfont icon-Create1 font-[700]']" mainPage_ObjectSearch_input_Item_posId = "onlyMarvel" # 输入item_id # Group 侧滑框 -main_Group_sub_Object_input_frame_posXpath = '//div/div[1]/div/div/div/div[2]/div[1]/div/div[1]/div[1]/div/div/input' # 新建subObject搜索框 -main_Group_sub_Object_input_frame_select_one_posXpath = "//div/div[1]/div/div/div/div[2]/div[1]/div/div[2]/div/ul/li[1]/div[2]/span" # 搜索框第一个元素 +main_Group_sub_Object_input_frame_posXpath = "//input[@class='MuiInput-input css-za5rna']" # 新建subObject搜索框 +main_Group_sub_Object_input_frame_select_one_posXpath = "//ul[@class='MuiList-root MuiList-vertical MuiList-variantPlain MuiList-colorNeutral MuiList-sizeMd css-1cklc3']/li[1]//div[@class='flex h-[22px] leading-[22px] MuiBox-root css-14di81r']" # 搜索框第一个元素 # 列表页 main_listPage_object_reference_count_posXpath = "//table/tbody/tr[2]/td[7]/div/div/div/div" # 提取reference的数量《断言》 main_listPage_object_statistics_view_postXpath = "(//div[@id='ly-table1-listcontent']//span[text()='View'])[1]" main_listPage_object_bottomTotal_postXpath = '//div[@class="page-box-containcheck"]//*[@class="el-pagination__total"]' # 列表页底部Total元素 # object导入文件Xpath路径 -main_ObjectPage_Input_path_Import_files_posXpath = '//form/div/div/div/div[1]/input[@type="file"]' +main_ObjectPage_Input_path_Import_files_posXpath = "//label[@class='MuiButtonBase-root MuiButton-root MuiButton-outlined MuiButton-outlinedPrimary MuiButton-sizeSmall MuiButton-outlinedSizeSmall MuiButton-colorPrimary MuiButton-root \ +MuiButton-outlined MuiButton-outlinedPrimary MuiButton-sizeSmall MuiButton-outlinedSizeSmall MuiButton-colorPrimary css-1b1h392']/input[@type='file']" main_ObjectPage_No_data_text_posXpath = "//span[@class='el-table__empty-text']" # 列表中元素 @@ -95,8 +119,8 @@ main_listPage_object_select_First_object_posXpath = '//*[@id="ly-table1-listcont main_listPage_object_select_Second_object_posXpath = '//table/tbody/tr[2]/td[1]/div/div/div[1]/div/label/span[1]/span' # 选择列表中第二个对象 main_listPage_object_total_value_posXpath = "//div[@class='el-pagination is-background']/span[@class='el-pagination__total']" # 列表页total值 ##Object模块列设置 -mainPage_ObjectSearch_Column_settings_posXpath = '//span[@id="eventfixed"]/i' -mainPage_ObjectSearch_Column_settings_select_allCheckBox_posXpath = '(//div[@class="ly-eventfixed"]//span[@class="el-checkbox__inner"])[last()]' # ALL选择框---------------- +mainPage_ObjectSearch_Column_settings_posXpath = "//i[@class='iconfont icon-SetNormal text-[14px] text-[var(--color-text-disabled)]']" +mainPage_ObjectSearch_Column_settings_select_allCheckBox_posXpath = "//div[@class='MuiDataGrid-columnsManagementFooter css-1l93brk']//span[@class='MuiTypography-root MuiTypography-body1 MuiFormControlLabel-label css-1hhkft9']" # ALL选择框---------------- mainPage_ObjectSearch_Column_settings_click_Cancel_Button_posXpath = '//div[@class="choose-button"][1]//span[text()="Cancel"]' # 点击Cancel mainPage_ObjectSearch_Column_settings_click_OK_Button_posXpath = '//div[@class="choose-button"][1]//span[text()="OK"]' # 点击OK ##Object模块列设置 @@ -222,21 +246,25 @@ listPage_object_reprtition_check_postXpath = "//i[@class='operate-icon iconfont listPage_current_object_reprtition_tips_posXpath = '//*[@id="router-view-container"]//div[@title="There are duplicates in the current object"]' listPage_other_object_reprtition_tips_posXpath = '//*[@id="router-view-container"]//div[@title="Duplicate data exists"]' # '//table/tbody/tr[1]/td[4]/div/div/div/div/div/div[1]/span' # IMSI提取Details -listPage_object_group_exclude_open_posXpath = "//div[@class='el-switch']" +listPage_object_group_exclude_open_posXpath = "//div[@class='ip-object-']" listPage_object_group_subobject_fist_posXpath = "//div[@class='tab-content floatleft height100 width100 margin-top40']//ul[@class='row-container tableList']/li[1]//div[@class='row-content-cell']" listPage_object_group_subobject_second_posXpath = "//div[@class='tab-content floatleft height100 width100 margin-top40']//ul[@class='row-container tableList']/li[2]//div[@class='row-content-cell']/span" -ip_object_group_subobject_close_posXpath = "//div[@class='KeywordsList list-box']//span[normalize-space(text())='Close']" +ip_object_group_subobject_close_posXpath = "//button[@class='MuiButtonBase-root MuiButton-root MuiButton-text MuiButton-textPrimary MuiButton-sizeSmall MuiButton-textSizeSmall MuiButton-colorPrimary \ +MuiButton-root MuiButton-text MuiButton-textPrimary MuiButton-sizeSmall MuiButton-textSizeSmall MuiButton-colorPrimary css-5vcc8t']" fqdn_object_group_subobject_close_posXpath = "//div[@class='FqdnList list-box']//span[normalize-space(text())='Close']" http_signature_object_group_close_posXpath = "//div[@class='HttpSignatureList list-box']//span[normalize-space(text())='Close']" subscriber_id_object_group_close_posXpath = "//div[@class='SubscriberidList list-box']//span[normalize-space(text())='Close']" -listPage_object_group_exclude_add_button_posXpath = "//div[@class='el-switch is-checked']/parent::*//i[@class='iconfont icon-Create1 cursor']" +listPage_object_group_exclude_add_button_posXpath = "//div[@class='ip-object-excluded_sub_object_uuids']//i[@class='iconfont icon-Create1 font-[700]']" +listPage_object_group_include_add_button_posXpath = "//div[@class='ip-object-included_sub_object_uuids']//i[@class='iconfont icon-Create1 font-[700]']" # Object Mobile Identities===================Object Mobile Identities====================Object Mobile Identities=================Object Mobile Identities=======================Object Mobile Identities=================Object Mobile Identities # 导入导出文件设置 -main_ObjectPage_Input_Import_files_button_posXpath = '//div/button[contains(@class,"Export")]/i' # main导出文件按钮 -mobileIdentitiesObjectPage_Button_Import_Mobile_Identity_files_posXpath = "//button[@class='el-button btn-style el-button--default el-button--small']" # Create Import Mobile Identity Button +main_ObjectPage_Input_Import_files_button_posXpath = "//button[@class='MuiButtonBase-root MuiButton-root MuiButton-text MuiButton-textPrimary MuiButton-sizeMedium MuiButton-textSizeMedium MuiButton-colorPrimary \ +MuiButton-root MuiButton-text MuiButton-textPrimary MuiButton-sizeMedium MuiButton-textSizeMedium MuiButton-colorPrimary css-epitc3']/i[@class='iconfont icon-export']" # main导出文件按钮 +mobileIdentitiesObjectPage_Button_Import_Mobile_Identity_files_posXpath = "//button[@class='MuiButtonBase-root MuiButton-root MuiButton-text MuiButton-textPrimary MuiButton-sizeSmall MuiButton-textSizeSmall MuiButton-colorPrimary MuiButton-root MuiButton-text MuiButton-textPrimary MuiButton-sizeSmall MuiButton-textSizeSmall MuiButton-colorPrimary css-bc4t0x']" # Create Import Mobile Identity Button mobileIdentitiesObjectPage_Input_path_Import_Mobile_Identity_files_posXpath = main_ObjectPage_Input_path_Import_files_posXpath # Create Import Mobile Identity path -main_ObjectPage_Import_Mobile_Identity_files_OK_Button_posXpath = '//div[not(@style="display: none;")]/div/div/div[2]/div[2]/button[1]/span' # 导入文件OK +main_ObjectPage_Import_Mobile_Identity_files_OK_Button_posXpath = "//button[@class='MuiButtonBase-root MuiButton-root MuiButton-text MuiButton-textPrimary MuiButton-sizeSmall MuiButton-textSizeSmall MuiButton-colorPrimary \ +MuiButton-root MuiButton-text MuiButton-textPrimary MuiButton-sizeSmall MuiButton-textSizeSmall MuiButton-colorPrimary css-k5thc0']" # 导入文件OK mobileIdentitiesObjectPage_Import_Mobile_Identity_files_OK_Button_posXpath = main_ObjectPage_Import_Mobile_Identity_files_OK_Button_posXpath # 导入文件OK mobileIdentitiesObjectPage_Import_Mobile_Identity_files_Cancel_Button_posXpath = "//div[5]/div/div[1]/div/div/div[2]/div[2]/button[2]/span" # 导入文件Cancel mobileIdentitiesObjectPage_Import_Mobile_Identity_files_IMSI_Group_Cancel_Button_posXpath = '//div[2]/div/div[1]/div/div/div[2]/div[2]/button[2]/span' @@ -244,7 +272,7 @@ main_item_error_format_posXpath = '//div/span[contains(text(),"Format error")]' main_Import_files_error_format_posXpath = '//ul/li/div[@class="valid-column import-line"]/span' # 导入文件格式错误提示语 main_Item_length_error_posXpath = '//div[@class="object-item-error"]/span' # item 长度校验错误 mobileIdentitiesObjectPage_Import_Mobile_Identity_files_error_format_posXpath = main_Import_files_error_format_posXpath # mobile identities 导入文件格式错误提示语 -main_Import_Mobile_Identity_files_error_type_posXpath = '//div[@class="el-message el-message--error"]/p' # 错误类型提示语 +main_Import_Mobile_Identity_files_error_type_posXpath = "//div[@class='MuiFormHelperText-root css-koslx8']" # 错误类型提示语 main_Import_Mobile_Identity_files_item_error_posXpath = '//div/div/div[1]/div[2]/form/div[3]/div/div/div[2]/span' # 错误item提示语 mobileIdentitiesObjectPage_Import_Mobile_Identity_files_error_type_posXpath = main_Import_Mobile_Identity_files_error_type_posXpath # mobile identities 错误弹出提示语 main_ObjectPage_import_files_error_type_posXpath = mobileIdentitiesObjectPage_Import_Mobile_Identity_files_error_type_posXpath # 错误弹出提示语 @@ -267,7 +295,7 @@ mobileIdentitiesObjectPage_Export_Mobile_type_imsi_posXpath = '//label[@id="obje mobileIdentitiesObjectPage_Export_Mobile_type_phone_number_posXpath = '//label[@id="objectAdd_ip1"]/span' # phone_number展示 mobileIdentitiesObjectPage_Export_Mobile_type_imei_posXpath = '//label[@id="objectAdd_ip2"]/span' # imsi展示 # Object Mobile Identities===================Object Mobile Identities====================Object Mobile Identities=================Object Mobile Identities=======================Object Mobile Identities=================Object Mobile Identities -mobileIdentitiesObjectPage_Import_Mobile_Identity_Group_files_OK_Button_posXpath = "(//div[@class='edit-height'])[4]//span[normalize-space(text())='OK']" # Group 导入文件OK +mobileIdentitiesObjectPage_Import_Mobile_Identity_Group_files_OK_Button_posXpath = "//button[@class='MuiButtonBase-root MuiButton-root MuiButton-text MuiButton-textPrimary MuiButton-sizeSmall MuiButton-textSizeSmall MuiButton-colorPrimary MuiButton-root MuiButton-text MuiButton-textPrimary MuiButton-sizeSmall MuiButton-textSizeSmall MuiButton-colorPrimary css-k5thc0']" # Group 导入文件OK # Object Mobile Identities===================Object Mobile Identities====================Object Mobile Identities=================Object Mobile Identities=======================Object Mobile Identities=================Object Mobile Identities # 查询框输入并选择 listPage_objectSearch_mobileIdentities_select_Id_posXpath = '//li[@id="1-_FilteredSearch_ElRow_Objects_mobile_identity_Home_App_anonymousComponent"]' @@ -305,14 +333,15 @@ listPage_object_mobileIdentities_select_First_object_posXpath = '//table/tbody/t listPage_object_mobileIdentities_select_Second_object_posXpath = main_listPage_object_reference_count_posXpath # 选择列表中第二个对象 # Create mobile Identities Object 和 Edit mobile Identities Object 新增和编辑页 -mobileIdentitiesObjectPage_input_Name_posXpath = "//div[@class='biFangName']//input" # name输入框Xpath +mobileIdentitiesObjectPage_input_Name_posXpath = "//div[@class='MuiInput-root MuiInput-variantOutlined MuiInput-colorNeutral MuiInput-sizeMd MuiInput-formControl css-uzf287']//input" # name输入框Xpath mobileIdentitiesObjectPage_radioButton_IMSI_posId = "IMSIimsi" # IMSI单选按钮id mobileIdentitiesObjectPage_input_searchFor_posId = mainPage_ObjectSearch_buttonSearch_Item_posId # search for item搜索输入框id mobileIdentitiesObjectPage_button_addItem_posId = mainPage_ObjectSearch_buttonAddItem_posId # 添加item按钮id mobileIdentitiesObjectPage_button_inputItem_posId = mainPage_ObjectSearch_input_Item_posId # 输入item内容 +mobileIdentitiesObjectPage_button_inputItem_posXpath = "//input[@class='MuiInput-input css-1u0jcuo']" mobileIdentitiesObjectPage_content_inputItem1_posId = "//div[@class='item-box']//span[@class='el-tooltip content-show']/span" # 第一行输入item的内容 -mobileIdentitiesObjectPage_IMSI_button_Save_Item_posXpath = "//i[@class='operate-icon iconfont icon-save save-color']" # 创建保存item按钮 +mobileIdentitiesObjectPage_IMSI_button_Save_Item_posXpath = "//i[@class='operate-icon iconfont icon-save']" # 创建保存item按钮 mobileIdentitiesObjectPage_IMSI_button_Edit_Save_Item_posXpath = '//div[@class="item-box"]//i[contains(@class,"icon-save")]' # 编辑保存item按钮 mobileIdentitiesObjectPage_IMSI_button_Edit_assert_first_Item_content_posXpath = "//div[@class='object-item-box']//div[@class='item-box']/div/div[1]/span/span" ## <断言>第一个item的内容 @@ -321,17 +350,19 @@ mobileIdentitiesObjectPage_IMSI_button_Edit_assert_first_Item_count_posXpath = " mobileIdentitiesObjectPage_sub_Phone_Number_button_Edit_assert_first_Item_count_posXpath = "//div[@class='CommonSubObjects']/div[2]/div[2]" # sub Phone_Number<断言>新增item的个数 mobileIdentitiesObjectPage_radioButton_phone_number_posId = "Phone Numberphone_number" # Phone Number单选按钮id -mobileIdentitiesObjectPage_Phone_Number_button_Save_phone_number_Item_posXpath = "//i[@class='operate-icon iconfont icon-save save-color']" # 保存item按钮 -mobileIdentitiesObjectPage_Phone_Number_button_inputItem_posXpath = "//div[@class='expr-box']//input[@class='el-input__inner']" # 输入Phone_item内容 -mobileIdentitiesObjectPage_Phone_Number_button_input_more_Item_posXpath = "(//div[@class='TextExpr expr-item']//input[@class='el-input__inner'])['replace']" # 输入Phone_item内容 多次输入 +mobileIdentitiesObjectPage_radioButton_phone_number_posXpath = "//button[@class='MuiButtonBase-root MuiButton-root MuiButton-outlined MuiButton-outlinedPrimary MuiButton-sizeSmall MuiButton-outlinedSizeSmall MuiButton-colorPrimary MuiButtonGroup-grouped MuiButtonGroup-groupedHorizontal MuiButtonGroup-groupedOutlined MuiButtonGroup-groupedOutlinedHorizontal MuiButtonGroup-groupedOutlinedPrimary MuiButton-root MuiButton-outlined MuiButton-outlinedPrimary MuiButton-sizeSmall MuiButton-outlinedSizeSmall MuiButton-colorPrimary MuiButtonGroup-middleButton css-5ve3fi']" +mobileIdentitiesObjectPage_Phone_Number_button_Save_phone_number_Item_posXpath = "//i[@class='operate-icon iconfont icon-save']" # 保存item按钮 +mobileIdentitiesObjectPage_Phone_Number_button_inputItem_posXpath = "//input[@class='MuiInput-input css-1u0jcuo']" # 输入Phone_item内容 +mobileIdentitiesObjectPage_Phone_Number_button_input_more_Item_posXpath = "(//input[@class='MuiInput-input css-1u0jcuo'])['replace']" # 输入Phone_item内容 多次输入 -mobileIdentitiesObjectPage_Phone_Number_button_add_Item_input_posXpath = '//div[@class="addobject width300px addobject-long-list obj-content-null cursorPointer borderColor add-btn"]' +mobileIdentitiesObjectPage_Phone_Number_button_add_Item_input_posXpath = '//div[@class="addobjewidth300px addobject-long-list obj-content-null cursorPointer borderColor add-btn"]' mobileIdentitiesObjectPage_radioButton_IMEI_posId = "IMEIimei" # IMEI单选按钮id +mobileIdentitiesObjectPage_radioButton_IMSI_posXpath = "//button[@class='MuiButtonBase-root MuiButton-root MuiButton-outlined MuiButton-outlinedPrimary MuiButton-sizeSmall MuiButton-outlinedSizeSmall MuiButton-colorPrimary MuiButtonGroup-grouped MuiButtonGroup-groupedHorizontal MuiButtonGroup-groupedOutlined MuiButtonGroup-groupedOutlinedHorizontal MuiButtonGroup-groupedOutlinedPrimary MuiButton-root MuiButton-outlined MuiButton-outlinedPrimary MuiButton-sizeSmall MuiButton-outlinedSizeSmall MuiButton-colorPrimary MuiButtonGroup-lastButton css-5ve3fi']" mobileIdentitiesObjectPage_IMEI_button_inputItem_posID = mainPage_ObjectSearch_input_Item_posId -mobileIdentitiesObjectPage_IMEI_button_Save_Item_posXpath = '//div[@class="item-box"]//i[contains(@class,"icon-save")]' # 保存item按钮 +mobileIdentitiesObjectPage_IMEI_button_Save_Item_posXpath = "//i[@class='operate-icon iconfont icon-save']" # 保存item按钮 mobile_Identities_ObjectPage_button_editgroup_posXpath = "//i[@class='row-edit iconfont icon-Edit cursor fontsize18']" # object group组 item编辑按钮 -mobileIdentitiesObjectPage_textArea_Description_posXpath = "//div[@class='objectAdd_description el-textarea el-input--small']/textarea" # description文本输入区Xpath +mobileIdentitiesObjectPage_textArea_Description_posXpath = "//div[@class='MuiTextarea-root MuiTextarea-variantOutlined MuiTextarea-colorNeutral MuiTextarea-sizeMd MuiTextarea-formControl css-v35t8h']/textarea[1]" # description文本输入区Xpath mobileIdentitiesObjectPage_button_SaveYes_posXpath = "//button[@id='OK-_mobileIdDetail_Home_App_anonymousComponent']/span" # OK按钮 mobileIdentitiesObjectPage_button_warningSaveYes_posXpath = "//div[@class='el-message-box__wrapper']/div/div[3]/button[2]/span" # 提示保存ok按钮警告框 mobileIdentitiesObjectPage_button_warningSaveCancel_posCss = '//div[@class="el-message-box__wrapper"]/div/div[3]/button[1]/span' # 提示保存取消按钮警告框 @@ -349,17 +380,17 @@ mobile_Identities_Group_sub_Object_input_frame_posXpath = main_Group_sub_Object_ mobile_Identities_Group_sub_Object_input_frame_select_one_posXpath = main_Group_sub_Object_input_frame_select_one_posXpath # 搜索框第一个元素 mobile_Identities_Group_confirm_leave_posXpath = '//div/div[3]/button[2]/span[contains(text(),"OK")]' # 确认离开 mobile_Identities_Group_sub_Object_Edit_Button_posXpath = "//div[@class='object-item-box']//div[@class='OperateBtn']/i" # mobile_Identities_Group编辑sub Object按钮 -mobile_Identities_Group_sub_Object_add_new_Button_posXpath = "//i[@class='iconfont icon-Create1']" # 新建sub_mobile_Identities按钮 +mobile_Identities_Group_sub_Object_add_new_Button_posXpath = "//button[@class='MuiIconButton-root MuiIconButton-variantPlain MuiIconButton-colorNeutral MuiIconButton-sizeMd MuiMenuButton-root MuiMenuButton-variantOutlined MuiMenuButton-colorNeutral MuiMenuButton-sizeMd css-83p2rh']/i" # 新建sub_mobile_Identities按钮 mobile_Identities_Group_sub_Object_add_new_Select_one_Button_posXpath = "//ul[@x-placement='bottom-start']/li[1]" # 新建选择mobile_Identities按钮 mobile_Identities_Group_sub_Object_add_new_Select_Group_Button_posXpath = "//ul[@x-placement='bottom-start']/li[2]" # 新建选择mobile_Identities_Group按钮 -mobile_Identities_Group_sub_Object_add_new_one_inputName_posXpath = "(//div[@class='biFangName']//input)[2]" # new mobile_Identities input Name -mobile_Identities_Group_sub_Object_add_new_add_item_Button_posXpath = "//div[@class='CommonItems']//div[@class='object-item-add']//i[@class='operate-icon iconfont icon-Create1']" # new mobile_Identities add items -mobile_Identities_Group_sub_Object_add_new_addIMSI_item_inputName_posXpath = "//input[@id='onlyMarvel']" # new IMSI inputItemName -mobile_Identities_Group_sub_Object_add_new_addphoneNumber_item_inputName_posXpath = "//div[@class='expr-box']//input[@class='el-input__inner']" # new PhoneNumber inputItemName -mobile_Identities_Group_sub_Object_add_new_addIMEI_item_inputName_posXpath = '//input[@id="onlyMarvel"]' # new IMEI inputItemName -mobile_Identities_Group_sub_Object_add_new_add_itemIMSI_Save_Button_posXpath = "//i[@class='operate-icon iconfont icon-save save-color']" # 保存item按钮 -mobile_Identities_Group_sub_Object_add_new_add_item_phoneNumber_Save_Button_posXpath = "//i[@class='operate-icon iconfont icon-save save-color']" -mobile_Identities_Group_sub_Object_add_new_add_item_IMEI_Save_Button_posXpath = "//i[@class='operate-icon iconfont icon-save save-color']" +mobile_Identities_Group_sub_Object_add_new_one_inputName_posXpath = "//div[@class='MuiBox-root css-1krxo6z']//input[@class='MuiInput-input css-fqt4w4']" # new mobile_Identities input Name +mobile_Identities_Group_sub_Object_add_new_add_item_Button_posXpath = "//div[@class='MuiBox-root css-1krxo6z']//i[@class='iconfont icon-Create1 font-[700]']" # new mobile_Identities add items +mobile_Identities_Group_sub_Object_add_new_addIMSI_item_inputName_posXpath = "//div[@class='MuiBox-root css-1krxo6z']//input[@class='MuiInput-input css-1u0jcuo']" # new IMSI inputItemName +mobile_Identities_Group_sub_Object_add_new_addphoneNumber_item_inputName_posXpath = "//div[@class='MuiBox-root css-1krxo6z']//input[@class='MuiInput-input css-1u0jcuo']" # new PhoneNumber inputItemName +mobile_Identities_Group_sub_Object_add_new_addIMEI_item_inputName_posXpath = "//div[@class='MuiBox-root css-1krxo6z']//input[@class='MuiInput-input css-1u0jcuo']" # new IMEI inputItemName +mobile_Identities_Group_sub_Object_add_new_add_itemIMSI_Save_Button_posXpath = "//i[@class='operate-icon iconfont icon-save']" # 保存item按钮 +mobile_Identities_Group_sub_Object_add_new_add_item_phoneNumber_Save_Button_posXpath = "//i[@class='operate-icon iconfont icon-save']" +mobile_Identities_Group_sub_Object_add_new_add_item_IMEI_Save_Button_posXpath = "//i[@class='operate-icon iconfont icon-save']" mobile_Identities_Group_sub_Object_add_new_one_OK1_Button_posXpath = "//button[@id='OK-_mobileIdDetail_VDraswer_EditDraw_mobileIdDetail_Home_App_anonymousComponent']" # new mobile_Identities CreateOK1 mobile_Identities_Group_sub_Object_add_new_one_OK1_Warning_Yes_Button_posXpath = "//div[@class='el-message-box__btns']//span[normalize-space(text())='Yes']" # 再次确认创建new mobile_Identities @@ -456,32 +487,33 @@ listPage_object_urls_searchDescription_posId = '4-_FilteredSearch_ElRow_Objects_ listPage_object_urls_searchCreatedBy_posId = '5-_FilteredSearch_ElRow_Objects_url_Home_App_anonymousComponent' # created by 搜索 # URLs对象详情页 -url_ObjectDetailPage_nameInput_posXpath = '//div[@class="rel-input el-input el-input--mini"]/input' # Name输入框Xpath +url_ObjectDetailPage_nameInput_posXpath = '//input[@class="MuiInput-input css-fqt4w4"]' # Name输入框Xpath url_ObjectDetailPage_nameLenthNumber_posXpath = '//*[@class="VEditPanel"]//*[@class="biFangNameLength-length"]' # Name输入框中字符长度数值Xpath -url_ObjectDetailPage_addButton_posId = 'temporary_form' # “+”按钮id +url_ObjectDetailPage_addButton_posId = "//i[@class='iconfont icon-Create1 font-[700]']" # “+”按钮id url_ObjectDetailPage_itemsText_posXpath = '//div[@class="ItemRow infinite-list-item" and not(@style)]//div[@class="item-box"]//span[not(@class)]' # Items 列表下所有Item的文本元素 -url_ObjectDetailPage_item_subAddButton_poXpath = '//*[@class="item-box"]//*[contains(@class,"add-btn")]' # 单个Item中新增多条数据的"+"按钮 +url_ObjectDetailPage_item_subAddButton_poXpath = "//button[@class='MuiButtonBase-root MuiButton-root MuiLoadingButton-root MuiButton-text MuiButton-textPrimary MuiButton-sizeSmall MuiButton-textSizeSmall MuiButton-colorPrimary MuiButton-root MuiLoadingButton-root MuiButton-text MuiButton-textPrimary MuiButton-sizeSmall MuiButton-textSizeSmall MuiButton-colorPrimary css-1tj4fid']" # 单个Item中新增多条数据的"+"按钮 # url_ObjectDetailPage_itemValue_posXpath = '//*[@id="router-view-container"]/div/div[1]/div[1]/div/div/div/div[1]/div[2]/form/div[3]/div/div/div[1]/div[1]/div[1]/div[2]/div[1]/div[1]/div/div/div[2]/div/div/div[1]/div[1]/div/input' # Item value输入框Xpath -url_ObjectDetailPage_itemValue_posXpath = '//*[@class="CommonItems"]//*[@class="edit-row"]//*[@class="el-input__inner"]' # Item value输入框Xpath +url_ObjectDetailPage_itemValue_posXpath = "//input[@class='MuiInput-input css-1u0jcuo']" # Item value输入框Xpath # url_ObjectDetailPage_itemSaveButton_posXpath = '//div[@class="row-header"]/div[2]' # 保存按钮Xpath -url_ObjectDetailPage_itemSaveButton_posXpath = '//div[@class="item-box"]//i[contains(@class,"icon-save")]' # item 下value保存按钮Xpath +url_ObjectDetailPage_itemSaveButton_posXpath = "//i[@class='operate-icon iconfont icon-save']" # item 下value保存按钮Xpath url_ObjectDetailPage_subObjectAddButton_posXpath = '//div[@class="AddButton"]/div/i' # Subordinate Objects + 按钮Xpath url_ObjectDetailPage_subObjectAddButtonWhenHadData_posXpath = '//*[@data-desc="subObject"]//*[@class="operate-icon iconfont icon-Create1"]' # 有数据时Subordinate Objects + 按钮Xpath -url_ObjectDetailPage_firstUrlObject = '//ul[@class="row-container tableList"]/li[1]/div[2]/span' # URL Object中第一个url Xpath -url_ObjectDetailPage_secondUrlObject = '//ul[@class="row-container tableList"]/li[2]/div[2]/span' # URL Object中第二个url Xpath +url_ObjectDetailPage_firstUrlObject = "//ul[@class='MuiList-root MuiList-vertical MuiList-variantPlain MuiList-colorNeutral MuiList-sizeMd css-1cklc3']//li[1]//span" # URL Object中第一个url Xpath +url_ObjectDetailPage_secondUrlObject = "//ul[@class='MuiList-root MuiList-vertical MuiList-variantPlain MuiList-colorNeutral MuiList-sizeMd css-1cklc3']//li[2]//span" # URL Object中第二个url Xpath url_ObjectDetailPage_description_posXpath = '//textarea[@class="el-textarea__inner"]' # Description textarea Xpath url_ObjectDetailPage_object_ip_search_posId = 'object_ip_search' # url item 搜索框id -url_ObjectDetailPage_urlDelCross_posXpath = '//i[@class="operate-icon iconfont icon-Delete_X del"]' # url item "X"按钮Xpath +url_ObjectDetailPage_object_ip_search_posXpath = "//input[@class='MuiInput-input css-za5rna']" +url_ObjectDetailPage_urlDelCross_posXpath = "//i[@class='iconfont icon-Delete_X text-[18px] text-[--color-text]']" # url item "X"按钮Xpath url_ObjectDetailPage_auditLogs_posXpath = '//div[@class="audit_log"]/span' # Audit Logs Xpath url_ObjectDetailPage_auditLogsDrawer_firstRowLog_checkBox_posXpath = '(//div[@class="LocalationDraswer lstsub right-show-edit right-show-edit-other"]//table[@class="el-table__body"]//span[@class="el-checkbox__input"])[1]' # Audit Logs 侧滑页第一条日志CheckBox Xpath url_ObjectDetailPage_auditLogsDrawer_compareButton_posXpath = '//div[@class="LocalationDraswer lstsub right-show-edit right-show-edit-other"]//button[contains(@id,"test-compare-_")]' # Audit Logs 侧滑页Compare 按钮Xpath url_ObjectDetailPage_auditLogsDrawer_compareDrawer_operationText_posXpath = '//div[contains(text(),"Operation")]/following-sibling::div' # Audit Logs 侧滑页点击Compare后的 operation text Xpath url_ObjectDetailPage_itemsTotal_posXpath = '(//div[@class="panel-content"]//div[contains(@class,"total")])[1]' # 详情页Items Total Xpath -url_ObjectDetailPage_importFromFile_posXpath = '//span[contains(text(),"Import From File")]' # Import From File 按钮Xpath -url_ObjectDetailPage_importFromFile_button_posXpath = '//span[contains(text(),"Import From File")]/..' # Import From File 按钮Xpath +url_ObjectDetailPage_importFromFile_posXpath = "//button[@class='MuiButtonBase-root MuiButton-root MuiButton-text MuiButton-textPrimary MuiButton-sizeSmall MuiButton-textSizeSmall MuiButton-colorPrimary MuiButton-root MuiButton-text MuiButton-textPrimary MuiButton-sizeSmall MuiButton-textSizeSmall MuiButton-colorPrimary css-bc4t0x']" # Import From File 按钮Xpath +url_ObjectDetailPage_importFromFile_button_posXpath = "//button[@class='MuiButtonBase-root MuiButton-root MuiButton-text MuiButton-textPrimary MuiButton-sizeSmall MuiButton-textSizeSmall MuiButton-colorPrimary MuiButton-root MuiButton-text MuiButton-textPrimary MuiButton-sizeSmall MuiButton-textSizeSmall MuiButton-colorPrimary css-bc4t0x']" # Import From File 按钮Xpath # url_ObjectDetailPage_pleaseUpload_posXpath = '//span[contains(text(),"Please Upload")]/../../input' # Please Upload input标签Xpath -url_ObjectDetailPage_pleaseUpload_posXpath = '//span[contains(text(),"Please Upload")]/ancestor::div[@class="el-upload el-upload--text"]//input' # Please Upload input标签Xpath -url_ObjectDetailPage_importUrlOk_posXpath = '//button[contains(@class,"import-ok")]' # Import URL 下的OK按钮Xpath +url_ObjectDetailPage_pleaseUpload_posXpath = "//label[@class='MuiButtonBase-root MuiButton-root MuiButton-outlined MuiButton-outlinedPrimary MuiButton-sizeSmall MuiButton-outlinedSizeSmall MuiButton-colorPrimary MuiButton-root MuiButton-outlined MuiButton-outlinedPrimary MuiButton-sizeSmall MuiButton-outlinedSizeSmall MuiButton-colorPrimary css-1b1h392']/input" # Please Upload input标签Xpath +url_ObjectDetailPage_importUrlOk_posXpath = "//button[@class='MuiButtonBase-root MuiButton-root MuiButton-text MuiButton-textPrimary MuiButton-sizeSmall MuiButton-textSizeSmall MuiButton-colorPrimary MuiButton-root MuiButton-text MuiButton-textPrimary MuiButton-sizeSmall MuiButton-textSizeSmall MuiButton-colorPrimary css-k5thc0']" # Import URL 下的OK按钮Xpath url_ObjectDetailPage_importedFile_posXpath = '//ul[@class="el-upload-list el-upload-list--text"]/li' # 导入文件元素位置(Import From File 按钮旁) url_ObjectDetailPage_importedFile_delete_posXpath = '//i[@class="el-icon-close fontsize18"]' # 文件删除按钮 @@ -489,34 +521,37 @@ url_ObjectDetailPage_importedFile_download_posXpath = '//i[@class="iconfont icon # Create URL Group对象详情页 urlGroup_ObjectDetailPage_addButton_posId = 'temporary_form' # Subordinate Objects下 “+”按钮id -urlGroup_ObjectDetailPage_description_posXpath = '(//div[@class="objectAdd_description el-textarea el-input--small"])[1]' # Description textarea Xpath -urlGroup_ObjectDetailPage_subAddButton_posXpath = '//div[@class="CreateBtn rm-search-button"]/div/button' # Subordinate Objects下点击 “+”按钮后,新建url项目中的“+”元素Xpath +urlGroup_ObjectDetailPage_addButton_posXpath = "//div[@class='url-object-included_sub_object_uuids']" +urlGroup_ObjectDetailPage_description_posXpath = "//div[@class='MuiTextarea-root MuiTextarea-variantOutlined MuiTextarea-colorNeutral MuiTextarea-sizeMd MuiTextarea-formControl css-v35t8h']//textarea[1]" # Description textarea Xpath +urlGroup_ObjectDetailPage_subAddButton_posXpath = "//i[@class='iconfont icon-Create1']" # Subordinate Objects下点击 “+”按钮后,新建url项目中的“+”元素Xpath url_ObjectGroupDetailPage_subObjects_addButton_newAdd_posXpath = '//div[@data-desc="subObject"]//div[@class="AddButton"]' # Subordinate Objects 下无数据新增时"+"按钮Xpath urlGroup_ObjectDetailPage_subUrl_posXpath = "(//ul[starts-with(@id ,'dropdown-menu')]//li[1])[last()]" # 子+下的Url选项 -urlGroup_ObjectDetailPage_subNameInput_posXpath = '(//div[@class="rel-input el-input el-input--mini"]/input)[last()]' # 子Name输入框Xpath -urlGroup_ObjectDetailPage_subSubAddButton_posXpath = '(//div[@id="temporary_form"])[last()]' # 子“+”按钮Xpath -urlGroup_ObjectDetailPage_subItemSearch_posXpath = '//div[@class="right-menu-content"]//input[@id="object_ip_search"]' # 侧滑Item栏搜索框Xpath +urlGroup_ObjectDetailPage_subNameInput_posXpath = "//div[@class='MuiBox-root css-1krxo6z']//div[@class='url-object-name']//input" # 子Name输入框Xpath +urlGroup_ObjectDetailPage_subSubAddButton_posXpath = "//div[@class='MuiBox-root css-1krxo6z']//i[@class='iconfont icon-Create1 font-[700]']" # 子“+”按钮Xpath +urlGroup_ObjectDetailPage_subItemSearch_posXpath = "//input[@class='MuiInput-input css-za5rna']" # 侧滑Item栏搜索框Xpath # urlGroup_ObjectDetailPage_subItemSearch_posXpath = '//div[@class="EditDraw"]//input[@id="object_ip_search"][1]' # 侧滑Item栏搜索框Xpath urlGroup_ObjectDetailPage_subTotalField_posXpath = '//div[@class="ToggleDraw"]//p[contains(text(),"Total")]' # 侧滑Total:xx 元素Xpath # urlGroup_ObjectDetailPage_subTotalField_posXpath = '//*[@class="EditDraw"]//div[@class="drawer-box"]//div[@class="panel-content"]//*[contains(text(),"Total")]' # 侧滑Total:xx 元素Xpath -urlGroup_ObjectDetailPage_subItemValue_posXpath = '//div[@class="item-box"]//input' # 子Item value输入框Xpath -urlGroup_ObjectDetailPage_subItemSaveButton_posXpath = '//div[@class="row-header"]/div[2]' # 子保存按钮Xpath -urlGroup_ObjectDetailPage_subObjectSearchButton_posXpath = '//div[@data-desc="subObject"]//*[@id="object_ip_search"]' # Subordinate Objects中的Object搜索框 -urlGroup_ObjectDetailPage_excludeObjectSearchButton_posXpath = '//div[@data-desc="exclude subObject"]//*[@id="object_ip_search"]' # Exclude Objects中的Object搜索框 -urlGroup_ObjectDetailPage_subDescription_posXpath = '(//textarea[@class="el-textarea__inner"])[last()]' # 子Description textarea Xpath +urlGroup_ObjectDetailPage_subItemValue_posXpath = "//div[@class='MuiBox-root css-1krxo6z']//div[@class='MuiInput-root MuiInput-variantOutlined MuiInput-colorNeutral MuiInput-sizeMd MuiInput-formControl css-aioqkf']/input" # 子Item value输入框Xpath +urlGroup_ObjectDetailPage_subItemSaveButton_posXpath = "//div[@class='MuiBox-root css-1krxo6z']//i[@class='operate-icon iconfont icon-save']" # 子保存按钮Xpath +urlGroup_ObjectDetailPage_subObjectSearchButton_posXpath = "//div[@class='url-object-included_sub_object_uuids']//input[@class='MuiInput-input css-za5rna']" # Subordinate Objects中的Object搜索框 +urlGroup_ObjectDetailPage_excludeObjectSearchButton_posXpath = "//div[@class='url-object-excluded_sub_object_uuids']//input[@class='MuiInput-input css-za5rna']" # Exclude Objects中的Object搜索框 +urlGroup_ObjectDetailPage_subDescription_posXpath = "//div[@class='MuiBox-root css-1krxo6z']//div[@class='url-object-description']//textarea[1]" # 子Description textarea Xpath urlGroup_ObjectDetailPage_subOkButton_posId = 'OK-_URLDetail_VDraswer_EditDraw_URLDetail_Home_App_anonymousComponent' # 子“OK”按钮id +urlGroup_ObjectDetailPage_subOkButton_posXpath = "//div[@class='MuiBox-root css-1krxo6z']//button[@class='MuiButtonBase-root MuiButton-root MuiLoadingButton-root MuiButton-text MuiButton-textPrimary MuiButton-sizeSmall MuiButton-textSizeSmall MuiButton-colorPrimary MuiButton-root MuiLoadingButton-root MuiButton-text MuiButton-textPrimary MuiButton-sizeSmall MuiButton-textSizeSmall MuiButton-colorPrimary form-action-submit css-1djnbgz']" urlGroup_ObjectDetailPage_subOkButton_yes_posXpath = "//div[@class='el-message-box__wrapper']/div/div[3]/button[2]/span" # 子确认弹窗的“Yes”按钮 -url_ObjectDetailPage_subImportUrlOk_posXpath = '(//button[contains(@class,"import-ok")])[last()]' # 子Import URL 下的OK按钮Xpath +url_ObjectDetailPage_subImportUrlOk_posXpath = "//button[@class='MuiButtonBase-root MuiButton-root MuiButton-text MuiButton-textPrimary MuiButton-sizeSmall MuiButton-textSizeSmall MuiButton-colorPrimary MuiButton-root MuiButton-text MuiButton-textPrimary MuiButton-sizeSmall MuiButton-textSizeSmall MuiButton-colorPrimary css-k5thc0']" # 子Import URL 下的OK按钮Xpath urlGroup_ObjectDetailPage_subObjectEdit_posXpath = '//div[@class="infinite-list-wrapper"]//div[@class="OperateBtn"]' # 编辑object group 中编辑object的编辑按钮Xpath -urlGroup_ObjectDetailPage_excludeObjectsSwitch_posXpath = '//div[@data-desc="exclude subObject"]//div[@role="switch"]' # Exclude Objects Switch Xpath -urlGroup_ObjectDetailPage_excludeObjectsSwitch_enableStatus_posXpath = '//div[@data-desc="exclude subObject"]//div[@role="switch" and @class="el-switch is-checked"]' # Exclude Objects Switch Xpath开启状态 -urlGroup_ObjectDetailPage_excludeObjectsSwitch_newAdd_posXpath = '//div[@data-desc="exclude subObject"]//i[@class="iconfont icon-Create1 cursor"]' # Exclude Objects无数据时新增按钮Xpath -urlGroup_ObjectDetailPage_excludeObjectsSwitch_normalAdd_posXpath = '//div[@data-desc="exclude subObject"]//div[@id="temporary_form"]' # Exclude Objects有数据时新增按钮Xpath -urlGroup_ObjectDetailPage_excludeObjects_itemsArea_posXpath = '//div[@data-desc="exclude subObject"]//div[@class="CommonSubObjects"]' # Exclude Objects下的item区域div Xpath -url_ObjectGroupDetailPage_subObjects_toggleDraw_closeButton_posXpath = '//div[contains(@class,"list-box")]//button[contains(@class,"right-menu-button-close")]' # url侧滑窗口的Close按钮 +urlGroup_ObjectDetailPage_excludeObjectsSwitch_posXpath = "//div[@class='url-object-']//span[@class='MuiButtonBase-root MuiSwitch-switchBase MuiSwitch-colorPrimary PrivateSwitchBase-root MuiSwitch-switchBase MuiSwitch-colorPrimary css-y2jqxi']" # Exclude Objects Switch Xpath +urlGroup_ObjectDetailPage_excludeObjectsSwitch_enableStatus_posXpath = "//div[@class='url-object-']//span[@class='MuiButtonBase-root MuiSwitch-switchBase MuiSwitch-colorPrimary Mui-checked PrivateSwitchBase-root MuiSwitch-switchBase MuiSwitch-colorPrimary Mui-checked Mui-checked css-y2jqxi']" # Exclude Objects Switch Xpath开启状态 +urlGroup_ObjectDetailPage_excludeObjectsSwitch_newAdd_posXpath = "//div[@class='url-object-excluded_sub_object_uuids']//i[@class='iconfont icon-Create1 font-[700]']" # Exclude Objects无数据时新增按钮Xpath +urlGroup_ObjectDetailPage_excludeObjectsSwitch_normalAdd_posXpath = "//div[@class='url-object-excluded_sub_object_uuids']//i[@class='iconfont icon-Create1 text-[18px] text-weight-700] text-[--color-primary] cursor-pointer']" # Exclude Objects有数据时新增按钮Xpath +urlGroup_ObjectDetailPage_excludeObjects_itemsArea_posXpath = "//div[@class='url-object-excluded_sub_object_uuids']" # Exclude Objects下的item区域div Xpath +url_ObjectGroupDetailPage_subObjects_toggleDraw_closeButton_posXpath = "//button[@class='MuiButtonBase-root MuiButton-root MuiButton-text MuiButton-textPrimary MuiButton-sizeSmall MuiButton-textSizeSmall MuiButton-colorPrimary MuiButton-root MuiButton-text MuiButton-textPrimary MuiButton-sizeSmall MuiButton-textSizeSmall MuiButton-colorPrimary css-5vcc8t']" # url侧滑窗口的Close按钮 url_ObjectDetailPage_clearCounter_posXpath = '//button[contains(@id,"objectResetBtn-_anonymousComponent_ElForm_anonymousComponent_VPanel_VEditPanel_")]' # Clear Counter按钮 urlGroup_ObjectDetailPage_editgroup_posXpath = "//i[@class='row-edit iconfont icon-Edit cursor fontsize18']" url_ObjectDetailPage_okButton_posId = 'OK-_URLDetail_Home_App_anonymousComponent' # “OK”按钮id +url_ObjectDetailPage_okButton_posXpath = "//button[@class='MuiButtonBase-root MuiButton-root MuiLoadingButton-root MuiButton-text MuiButton-textPrimary MuiButton-sizeSmall MuiButton-textSizeSmall MuiButton-colorPrimary MuiButton-root MuiLoadingButton-root MuiButton-text MuiButton-textPrimary MuiButton-sizeSmall MuiButton-textSizeSmall MuiButton-colorPrimary form-action-submit css-1djnbgz']" url_ObjectDetailPage_cancelButton_posId = 'Cancle-_URLDetail_Home_App_anonymousComponent' # “Cancel”按钮id url_ObjectDetailPage_okButton_yes_posXpath = '//div[@class="el-message-box__btns"]//button[contains(@class,"operation-confirm")]' # 确认弹窗的“Yes”按钮 url_ObjectDetailPage_okButton_cancel_posXpath = '//div[@class="el-message-box__btns"]//button[contains(@class,"operation-cancel")]' # 确认弹窗的“Cancel”按钮 @@ -562,7 +597,7 @@ listPage_objectSearch_geo_select_SubAdministrativeArea_posXpath = "//li[@id='151 listPage_objectSearch_ip_address_buttonSearch_posId = mainPage_ObjectSearch_buttonSearch_posId # 查询按钮id # main_Export_ObjectPage_Button_posXpath = '//div/button[contains(@class,"Export")]/i' # 导出按钮 -main_Export_ObjectPage_Button_posXpath = '//button[contains(@class,"Export")]' # 导出按钮 +main_Export_ObjectPage_Button_posXpath = "//button[@class='MuiButtonBase-root MuiButton-root MuiButton-text MuiButton-textPrimary MuiButton-sizeMedium MuiButton-textSizeMedium MuiButton-colorPrimary MuiButton-root MuiButton-text MuiButton-textPrimary MuiButton-sizeMedium MuiButton-textSizeMedium MuiButton-colorPrimary css-epitc3']" # 导出按钮 listPage_objectSearch_ip_address_buttonClear_posId = mainPage_ObjectSearch_buttonClear_posId # 清空查询按钮id listPage_object_ip_address_create_ip_address_Button_posId = 'object0-_OperateBtns_ElRow_Objects_ip_Home_App_anonymousComponent' # 创建IP Address listPage_object_ip_address_create_ip_address_Group_Button_posId = "object1-_OperateBtns_ElRow_Objects_ip_Home_App_anonymousComponent" # 创建IP Address_Group @@ -580,66 +615,71 @@ listPage_object_ip_address_new_Description_extract_posXpath = '//table/tbody/tr[ listPage_object_ip_address_new_Details_extract_posXpath = '//table/tbody/tr[1]/td[4]/div/div/div/div/div/div/span' # 提取Detail listPage_object_ip_address_del_after_ele_posXpath = '//div[@id="ly-table1-listcontent"]/div/div[3]/div/span' # 删除后提示"No Data" # ip_address list page 列表页操作 -listPage_object_ip_address_select_First_object_posXpath = "//*[@id='ly-table1-listcontent']//tbody/tr[1]//span[@class='el-checkbox__inner']" # 选择列表中第一个对象 -listPage_object_ip_address_select_Second_object_posXpath = "//*[@id='ly-table1-listcontent']//tbody/tr[2]//span[@class='el-checkbox__inner']" # 选择列表中第二个对象 +listPage_object_ip_address_select_First_object_posXpath = "//div[@class='MuiDataGrid-virtualScrollerRenderZone css-1inm7gi']/div[1]//span[@class='MuiCheckbox-action css-kit57i']" # 选择列表中第一个对象 +listPage_object_ip_address_select_Second_object_posXpath = "//div[@class='MuiDataGrid-virtualScrollerRenderZone css-1inm7gi']/div[2]//span[@class='MuiCheckbox-action css-kit57i']" # 选择列表中第二个对象 listPage_First_object_ID_posXpath = "(//*[@id='ly-table1-listcontent']//div[@class='table-status-item-id'])[1]" -listPage_First_object_Name_posXpath = "(//*[@id='ly-table1-listcontent']//span[@class='three-row bifangWidth name-fontFamily'])[1]" -listPage_First_object_Description_posXpath = "(//*[@id='ly-table1-listcontent']//p[@class='el-tooltip objectDesc item'])[1]" +listPage_First_object_Name_posXpath = "//div[@class='MuiDataGrid-virtualScrollerRenderZone css-1inm7gi']/div[2]//div[@data-field='name']//span[@class='truncate']" +listPage_First_object_Description_posXpath = "//div[@class='MuiDataGrid-virtualScrollerRenderZone css-1inm7gi']/div[2]//div[@data-field='description']" listPage_Second_object_ID_posXpath = "(//*[@id='ly-table1-listcontent']//div[@class='table-status-item-id'])[2]" # Create IP Address Object 和 Edit IP Address Object 新增和编辑页 -ip_addressObjectPage_input_Name_posXpath = "//div[@class='biFangName']//input" # name输入框Xpath +ip_addressObjectPage_input_Name_posXpath = "//div[@class='MuiInput-root MuiInput-variantOutlined MuiInput-colorNeutral MuiInput-sizeMd MuiInput-formControl css-uzf287']//input" # name输入框Xpath ip_addressObjectPage_radioButton_IP_posId = "IPendpoint" # IP单选按钮id ip_addressObjectPage_input_searchFor_posId = mainPage_ObjectSearch_buttonSearch_Item_posId # search for item搜索输入框id ip_addressObjectPage_button_addItem_posId = mainPage_ObjectSearch_buttonAddItem_posId # 添加item按钮id -ip_addressObjectPage_button_addItem_first_item_posXpath = "//div[@class='item-box']//span[@class='ip-txt']" # item 搜索框第一个元素 -ip_addressObjectPage_Group_button_addItem_posXpath = '//form/div[4]/div/div/div/div[1]/div/div[1]/div[3]/div/i' # 添加item按钮Xpath -ip_addressObjectPage_addItem_error_tips_posXpath = "//div[@class='object-item-error']/span" # IP error_format 错误提示 -ip_addressObjectPage_button_inputItem_posXpath = '//div[@class="list-container"]//div[@class="IpExpr expr-item"]//div/input' # 输入item内容 -ip_addressObjectPage_button_editItem_posXpath = "//i[@class='operate-icon iconfont icon-Edit']" # object item编辑按钮 +ip_addressObjectPage_button_addItem_posXpath = "//i[@class='iconfont icon-Create1 font-[700]']" +ip_addressObjectPage_button_addItem_first_item_posXpath = "//div[@class='MuiFormControl-root MuiFormControl-horizontal MuiFormControl-sizeMd css-90yvhw']/div[@class='ip-object-ip']/div" # item 搜索框第一个元素 +ip_addressObjectPage_addItem_error_tips_posXpath = "//div[@class='MuiFormHelperText-root css-koslx8']" # IP error_format 错误提示 +ip_addressObjectPage_button_inputItem_posXpath = "//div[@class='MuiTableCell-root MuiTableCell-sizeMedium css-h2ab6y']//div[@class='MuiAutocomplete-wrapper css-1gurlra']/input" # 输入item内容 +ip_addressObjectPage_button_editItem_posXpath = "//i[@class='iconfont icon-Edit']" # object item编辑按钮 ip_addressObjectPage_button_editgroup_posXpath = "//i[@class='row-edit iconfont icon-Edit cursor fontsize18']" # object group组 item编辑按钮 -ip_addressObjectPage_button_ip_text_posXpath = "//div[@class='object-item-box']//div[@class='item-box']//div[@class='el-input el-input--small']/input" # ip object item文本编辑框 -ip_addressObjectPage_button_ip_learing_text_posXpath = "//div[@class='object-item-box']//div[@class='item-box']//div[@class='fqdn-input el-input el-input--small']/input" # ip_learing object item文本编辑框 +ip_addressObjectPage_button_ip_text_posXpath = "//div[@class='ip-object-ip']//input[@class='MuiAutocomplete-input css-1lv7pyi']" # ip object item文本编辑框 +ip_addressObjectPage_button_ip_learing_text_posXpath = "//div[@class='ip-object-from_fqdns']//input[@class='MuiInput-input css-1u0jcuo']" # ip_learing object item文本编辑框 ip_address_listPage_object_searchId_posId = '1-_FilteredSearch_ElRow_Objects_ip_Home_App_anonymousComponent' # ID 搜索 - +ip_address_statistics_select_posXpath = "//button[@class='MuiSelect-button css-1qmzz5g']" ip_addressObjectPage_radioButton_Geography_posId = "Geographygeo_location" # Geography单选按钮id ip_addressObjectPage_radioButton_Geography_Select_Asia = '//div[4]/div//div[3]/div/div/span[text()="Europa"]' # countryRegion选择1亚洲 ip_addressObjectPage_radioButton_Geography_Select_replace = '//div[4]/div//div[2]/div/div/span[text()="replace"]' # countryRegion选择1亚洲 ip_addressObjectPage_radioButton_Geography_Select_Asia_China = '//div[4]/div/div//div[3]/div[2]/div[8]/div/label/span/span' # countryRegion选择2中国 ip_addressObjectPage_radioButton_IP_learning_posId = "IP Learningip_learning" # IP Learning单选按钮id -ip_addressObjectPage_IP_learning_inputItem_posXpath = "//div[@class='IpLearningItemList']//div[@class='edit-row']//input[@class='el-input__inner']" # IP Learning中Item输入 -ip_addressObjectPage_button_Save_Item_posXpath = '//div/i[@class="operate-icon iconfont icon-save check"]' # 保存item按钮 +ip_addressObjectPage_radioButton_IP_learning_posXpath = "//button[@class='MuiButtonBase-root MuiButton-root MuiButton-outlined MuiButton-outlinedPrimary MuiButton-sizeSmall MuiButton-outlinedSizeSmall MuiButton-colorPrimary MuiButtonGroup-grouped MuiButtonGroup-groupedHorizontal MuiButtonGroup-groupedOutlined MuiButtonGroup-groupedOutlinedHorizontal MuiButtonGroup-groupedOutlinedPrimary MuiButton-root MuiButton-outlined MuiButton-outlinedPrimary MuiButton-sizeSmall MuiButton-outlinedSizeSmall MuiButton-colorPrimary MuiButtonGroup-lastButton css-5ve3fi']" +ip_addressObjectPage_IP_learning_inputItem_posXpath = "//div[@class='MuiInput-root MuiInput-variantOutlined MuiInput-colorNeutral MuiInput-sizeMd MuiInput-formControl css-grqzrl']/input" # IP Learning中Item输入 + +ip_addressObjectPage_button_Save_Item_posXpath = '//i[@class="operate-icon iconfont icon-save"]' # 保存item按钮 ip_address_Geography_list_first_ele_posXpath = '//div[@role="group"][@aria-expanded="true"]/div[1]/div/label/span' # Geography所选列表下第一个元素 -ip_addressObjectPage_button_IP_learn_from_protocols_posXpath = "//input[@placeholder='Protocols']" # Learn From Protocols选择框 -ip_addressObjectPage_button_IP_learn_from_protocols_up_posXpath = '//i[@class="el-select__caret el-input__icon el-icon-arrow-up is-reverse"]' # Learn From Protocols_up选择框 -ip_addressObjectPage_button_IP_learn_from_protocols_Select_HTTP_posXpath = '//li/span[text()="HTTP"]' # Learn From Protocols选择HTTP -ip_addressObjectPage_button_IP_learn_from_protocols_Select_SSL_posXpath = '//li/span[text()="SSL"]' # Learn From Protocols选择SSL -ip_addressObjectPage_button_Input_Aging_Times_posXpath = "//input[@placeholder='Aging Times']" # Aging Times输入框 -ip_addressObjectPage_button_Input_Vote_Clients_Number_posXpath = "//input[@placeholder='Vote Clients Number']" # Vote Clients Number输入框 -ip_addressObjectPage_button_Input_Learned_IP_Limits_posXpath = "//input[@placeholder='Learned IP Limits']" # Learned IP Limits 输入框 - -ip_addressObjectPage_textArea_Description_posXpath = "//div[@class='objectAdd_description el-textarea el-input--small']/textarea" # description文本输入区Xpath -ip_addressObjectPage_button_OK_posXpath = '//button[@id="OK-_IpDetail_Home_App_anonymousComponent"]/span' # Group保存主页面OK按钮 +ip_addressObjectPage_button_IP_learn_from_protocols_posXpath = "//div[@class='MuiSelect-root MuiSelect-variantOutlined MuiSelect-colorNeutral MuiSelect-sizeMd css-n6bil4']/button[@class='MuiSelect-button css-1qmzz5g']" # Learn From Protocols选择框 +ip_addressObjectPage_button_IP_learn_from_protocols_up_posXpath = "//div[@class='MuiSelect-root Mui-expanded MuiSelect-variantOutlined MuiSelect-colorNeutral MuiSelect-sizeMd css-n6bil4']" # Learn From Protocols_up选择框 +ip_addressObjectPage_button_IP_learn_from_protocols_Select_HTTP_posXpath = "//ul[@class='base-Popper-root MuiSelect-listbox Mui-expanded css-icfck1']/li[text()='HTTP']" # Learn From Protocols选择HTTP +ip_addressObjectPage_button_IP_learn_from_protocols_Select_SSL_posXpath = "//ul[@class='base-Popper-root MuiSelect-listbox Mui-expanded css-icfck1']/li[text()='SSL']" # Learn From Protocols选择SSL +ip_addressObjectPage_button_IP_learn_from_protocols_Select_DNS_posXpath ="//ul[@class='base-Popper-root MuiSelect-listbox Mui-expanded css-icfck1']/li[text()='DNS']" +ip_addressObjectPage_button_Input_Aging_Times_posXpath = "//div[@class='ip-object-aging_time']/div/input" # Aging Times输入框 +ip_addressObjectPage_button_Input_Vote_Clients_Number_posXpath = "//div[@class='ip-object-vote_client_num']/div/input" # Vote Clients Number输入框 +ip_addressObjectPage_button_Input_Learned_IP_Limits_posXpath = "//div[@class='ip-object-goal_upper_limit']/div/input" # Learned IP Limits 输入框 + +ip_addressObjectPage_textArea_Description_posXpath = "//div[@class='MuiTextarea-root MuiTextarea-variantOutlined MuiTextarea-colorNeutral MuiTextarea-sizeMd MuiTextarea-formControl css-v35t8h']/textarea[1]" # description文本输入区Xpath +ip_addressObjectPage_button_OK_posXpath = "//button[@class='MuiButtonBase-root MuiButton-root MuiLoadingButton-root MuiButton-text MuiButton-textPrimary MuiButton-sizeSmall MuiButton-textSizeSmall \ +MuiButton-colorPrimary MuiButton-root MuiLoadingButton-root MuiButton-text MuiButton-textPrimary MuiButton-sizeSmall MuiButton-textSizeSmall MuiButton-colorPrimary form-action-submit css-1djnbgz']" # Group保存主页面OK按钮 ip_addressObjectPage_button_SaveYes_posXpath = '//button[@id="OK-_IpDetail_VDraswer_EditDraw_IpDetail_Home_App_anonymousComponent"]/span' # Group引用创建OK按钮 ip_addressObjectPage_button_warningSaveYes_posXpath = "//div[@class='el-message-box__wrapper']/div/div[3]/button[2]/span" # 提示保存ok按钮警告框 ip_addressObjectPage_button_warningSaveCancel_posCss = '//div[@class="el-message-box__wrapper"]/div/div[3]/button[1]/span' # 提示保存取消按钮警告框 ip_addressObjectPage_button_cancel_posCss = "//button[@id='Cancel-_IpDetail_Home_App_anonymousComponent']/span" # Cancel按钮 # Create IP Address Group Object 和 Edit Create IP Address Group 新增和编辑页 -ip_address_Group_sub_Object_addButton_posXpath = "//div[@class='CommonSubObjects']//i[@class='iconfont icon-Create1 cursor']" # ip_address_Group添加sub Object按钮 +ip_address_Group_sub_Object_addButton_posXpath = "//div[@class='ip-object-included_sub_object_uuids']" # ip_address_Group添加sub Object按钮 ip_address_Group_sub_Object_add_new_Button_posXpath = "//i[@class='iconfont icon-Create1']" # 新建sub_ip_address按钮 ip_address_Group_sub_Object_add_new_Select_one_Button_posXpath = "//ul[@x-placement='bottom-start']/li[1]" # 新建选择ip_address按钮 ip_address_Group_sub_Object_edit_subObject_Button_posXpath = "//i[@class='row-edit iconfont icon-Edit cursor fontsize18']" # 编辑group 下的object 按钮 ip_address_Group_sub_Object_add_new_Select_Group_Button_posXpath = "//ul[@x-placement='bottom-start']/li[2]" # 新建选择ip_address_Group按钮 -ip_address_Group_sub_Object_add_new_one_inputName_posXpath = "(//div[@class='biFangName']//input)[2]" # new ip_address input Name -ip_address_Group_sub_Object_add_new_add_item_Button_posXpath = "//div[@class='CommonItems']//div[@class='object-item-add']//i[@class='operate-icon iconfont icon-Create1']" # new ip_address add items -ip_address_Group_sub_Object_add_new_addIP_item_inputName_posXpath = '//div[@class="list-container"]//input' # new IP Item input +ip_address_Group_sub_Object_add_new_one_inputName_posXpath = "//div[@class='MuiBox-root css-1krxo6z']//div[@class='ip-object-name']//input" # new ip_address input Name +ip_address_Group_sub_Object_add_new_add_item_Button_posXpath = "//div[@class='MuiBox-root css-1krxo6z']//i[@class='iconfont icon-Create1 font-[700]']" # new ip_address add items +ip_address_Group_sub_Object_add_new_addIP_item_inputName_posXpath = "//div[@class='MuiBox-root css-1krxo6z']//input[@class='MuiAutocomplete-input css-1lv7pyi']" # new IP Item input ip_address_ObjectDetailPage_okButton_yes_posXpath = url_ObjectDetailPage_okButton_yes_posXpath # 确认弹窗的“Yes”按钮 # ================= Geography =============== Geography================= Geography =============== Geography================= Geography =============== Geography================= Geography =============== Geography ip_address_Group_sub_Object_add_new_addphoneNumber_item_inputName_posXpath = '//form/div[4]/div[1]/div/div/div[1]/div[1]/div[1]/div[2]/div[1]/div[1]/div/div/div[2]/div/div/div[1]/div[1]/div/input' # new PhoneNumber inputItemName ip_address_Group_sub_Object_add_new_addIMEI_item_inputName_posXpath = '//input[@id="onlyMarvel"]' # new IMEI inputItemName ip_address_Group_sub_Object_add_new_add_itemIP_Save_Button_posXpath = "//i[@class='operate-icon iconfont icon-save check']" # 保存item按钮 -ip_address_Group_sub_Object_add_new_one_OK1_Button_posXpath = "//button[@id='OK-_IpDetail_VDraswer_EditDraw_IpDetail_Home_App_anonymousComponent']" # new ip_address CreateOK1 +ip_address_Group_sub_Object_add_new_one_OK1_Button_posXpath = "//div[@class='MuiBox-root css-1krxo6z']//button[@class='MuiButtonBase-root MuiButton-root MuiLoadingButton-root MuiButton-text MuiButton-textPrimary \ +MuiButton-sizeSmall MuiButton-textSizeSmall MuiButton-colorPrimary MuiButton-root MuiLoadingButton-root MuiButton-text MuiButton-textPrimary MuiButton-sizeSmall MuiButton-textSizeSmall MuiButton-colorPrimary form-action-submit css-1djnbgz']" # new ip_address CreateOK1 ip_address_Group_sub_Object_add_new_one_OK1_Warning_Yes_Button_posXpath = "//div[@class='el-message-box__btns']//span[normalize-space(text())='Yes']" # 再次确认创建new ip_address ip_address_Group_sub_Object_add_new_one_OK1_Warning_Cancel_Button_posXpath = "//div[@class='el-message-box__btns']//span[normalize-space(text())='Cancel']" # 再次确认取消new ip_address @@ -692,25 +732,27 @@ FQDNsObjectPage_input_Name_posXpath = "//div[@class='biFangName']//input" # nam FQDNsObjectPage_input_searchFor_posId = mainPage_ObjectSearch_buttonSearch_Item_posId # search for item搜索输入框id FQDNsObjectPage_button_addItem_posId = mainPage_ObjectSearch_buttonAddItem_posId # 添加item按钮id -FQDNsObjectPage_button_inputItem_posXpath = "//div[@class='object-item-box']//div[@class='item-box']//div[@class='rel-input el-input el-input--small']/input" # 输入item内容 -FQDNsObjectPage_button_Save_Item_posXpath = "//div[@class='object-item-box']//div[@class='item-box']//div[@class='IconBtn']/i" # 保存item按钮 +FQDNsObjectPage_button_inputItem_posXpath = "//div[@class='MuiInput-root MuiInput-variantOutlined MuiInput-colorNeutral MuiInput-sizeMd MuiInput-formControl css-grqzrl']/input" # 输入item内容 +FQDNsObjectPage_button_Save_Item_posXpath = "//i[@class='operate-icon iconfont icon-save']" # 保存item按钮 FQDNsObjectPage_textArea_Description_posXpath = "//div[@class='objectAdd_description el-textarea el-input--small']/textarea" # description文本输入区Xpath -FQDNsObjectPage_button_SaveYes_posXpath = '//button[@id="OK-_FqdnDetail_Home_App_anonymousComponent"]/span' # OK按钮 +FQDNsObjectPage_button_SaveYes_posXpath = "//div[@class=' fqdn-object-page MuiBox-root css-1hl1tbm']//button[@class='MuiButtonBase-root MuiButton-root MuiLoadingButton-root \ +MuiButton-text MuiButton-textPrimary MuiButton-sizeSmall MuiButton-textSizeSmall MuiButton-colorPrimary MuiButton-root MuiLoadingButton-root MuiButton-text MuiButton-textPrimary MuiButton-sizeSmall MuiButton-textSizeSmall MuiButton-colorPrimary form-action-submit css-1djnbgz']" # OK按钮 FQDNsObjectPage_button_warningSaveYes_posXpath = "//div[@class='el-message-box__wrapper']/div/div[3]/button[2]/span" # 提示保存ok按钮警告框 FQDNsObjectPage_button_warningSaveCancel_posCss = '//div[@class="el-message-box__wrapper"]/div/div[3]/button[1]/span' # 提示保存取消按钮警告框 FQDNsObjectPage_button_cancel_posCss = "//button[@id='Cancle-_FqdnDetail_Home_App_anonymousComponent']/span" # Cancel按钮 # Create FQDNs Group Object 和 Edit CreateFQDNs Group 新增和编辑页 -FQDNs_Group_sub_Object_addButton_posXpath = "//div[@class='CommonSubObjects']//i[@class='iconfont icon-Create1 cursor']" # FQDNs_Group添加sub Object按钮 +FQDNs_Group_sub_Object_addButton_posXpath = "//div[@class='fqdn-object-included_sub_object_uuids']" # FQDNs_Group添加sub Object按钮 FQDNs_Group_sub_Object_add_new_Button_posXpath = "//i[@class='iconfont icon-Create1']" # 新建sub_FQDNs按钮 FQDNs_Group_sub_Object_add_new_Select_one_Button_posXpath = "//ul[@x-placement='bottom-start']/li[1]" # 新建选择FQDNs按钮 FQDNs_Group_sub_Object_add_new_Select_Group_Button_posXpath = "//ul[@x-placement='bottom-start']/li[2]" # 新建选择FQDNs_Group按钮 -FQDNs_Group_sub_Object_add_new_one_inputName_posXpath = "(//div[@class='biFangName']//input)[2]" # new FQDNs input Name -FQDNs_Group_sub_Object_add_new_add_item_Button_posXpath = "//div[@class='CommonItems']//div[@class='object-item-add']//i[@class='operate-icon iconfont icon-Create1']" # new FQDNs add items Button -FQDNs_Group_sub_Object_add_new_addIP_item_inputName_posXpath = '//div[@class="list-container"]//input' # new FQDNs Item input -FQDNs_Group_sub_Object_add_new_add_itemIP_Save_Button_posXpath = "//i[@class='operate-icon iconfont icon-save save-color']" # new FQDNs 保存item按钮 -FQDNs_Group_sub_Object_add_new_one_OK1_Button_posXpath = "//button[@id='OK-_FqdnDetail_VDraswer_EditDraw_FqdnDetail_Home_App_anonymousComponent']" # new FQDNs CreateOK1 +FQDNs_Group_sub_Object_add_new_one_inputName_posXpath = "//div[@class='MuiBox-root css-1krxo6z']//div[@class='fqdn-object-name']//input" # new FQDNs input Name +FQDNs_Group_sub_Object_add_new_add_item_Button_posXpath = "//div[@class='MuiBox-root css-1krxo6z']//i[@class='iconfont icon-Create1 font-[700]']" # new FQDNs add items Button +FQDNs_Group_sub_Object_add_new_addIP_item_inputName_posXpath = "//div[@class='MuiBox-root css-1krxo6z']//div[@class='fqdn-object-expression']//input" # new FQDNs Item input +FQDNs_Group_sub_Object_add_new_add_itemIP_Save_Button_posXpath = "//i[@class='operate-icon iconfont icon-save']" # new FQDNs 保存item按钮 +FQDNs_Group_sub_Object_add_new_one_OK1_Button_posXpath = "//div[@class='MuiBox-root css-1krxo6z']//button[@class='MuiButtonBase-root MuiButton-root MuiLoadingButton-root \ +MuiButton-text MuiButton-textPrimary MuiButton-sizeSmall MuiButton-textSizeSmallw MuiButton-colorPrimary MuiButton-root MuiLoadingButton-root MuiButton-text MuiButton-textPrimary MuiButton-sizeSmall MuiButton-textSizeSmall MuiButton-colorPrimary form-action-submit css-1djnbgz']" # new FQDNs CreateOK1 FQDNs_Group_sub_Object_add_new_one_OK1_Warning_Yes_Button_posXpath = "//div[@class='el-message-box__btns']//span[normalize-space(text())='Yes']" # 再次确认创建new FQDNs FQDNs_Group_sub_Object_add_new_one_OK1_Warning_Cancel_Button_posXpath = "//div[@class='el-message-box__btns']//span[normalize-space(text())='Cancel']" # 再次确认取消new FQDNs FQDNs_Group_sub_Object_add_new_one_Cancel2_Button_posXpath = '//div/div/div[2]/div/div/div[1]/div/div/div[1]/div[3]/button[2]/span' # new FQDNs CreateCancel2 @@ -735,7 +777,7 @@ listPage_object_Subscriber_IDs_editButton_posId = "appEdit-_OperateBtns_ElRow_Ob listPage_object_Subscriber_IDs_delButton_posId = "appDel-_OperateBtns_ElRow_Objects_subscriberid_Home_App_anonymousComponent" # del按钮id listPage_object_Subscriber_IDs_viewButton_posId = "//button[@id='appEdit-_OperateBtns_ElRow_Objects_subscriberid_Home_App_anonymousComponent']//p[normalize-space(text()) = 'View']" listPage_object_Subscriber_IDs_delButton_disable_posXpath = '//button[@id="appDel-_OperateBtns_ElRow_Objects_subscriberid_Home_App_anonymousComponent"][@disabled="disabled"]' # del按钮置灰 -listPage_object_Subscriber_IDs_reference_count_posXpath = '//table/tbody/tr[2]/td[7]/div/div/div/div' # 引用计数 +listPage_object_Subscriber_IDs_reference_count_posXpath = "(//div[@data-field='reference_count']//span)[2]" # 引用计数 listPage_object_main_reference_count_posXpath = listPage_object_Subscriber_IDs_reference_count_posXpath listPage_object_Subscriber_IDs_first_reference_list_posXpath = '//div/div/div[2]/div[2]/div[1]/div/div[3]/div[1]' # 侧滑引用列表第一列 listPage_object_Subscriber_IDs_second_reference_list_posXpath = '//div/div/div[2]/div[2]/div[1]/div/div[3]/div[2]' # 侧滑引用列表第二列 @@ -771,38 +813,40 @@ listPage_object_Subscriber_IDs_del_after_ele_posXpath = '//div[@id="ly-table1-li listPage_object_Subscriber_IDs_select_First_object_posXpath = '//table/tbody/tr/td[1]/div/div/div[1]/div/label/span[1]/span' # 选择列表中第一个对象 Subscriber_ID_listPage_object_searchId_posId = '1-_FilteredSearch_ElRow_Objects_subscriberid_Home_App_anonymousComponent' # ID 搜索 # Create Subscriber_IDs Object 和 Edit Subscriber_IDs Object 新增和编辑页 -Subscriber_IDsObjectPage_input_Name_posXpath = "//div[@class='biFangName']//input" # name输入框Xpath +Subscriber_IDsObjectPage_input_Name_posXpath = "//div[@class='MuiInput-root MuiInput-variantOutlined MuiInput-colorNeutral MuiInput-sizeMd MuiInput-formControl css-uzf287']/input" # name输入框Xpath Subscriber_IDsObjectPage_input_searchFor_posId = mainPage_ObjectSearch_buttonSearch_Item_posId # search for item搜索输入框id Subscriber_IDsObjectPage_button_addItem_posId = mainPage_ObjectSearch_buttonAddItem_posId # 添加item按钮id -Subscriber_IDsObjectPage_button_inputItem_posXpath = "//input[@id='onlyMarvel']" # 输入item内容 -Subscriber_IDsObjectPage_button_Save_Item_posXpath = "//i[@class='operate-icon iconfont icon-save save-color']" # 保存item按钮 +Subscriber_IDsObjectPage_button_inputItem_posXpath = "//div[@class='MuiInput-root MuiInput-variantOutlined MuiInput-colorNeutral MuiInput-sizeMd MuiInput-formControl css-grqzrl']/input" # 输入item内容 +Subscriber_IDsObjectPage_button_Save_Item_posXpath = "//i[@class='operate-icon iconfont icon-save']" # 保存item按钮 -Subscriber_IDsObjectPage_textArea_Description_posXpath = '//div[@class="objectAdd_description el-textarea el-input--small"]/textarea' # Subscriber IDs_description文本输入区Xpath -Subscriber_IDs_GroupObjectPage_textArea_Description_posXpath = "//div[@class='objectAdd_description el-textarea el-input--small']/textarea" # Subscriber IDs Group_description文本输入区Xpath -Subscriber_IDsObjectPage_button_SaveYes_posXpath = '//button[@id="OK-_SubscriberidDetail_Home_App_anonymousComponent"]/span' # OK按钮 +Subscriber_IDsObjectPage_textArea_Description_posXpath = "//div[@class='MuiTextarea-root MuiTextarea-variantOutlined MuiTextarea-colorNeutral MuiTextarea-sizeMd MuiTextarea-formControl css-v35t8h']/textarea[1]" # Subscriber IDs_description文本输入区Xpath +Subscriber_IDs_GroupObjectPage_textArea_Description_posXpath = "//div[@class='MuiTextarea-root MuiTextarea-variantOutlined MuiTextarea-colorNeutral MuiTextarea-sizeMd MuiTextarea-formControl css-v35t8h']/textarea[1]" # Subscriber IDs Group_description文本输入区Xpath +Subscriber_IDsObjectPage_button_SaveYes_posXpath = "//button[@class='MuiButtonBase-root MuiButton-root MuiLoadingButton-root MuiButton-text MuiButton-textPrimary MuiButton-sizeSmall MuiButton-textSizeSmall MuiButton-colorPrimary MuiButton-root MuiLoadingButton-root MuiButton-text MuiButton-textPrimary MuiButton-sizeSmall MuiButton-textSizeSmall MuiButton-colorPrimary form-action-submit css-1djnbgz']" # OK按钮 Subscriber_IDsObjectPage_button_warningSaveYes_posXpath = "//div[@class='el-message-box__wrapper']/div/div[3]/button[2]/span" # 提示保存ok按钮警告框 Subscriber_IDsObjectPage_button_warningSaveCancel_posCss = '//div[@class="el-message-box__wrapper"]/div/div[3]/button[1]/span' # 提示保存取消按钮警告框 Subscriber_IDsObjectPage_button_cancel_posCss = "//button[@id='Cancle-_SubscriberidDetail_Home_App_anonymousComponent']/span" # Cancel按钮 # Create Subscriber_IDs Group Object 和 Edit CreateSubscriber_IDs Group 新增和编辑页 -Subscriber_IDs_Group_sub_Object_addButton_posXpath = "//div[@class='CommonSubObjects']//i[@class='iconfont icon-Create1 cursor']" # Subscriber_IDs_Group添加sub Object按钮 -Subscriber_IDs_Group_sub_Object_add_new_Button_posXpath = "//i[@class='iconfont icon-Create1']" # 新建sub_Subscriber_IDs按钮 +Subscriber_IDs_Group_sub_Object_addButton_posXpath = "//button[@class='MuiButtonBase-root MuiButton-root MuiLoadingButton-root MuiButton-outlined MuiButton-outlinedPrimary MuiButton-sizeSmall MuiButton-outlinedSizeSmall MuiButton-colorPrimary MuiButton-root MuiLoadingButton-root MuiButton-outlined MuiButton-outlinedPrimary MuiButton-sizeSmall MuiButton-outlinedSizeSmall MuiButton-colorPrimary css-1d67a6h']//i[@class='iconfont icon-Create1 font-[700]']" # Subscriber_IDs_Group添加sub Object按钮 +Subscriber_IDs_Group_sub_Object_add_new_Button_posXpath = "//button[@class='MuiIconButton-root MuiIconButton-variantPlain MuiIconButton-colorNeutral MuiIconButton-sizeMd MuiMenuButton-root MuiMenuButton-variantOutlined MuiMenuButton-colorNeutral MuiMenuButton-sizeMd css-83p2rh']//i[@class='iconfont icon-Create1']" # 新建sub_Subscriber_IDs按钮 Subscriber_IDs_Group_sub_Object_add_new_Select_one_Button_posXpath = "//ul[@x-placement='bottom-start']/li[1]" # 新建选择Subscriber_IDs按钮 Subscriber_IDs_Group_sub_Object_add_new_Select_Group_Button_posXpath = "//ul[@x-placement='bottom-start']/li[2]" # 新建选择Subscriber_IDs_Group按钮 -Subscriber_IDs_Group_sub_Object_export_files_Button_posXpath = '//div[@class="el-tooltip object-export"]/button' # 导出文件按钮 -Subscriber_IDs_Group_sub_Object_import_files_Button_posXpath = '//div[@class="ImportBtn import-btn"]/button/span' # object导入文件按钮 -Subscriber_IDs_Group_sub_Object_import_files_Path_posXpath = '//form/div/div/div/div[1]/input[@type="file"]' # 导入文件路径 -Subscriber_IDs_Group_sub_Object_import_files_OK_posXpath = '//div/div/div[2]/div[2]/button[1]/span[contains(text(),"OK")]' # 导入文件OK -Subscriber_IDs_Group_sub_Object_export_files_yes_Button_posXpath = '//span/button[@class="el-button delComponents-ok el-button--primary el-button--small"]/span[contains(text(),"Yes")]' # 导出文件Yes按钮 +Subscriber_IDs_Group_sub_Object_export_files_Button_posXpath = "//i[@class='iconfont icon-export']" # 导出文件按钮 +Subscriber_IDs_Group_sub_Object_import_files_Button_posXpath = "//button[@class='MuiButtonBase-root MuiButton-root MuiButton-text MuiButton-textPrimary MuiButton-sizeSmall \ +MuiButton-textSizeSmall MuiButton-colorPrimary MuiButton-root MuiButton-text MuiButton-textPrimary MuiButton-sizeSmall MuiButton-textSizeSmall MuiButton-colorPrimary css-bc4t0x']" # object导入文件按钮 +Subscriber_IDs_Group_sub_Object_import_files_Path_posXpath = "//label[@class='MuiButtonBase-root MuiButton-root MuiButton-outlined MuiButton-outlinedPrimary MuiButton-sizeSmall MuiButton-outlinedSizeSmall MuiButton-colorPrimary MuiButton-root MuiButton-outlined MuiButton-outlinedPrimary MuiButton-sizeSmall MuiButton-outlinedSizeSmall MuiButton-colorPrimary css-1b1h392']/input[@type='file']" # 导入文件路径 +Subscriber_IDs_Group_sub_Object_import_files_OK_posXpath = "//button[@class='MuiButtonBase-root MuiButton-root MuiButton-text MuiButton-textPrimary MuiButton-sizeSmall MuiButton-textSizeSmall MuiButton-colorPrimary MuiButton-root MuiButton-text MuiButton-textPrimary MuiButton-sizeSmall MuiButton-textSizeSmall MuiButton-colorPrimary css-k5thc0']" # 导入文件OK +Subscriber_IDs_Group_sub_Object_export_files_yes_Button_posXpath = "//button[@class='MuiButtonBase-root MuiButton-root MuiLoadingButton-root MuiButton-contained MuiButton-containedPrimary MuiButton-sizeSmall \ +MuiButton-containedSizeSmall MuiButton-colorPrimary MuiButton-root MuiLoadingButton-root MuiButton-contained MuiButton-containedPrimary MuiButton-sizeSmall MuiButton-containedSizeSmall MuiButton-colorPrimary css-1k1ho7l']" # 导出文件Yes按钮 list_PageObject_Export_files_yes_button_posXpath = Subscriber_IDs_Group_sub_Object_export_files_yes_Button_posXpath # 导出文件Yes按钮 main_sub_Object_edit_sub_object_Button_posXpath = "//i[@class='row-edit iconfont icon-Edit cursor fontsize18']" Subscriber_IDs_Group_sub_Object_edit_sub_object_Button_posXpath = main_sub_Object_edit_sub_object_Button_posXpath # Subscriber_IDs_Group编辑subObject按钮 -Subscriber_IDs_Group_sub_Object_add_new_one_inputName_posXpath = "(//div[@class='biFangName']//input)[2]" # new Subscriber_IDs input Name -Subscriber_IDs_Group_sub_Object_add_new_add_item_Button_posXpath = "//div[@class='CommonItems']//div[@class='object-item-add']//i[@class='operate-icon iconfont icon-Create1']" # new Subscriber_IDs add items Button -Subscriber_IDs_Group_sub_Object_add_new_addIP_item_inputName_posXpath = '//div[@class="list-container"]//input' # new Subscriber_IDs Item input -Subscriber_IDs_Group_sub_Object_add_new_add_itemIP_Save_Button_posXpath = "//i[@class='operate-icon iconfont icon-save save-color']" # new Subscriber_IDs 保存item按钮 -Subscriber_IDs_Group_sub_Object_add_new_one_OK1_Button_posXpath = "//button[@id='OK-_SubscriberidDetail_VDraswer_EditDraw_SubscriberidDetail_Home_App_anonymousComponent']" # new Subscriber_IDs CreateOK1 +Subscriber_IDs_Group_sub_Object_add_new_one_inputName_posXpath = "//div[@class='MuiBox-root css-1krxo6z']//div[@class='MuiInput-root MuiInput-variantOutlined MuiInput-colorNeutral MuiInput-sizeMd MuiInput-formControl css-uzf287']/input" # new Subscriber_IDs input Name +Subscriber_IDs_Group_sub_Object_add_new_add_item_Button_posXpath = "//div[@class='MuiBox-root css-1krxo6z']//i[@class='iconfont icon-Create1 font-[700]']" # new Subscriber_IDs add items Button +Subscriber_IDs_Group_sub_Object_add_new_addIP_item_inputName_posXpath = "//div[@class='MuiInput-root MuiInput-variantOutlined MuiInput-colorNeutral MuiInput-sizeMd MuiInput-formControl css-grqzrl']/input" # new Subscriber_IDs Item input +Subscriber_IDs_Group_sub_Object_add_new_add_itemIP_Save_Button_posXpath = "//i[@class='operate-icon iconfont icon-save']" # new Subscriber_IDs 保存item按钮 +Subscriber_IDs_Group_sub_Object_add_new_one_OK1_Button_posXpath = "//div[@class='MuiBox-root css-1krxo6z']//button[@class='MuiButtonBase-root MuiButton-root MuiLoadingButton-root MuiButton-text MuiButton-textPrimary MuiButton-sizeSmall MuiButton-textSizeSmall MuiButton-colorPrimary MuiButton-root MuiLoadingButton-root MuiButton-text MuiButton-textPrimary MuiButton-sizeSmall MuiButton-textSizeSmall MuiButton-colorPrimary form-action-submit css-1djnbgz']" # new Subscriber_IDs CreateOK1 Subscriber_IDs_Group_sub_Object_add_new_one_OK1_Warning_Yes_Button_posXpath = "//div[@class='el-message-box__btns']//span[normalize-space(text())='Yes']" # 再次确认创建new Subscriber_IDs Subscriber_IDs_Group_sub_Object_add_new_one_OK1_Warning_Cancel_Button_posXpath = "//div[@class='el-message-box__btns']//span[normalize-space(text())='Cancel']" # 再次确认取消new Subscriber_IDs Subscriber_IDs_Group_sub_Object_add_new_one_Cancel2_Button_posXpath = '//div/div/div[2]/div/div/div[1]/div/div/div[1]/div[3]/button[2]/span' # new Subscriber_IDs CreateCancel2 @@ -826,7 +870,7 @@ listPage_object_HTTP_Signatures_delButton_posId = "appDel-_OperateBtns_ElRow_Obj listPage_object_HTTP_Signatures_viewButton_posId = "//button[@id='appEdit-_OperateBtns_ElRow_Objects_http_signature_Home_App_anonymousComponent']//p[normalize-space(text()) = 'View']" listPage_object_HTTP_Signatures_delButton_display_posXpath = '//button[@id="appDel-_OperateBtns_ElRow_Objects_http_signature_Home_App_anonymousComponent"][@disabled="disabled"]' # del按钮置灰状态 list_quote_content_object_HTTP_Signatures_posXpath = '//table/tbody/tr[2]/td[7]/div/div/div/div' # quote计数 -list_Column_settings_HTTP_Signatures_Description_posXpath = '//div[@class="ly-eventfixed"]/ul/li[6]/label/span[2]' # 列设置选择Description +list_Column_settings_HTTP_Signatures_Description_posXpath = "//div[@class='MuiDataGrid-columnsManagement css-1v3xuhs']//span[text()='Description']" # 列设置选择Description list_HTTP_Signatures_Export_files_button_posXpath = '//div/button[contains(@class,"Export")]/i' # 导出文件按钮 list_HTTP_Signatures_Export_files_yes_button_posXpath = '//div/div[3]/span/button[1]/span[contains(text(),"Yes")]' # 导出文件Yes按钮 list_quote_first_row_object_HTTP_Signatures_posXpath = '//div/div/div[2]/div[2]/div[1]/div/div[3]/div' # quote侧滑第一行 @@ -862,19 +906,19 @@ listPage_object_HTTP_Signatures_del_after_ele_posXpath = '//div[@id="ly-table1-l listPage_object_HTTP_Signatures_select_First_object_posXpath = '//table/tbody/tr/td[1]/div/div/div[1]/div/label/span[1]/span' # 选择列表中第一个对象 HTTP_Signatures_listPage_object_searchId_posId = '1-_FilteredSearch_ElRow_Objects_http_signature_Home_App_anonymousComponent' # ID 搜索 # Create HTTP_Signatures Object 和 Edit HTTP_Signatures Object 新增和编辑页 -HTTP_SignaturesObjectPage_input_Name_posXpath = "//div[@class='biFangName']//input" # name输入框Xpath +HTTP_SignaturesObjectPage_input_Name_posXpath = "//div[@class='MuiInput-root MuiInput-variantOutlined MuiInput-colorNeutral MuiInput-sizeMd MuiInput-formControl css-uzf287']/input" # name输入框Xpath HTTP_SignaturesObjectPage_button_SaveYes_posXpath = '//*[@id="OK-_HttpSigDetail_Home_App_anonymousComponent"]' # OK按钮 HTTP_SignaturesObjectPage_input_searchFor_posId = mainPage_ObjectSearch_buttonSearch_Item_posId # search for item搜索输入框id HTTP_SignaturesObjectPage_button_addItem_posId = mainPage_ObjectSearch_buttonAddItem_posId # 添加item按钮id -HTTP_SignaturesObjectPage_button_inputItem_posXpath = "//div[@class='row-value-content']//div[@class='content-input el-input el-input--small']/input" # 输入item内容 +HTTP_SignaturesObjectPage_button_inputItem_posXpath = "//div[@class='MuiInput-root MuiInput-variantOutlined MuiInput-colorNeutral MuiInput-sizeMd MuiInput-formControl css-grqzrl']/input" # 输入item内容 HTTP_SignaturesObjectPage_sub_inputItem_posXpath = '//div/div/div[2]/div[2]/div[2]/div/div/div[1]/div[1]/div/input' -HTTP_SignaturesObjectPage_button_input_Item_posXpath = "//div[1]/div[1]/div/div/div[2]/div[2]/div[2]/div/div/div['replace']/div[1]/div/input" # 输入& 所需要元素 -HTTP_SignaturesObjectPage_button_select_HEX_posXpath = "//div[@class='expr-type-list']/span[text()='HEX']" # 选择HEX -HTTP_SignaturesObjectPage_button_select_REGEX_posXpath = "//div[@class='expr-type-list']/span[text()='REGEX']" # 选择REGEX -HTTP_SignaturesObjectPage_button_Save_Item_posXpath = "//i[@class='operate-icon iconfont icon-save check']" # 保存item按钮 +HTTP_SignaturesObjectPage_button_input_Item_posXpath = "//div[@class='MuiInput-root MuiInput-variantOutlined MuiInput-colorNeutral MuiInput-sizeMd MuiInput-formControl css-1qymgs6']/input" # 输入& 所需要元素 +HTTP_SignaturesObjectPage_button_select_HEX_posXpath = "//div[@class='flex items-center pt-0']//button[text()='HEX']" # 选择HEX +HTTP_SignaturesObjectPage_button_select_REGEX_posXpath = "//div[@class='flex items-center pt-0']//button[text()='REGEX']" # 选择REGEX +HTTP_SignaturesObjectPage_button_Save_Item_posXpath = "//i[@class='operate-icon iconfont icon-save']" # 保存item按钮 HTTP_SignaturesObjectPage_button_sub_add_Item_posXpath = "//div[@class='ItemRow infinite-list-item']//i[@class='iconfont icon-Create1 cursor']" # &添加按钮 -HTTP_SignaturesObjectPage_textArea_Description_posXpath = "//div[@class='objectAdd_description el-textarea el-input--small']/textarea" # HTTP_Signatures_description文本输入区Xpath -HTTP_Signatures_GroupObjectPage_textArea_Description_posXpath = "//div[@class='objectAdd_description el-textarea el-input--small']/textarea" # HTTP_Signatures Group_description文本输入区Xpath +HTTP_SignaturesObjectPage_textArea_Description_posXpath = "//div[@class='MuiTextarea-root MuiTextarea-variantOutlined MuiTextarea-colorNeutral MuiTextarea-sizeMd MuiTextarea-formControl css-v35t8h']/textarea[1]" # HTTP_Signatures_description文本输入区Xpath +HTTP_Signatures_GroupObjectPage_textArea_Description_posXpath = "//div[@class='MuiTextarea-root MuiTextarea-variantOutlined MuiTextarea-colorNeutral MuiTextarea-sizeMd MuiTextarea-formControl css-v35t8h']/textarea[1]" # HTTP_Signatures Group_description文本输入区Xpath HTTP_SignaturesObjectPage_button_warningSaveYes_posXpath = "//div[@class='el-message-box__wrapper']/div/div[3]/button[2]/span" # 提示保存ok按钮警告框 HTTP_SignaturesObjectPage_button_warningSaveCancel_posCss = '//div[@class="el-message-box__wrapper"]/div/div[3]/button[1]/span' # 提示保存取消按钮警告框 HTTP_SignaturesObjectPage_button_cancel_posCss = "//button[@id='Cancle-_HttpSigDetail_Home_App_anonymousComponent']/span" # Cancel按钮 @@ -884,7 +928,7 @@ HTTP_Signatures_Group_sub_Object_addButton_posXpath = "//div[@class='CommonSubOb # main_button_audit_button_posXpath = '//div/div/form/div[8]/div/div[1]/span' main_button_audit_button_posXpath = '//*[contains(@class,"icon-a-Adminlogs")]' HTTP_SignaturesObjectPage_button_audit_button_posXpath = main_button_audit_button_posXpath # Audit Logs 按钮 -main_button_import_files_button_posXpath = '//button/span[contains(text(),"Import From File")]' # 导入文件按钮 +main_button_import_files_button_posXpath = '//button[contains(text(),"import from file")]' # 导入文件按钮 HTTP_SignaturesObjectPage_button_import_files_button_posXpath = main_button_import_files_button_posXpath # 导入文件按钮 HTTP_SignaturesObjectPage_button_import_files_path_button_posXpath = '//form/div/div/div/div[1]/input[@type="file"]' # 导入文件路径 HTTP_SignaturesObjectPage_button_import_error_files_tips_posXpath = '//div/div[2]/div[2]/ul/li/div[3]/span' # 导入错误文件提示 @@ -892,16 +936,16 @@ HTTP_SignaturesObjectPage_first_item_content_button_posXpath = '//form/div[3]/di HTTP_Signatures_Group_sub_Object_add_new_Button_posXpath = "//i[@class='iconfont icon-Create1']" # 新建sub_HTTP_Signatures按钮 HTTP_Signatures_Group_sub_Object_add_new_Select_one_Button_posXpath = "//ul[@x-placement='bottom-start']/li[1]" # 新建选择HTTP_Signatures按钮 HTTP_Signatures_Group_sub_Object_add_new_Select_Group_Button_posXpath = "//ul[@x-placement='bottom-start']/li[2]" # 新建选择HTTP_Signatures_Group按钮 -HTTP_Signatures_Group_sub_Object_add_new_one_inputName_posXpath = "(//div[@class='biFangName']//input)[2]" # new HTTP_Signatures input Name -HTTP_Signatures_Group_sub_Object_add_new_add_item_Button_posXpath = "//div[@class='CommonItems']//div[@class='object-item-add']//i[@class='operate-icon iconfont icon-Create1']" # new HTTP_Signatures add items Button +HTTP_Signatures_Group_sub_Object_add_new_one_inputName_posXpath = "//div[@class='MuiBox-root css-1krxo6z']//input[@class='MuiInput-input css-fqt4w4']" # new HTTP_Signatures input Name +HTTP_Signatures_Group_sub_Object_add_new_add_item_Button_posXpath = "//div[@class='MuiBox-root css-1krxo6z']//i[@class='iconfont icon-Create1 font-[700]']" # new HTTP_Signatures add items Button HTTP_Signatures_Group_sub_Object_edit_posXpath = "//i[@class='row-edit iconfont icon-Edit cursor fontsize18']" # 修改HTTP_Signatures下的sub object HTTP_Signatures_Select_Key_Button_posXpath = "//div[@class='type-icon-box']//input[@placeholder='Select']" # new HTTP_Signatures select Key HTTP_Signatures_Select_Key_Select_Set_Cookie_Button_posXpath = '//li/span[text()="Set-Cookie"]' # Key选择Set-Cookie HTTP_Signatures_Select_Key_Select_Content_Type_Button_posXpath = '//li/span[text()="Content-Type"]' # Key选择Content-Type HTTP_Signatures_Select_Key_Select_User_Agent_Button_posXpath = '//li/span[text()="User-Agent"]' # Key选择User-Agent HTTP_Signatures_Select_Key_Select_Cookie_Button_posXpath = '//li/span[text()="Cookie"]' # Key选择Cookie -HTTP_Signatures_Group_sub_Object_add_new_add_item_inputName_posXpath = '//div/div[2]/div[2]/div[2]/div/div/div[1]/div[1]/div/input' # new HTTP_Signatures Item input -HTTP_Signatures_Group_sub_Object_add_new_add_item_Save_Button_posXpath = '//form/div[3]/div/div/div[1]/div[1]/div[1]/div[2]/div[1]/div[1]/div/div/div[1]/div[2]/i' # new HTTP_Signatures 保存item按钮 +HTTP_Signatures_Group_sub_Object_add_new_add_item_inputName_posXpath = "//div[@class='MuiBox-root css-1krxo6z']//input[@class='MuiInput-input css-1u0jcuo']" # new HTTP_Signatures Item input +HTTP_Signatures_Group_sub_Object_add_new_add_item_Save_Button_posXpath = "//i[@class='operate-icon iconfont icon-save']" # new HTTP_Signatures 保存item按钮 HTTP_Signatures_Group_sub_Object_add_new_one_OK1_Button_posXpath = "//button[@id='OK-_HttpSigDetail_VDraswer_EditDraw_HttpSigDetail_Home_App_anonymousComponent']" # new HTTP_Signatures CreateOK1 HTTP_Signatures_Group_sub_Object_add_new_one_OK1_Warning_Yes_Button_posXpath = "//div[@class='el-message-box__btns']//span[normalize-space(text())='Yes']" # 再次确认创建new HTTP_Signatures HTTP_Signatures_Group_sub_Object_add_new_one_OK1_Warning_Cancel_Button_posXpath = "//div[@class='el-message-box__btns']//span[normalize-space(text())='Cancel']" # 再次确认取消new HTTP_Signatures @@ -958,7 +1002,7 @@ listPage_object_Keywords_select_First_object_posXpath = '//table/tbody/tr/td[1]/ keywords_listPage_object_searchId_posId = '1-_FilteredSearch_ElRow_Objects_keywords_Home_App_anonymousComponent' # ID 搜索 # Create Keywords Object 和 Edit Keywords Object 新增和编辑页 -KeywordsObjectPage_input_Name_posXpath = "//div[@class='biFangName']//input" # name输入框Xpath +KeywordsObjectPage_input_Name_posXpath = "//div[@class='MuiInput-root MuiInput-variantOutlined MuiInput-colorNeutral MuiInput-sizeMd MuiInput-formControl css-uzf287']/input" # name输入框Xpath KeywordsObjectPage_input_searchFor_posId = mainPage_ObjectSearch_buttonSearch_Item_posId # search for item搜索输入框id KeywordsObjectPage_button_addItem_posId = mainPage_ObjectSearch_buttonAddItem_posId # 添加item按钮id @@ -968,15 +1012,15 @@ KeywordsObjectPage_first_Item_count_posXpath = main_first_Item_count_posXpath # KeywordsObjectPage_Audit_Logs_Button_posXpath = '//div/div/div[3]/div/div/form/div[8]/div/div[1]/span' # Audit Logs编辑框 KeywordsObjectPage_Audit_Logs_First_create_posXpath = '//table/tbody/tr/td[3]/div' # Audit Logs第一条编辑记录 KeywordsObjectPage_Audit_Logs_First_edit_posXpath = '//div/div/div/div/div[2]/div[2]/div/div[2]/div[3]/table/tbody/tr[2]' # Audit Logs第二条编辑记录 -KeywordsObjectPage_button_item_select_HEX_posXpath = "//div[@class='v-fill-available']//span[text()='HEX']" # HEX按钮 -KeywordsObjectPage_button_item_select_REGEX_posXpath = "//div[@class='v-fill-available']//span[text()='REGEX']" # REGEX按钮 -KeywordsObjectPage_button_inputItem_posXpath = "//div[@class='ItemRow infinite-list-item']//div[@class='content-input el-input el-input--small']/input" # 输入item内容 +KeywordsObjectPage_button_item_select_HEX_posXpath = "//div[@class='flex items-center pt-0']//button[text()='HEX']" # HEX按钮 +KeywordsObjectPage_button_item_select_REGEX_posXpath = "//div[@class='flex items-center pt-0']//button[text()='REGEX']" # REGEX按钮 +KeywordsObjectPage_button_inputItem_posXpath = "//div[@class='MuiInput-root MuiInput-variantOutlined MuiInput-colorNeutral MuiInput-sizeMd MuiInput-formControl css-1qymgs6']/input" # 输入item内容 -KeywordsObjectPage_button_Save_Item_posXpath = "//i[@class='operate-icon iconfont icon-save check']" # 保存item按钮 +KeywordsObjectPage_button_Save_Item_posXpath = "//i[@class='operate-icon iconfont icon-save']" # 保存item按钮 KeywordsObjectPage_import_files_ok1_posXpath = '//div/div/div[2]/div[2]/button[1]/span' # 导入文件确定ok -KeywordsObjectPage_textArea_Description_posXpath = "//div[@class='objectAdd_description el-textarea el-input--small']/textarea" # Keywords_description文本输入区Xpath -Keywords_GroupObjectPage_textArea_Description_posXpath = "//div[@class='objectAdd_description el-textarea el-input--small']/textarea" # Keywords Group_description文本输入区Xpath -KeywordsObjectPage_button_SaveYes_posXpath = '//button[@id="OK-_keywordsDetail_Home_App_anonymousComponent"]/span' # OK按钮 +KeywordsObjectPage_textArea_Description_posXpath = "//div[@class='MuiTextarea-root MuiTextarea-variantOutlined MuiTextarea-colorNeutral MuiTextarea-sizeMd MuiTextarea-formControl css-v35t8h']/textarea[1]" # Keywords_description文本输入区Xpath +Keywords_GroupObjectPage_textArea_Description_posXpath = "//div[@class='MuiTextarea-root MuiTextarea-variantOutlined MuiTextarea-colorNeutral MuiTextarea-sizeMd MuiTextarea-formControl css-v35t8h']/textarea[1]" # Keywords Group_description文本输入区Xpath +KeywordsObjectPage_button_SaveYes_posXpath = "//button[@class='MuiButtonBase-root MuiButton-root MuiLoadingButton-root MuiButton-text MuiButton-textPrimary MuiButton-sizeSmall MuiButton-textSizeSmall MuiButton-colorPrimary MuiButton-root MuiLoadingButton-root MuiButton-text MuiButton-textPrimary MuiButton-sizeSmall MuiButton-textSizeSmall MuiButton-colorPrimary form-action-submit css-1djnbgz']" # OK按钮 KeywordsObjectPage_button_warningSaveYes_posXpath = "//div[@class='el-message-box__wrapper']/div/div[3]/button[2]/span" # 提示保存ok按钮警告框 KeywordsObjectPage_button_warningSaveCancel_posCss = '//div[@class="el-message-box__wrapper"]/div/div[3]/button[1]/span' # 提示保存取消按钮警告框 KeywordsObjectPage_button_cancel_posCss = "//button[@id='Cancle-_keywordsDetail_Home_App_anonymousComponent']/span" # Cancel按钮 @@ -987,17 +1031,17 @@ KeywordsObjectPage_tips_Name_input_Xpath = main_ObjectPage_tips_Name_input_Xpath Keywords_list_reference_content_first_raw = '//div[1]/div/div/div[2]/div[2]/div[1]/div/div[3]/div' # 列表页引用第一行 Keywords_list_reference_content_second_raw = '//div/div/div[2]/div[2]/div[1]/div/div[2]/div/div[2]' # 列表引用第二行 Keywords_ObjectPage_content_inputItem1_posXpath = '//div/div[1]/div[1]/div[1]/div[2]/div[1]/div[1]/div/div/div[1]/span' # 第一行输入item的内容 -Keywords_Group_sub_Object_addButton_posXpath = "//div[@class='CommonSubObjects']//i[@class='iconfont icon-Create1 cursor']" # Keywords_Group添加sub Object按钮 -KeywordsObjectPage_Keywords_button_input_more_Item_posXpath = "(//div[@class='TextExpr expr-item']//input[@class='el-input__inner'])['replace']" # 输入keywords_item内容 +Keywords_Group_sub_Object_addButton_posXpath = "//div[@class='keyword-object-included_sub_object_uuids']" # Keywords_Group添加sub Object按钮 +KeywordsObjectPage_Keywords_button_input_more_Item_posXpath = "(//div[@class='MuiFormControl-root MuiFormControl-vertical MuiFormControl-sizeMd css-w2y0fh']//input[@class='MuiInput-input css-1u0jcuo'])['replace']" # 输入keywords_item内容 Keywords_Group_sub_Object_add_new_Button_posXpath = "//i[@class='iconfont icon-Create1']" # 新建sub_Keywords按钮 Keywords_Group_sub_Object_edit_posXpath = "//div[@class='list-container']//i[@class='row-edit iconfont icon-Edit cursor fontsize18']" # 修改Keyword下的sub object Keywords_Group_sub_Object_add_new_Select_one_Button_posXpath = "//ul[@x-placement='bottom-start']/li[1]" # 新建选择Keywords按钮 Keywords_Group_sub_Object_add_new_Select_Group_Button_posXpath = "//ul[@x-placement='bottom-start']/li[2]" # 新建选择Keywords_Group按钮 -Keywords_Group_sub_Object_add_new_one_inputName_posXpath = "(//div[@class='biFangName']//input)[2]" # new Keywords input Name -Keywords_Group_sub_Object_add_new_add_item_Button_posXpath = "//div[@class='CommonItems']//div[@class='object-item-add']//i[@class='operate-icon iconfont icon-Create1']" # new Keywords add items Button -Keywords_Group_sub_Object_add_new_addIP_item_inputName_posXpath = "//div[@class='ItemRow infinite-list-item']//div[@class='content-input el-input el-input--small']/input" # new Keywords Item input -Keywords_Group_sub_Object_add_new_add_itemIP_Save_Button_posXpath = "//i[@class='operate-icon iconfont icon-save check']" # new Keywords 保存item按钮 -Keywords_Group_sub_Object_add_new_one_OK1_Button_posXpath = "//button[@id='OK-_keywordsDetail_VDraswer_EditDraw_keywordsDetail_Home_App_anonymousComponent']" # new Keywords CreateOK1 +Keywords_Group_sub_Object_add_new_one_inputName_posXpath = "//div[@class='MuiBox-root css-1krxo6z']//input[@class='MuiInput-input css-fqt4w4']" # new Keywords input Name +Keywords_Group_sub_Object_add_new_add_item_Button_posXpath = "//div[@class='MuiBox-root css-1krxo6z']//i[@class='iconfont icon-Create1 font-[700]']" # new Keywords add items Button +Keywords_Group_sub_Object_add_new_addIP_item_inputName_posXpath = "//div[@class='MuiBox-root css-1krxo6z']//input[@class='MuiInput-input css-1u0jcuo']" # new Keywords Item input +Keywords_Group_sub_Object_add_new_add_itemIP_Save_Button_posXpath = "//i[@class='operate-icon iconfont icon-save']" # new Keywords 保存item按钮 +Keywords_Group_sub_Object_add_new_one_OK1_Button_posXpath = "//div[@class='MuiBox-root css-1krxo6z']//button[@class='MuiButtonBase-root MuiButton-root MuiLoadingButton-root MuiButton-text MuiButton-textPrimary MuiButton-sizeSmall MuiButton-textSizeSmall MuiButton-colorPrimary MuiButton-root MuiLoadingButton-root MuiButton-text MuiButton-textPrimary MuiButton-sizeSmall MuiButton-textSizeSmall MuiButton-colorPrimary form-action-submit css-1djnbgz']" # new Keywords CreateOK1 Keywords_Group_sub_Object_add_new_one_OK1_Warning_Yes_Button_posXpath = "//div[@class='el-message-box__btns']//span[normalize-space(text())='Yes']" # 再次确认创建new Keywords Keywords_Group_sub_Object_add_new_one_OK1_Warning_Cancel_Button_posXpath = '//div[@class="el-message-box__wrapper"]/div/div[3]/button[1]/span' # 再次确认取消new Keywords Keywords_Group_sub_Object_add_new_one_Cancel2_Button_posXpath = '//div/div/div[2]/div/div/div[1]/div/div/div[1]/div[3]/button[2]/span' # new Keywords CreateCancel2 @@ -1152,7 +1196,7 @@ acc_ObjectDetailPage_nameLenthNumber_posXpath = url_ObjectDetailPage_nameLenthNu acc_ObjectDetailPage_item_addButton_poId = url_ObjectDetailPage_addButton_posId # item下"+"按钮 acc_ObjectDetailPage_item_subAddButton_poId = url_ObjectDetailPage_item_subAddButton_poXpath # 单个Item中新增多条数据的"+"按钮 # acc_ObjectDetailPage_item_subAddButton_poId = '//*[@class="item-box"]//*[contains(@class,"addobject")]' # 单个Item中新增多条数据的"+"按钮 -acc_ObjectDetailPage_itemValueInput_poXpath = '//div[@class="expr-box"]//input' # item 下value输入框Xpath +acc_ObjectDetailPage_itemValueInput_poXpath = "//input[@class='MuiInput-input css-1u0jcuo']" # item 下value输入框Xpath acc_ObjectDetailPage_itemSaveButton_poXpath = url_ObjectDetailPage_itemSaveButton_posXpath # item 下value保存按钮Xpath acc_ObjectDetailPage_item_search_posId = url_ObjectDetailPage_object_ip_search_posId # item 下搜索框id acc_ObjectDetailPage_itemsText_posXpath = '//div[@class="ItemRow infinite-list-item" and not(@style)]//div[@class="item-box"]//span[@title]' # Items 列表下所有Item的文本元素 @@ -1163,11 +1207,11 @@ acc_ObjectDetailPage_auditLogsDrawer_compareButton_posXpath = url_ObjectDetailPa acc_ObjectDetailPage_auditLogsDrawer_compareDrawer_operationText_posXpath = url_ObjectDetailPage_auditLogsDrawer_compareDrawer_operationText_posXpath # Audit Logs 侧滑页点击Compare后的 operation text Xpath acc_ObjectDetailPage_itemsTotal_posXpath = url_ObjectDetailPage_itemsTotal_posXpath # Items Total Xpath acc_ObjectDetailPage_clearCounter_posXpath = url_ObjectDetailPage_clearCounter_posXpath # Clear Counter 按钮 -acc_ObjectDetailPage_objectStatistics_dropDown_posId = 'statistics_select' # Statistics type下拉框 +acc_ObjectDetailPage_objectStatistics_dropDown_posId = "//div[@class='MuiSelect-root MuiSelect-variantOutlined MuiSelect-colorNeutral MuiSelect-sizeMd css-1lceg5i']" # Statistics type下拉框 acc_ObjectDetailPage_objectStatistics_elaborate_posXpath = '//div[contains(@x-placement,"start")]//div[text()="Elaborate"]' # object_statistics下的Elaborate选项 acc_ObjectDetailPage_objectStatistics_brief_posXpath = '//div[contains(@x-placement,"start")]//div[text()="Brief"]' # object_statistics下的 Brief 选项 acc_ObjectDetailPage_objectStatistics_none_posXpath = '//div[contains(@x-placement,"start")]//div[text()="None"]' # object_statistics下的 None 选项 -acc_ObjectDetailPage_dupAlert_posXpath = '//div[@title="Duplicate data exists"]' # item重复提示 +acc_ObjectDetailPage_dupAlert_posXpath = "//i[@class='iconfont icon-jinggao1 text-[var(--color-btn-warning)] px-[4px] text-[18px]']" # item重复提示 acc_ObjectDetailPage_dupAlert_duplicateListTotal_posXpath = '//div[@class="DuplicateList list-box"]//p[contains(@class,"total")]' # duplicateList中的“Total:xx” acc_ObjectDetailPage_importedFile_posXpath = url_ObjectDetailPage_importedFile_posXpath # 导入文件元素位置(Import From File 按钮旁) acc_ObjectDetailPage_importedFile_delete_posXpath = url_ObjectDetailPage_importedFile_delete_posXpath # 文件删除按钮 @@ -1180,21 +1224,21 @@ acc_ObjectDetailPage_importUrlOk_posXpath = url_ObjectDetailPage_importUrlOk_pos acc_ObjectDetailPage_importDrawer_importTipsValue_posXpath_template = '//div[@class="drawer-box"]//div[@class="importTips"]//td[count(//div[@class="drawer-box"]//div[@class="importTips"]//th[@title="{}"]/preceding-sibling::th)+1]' # Import 页面下的Tips Value值 # 对象组详情页 -acc_ObjectGroupDetailPage_subObjects_addButton_normalAdd_posXpath = '//div[@data-desc="subObject"]//i[@class="operate-icon iconfont icon-Create1"]' # Subordinate Objects 下有数据新增时"+"按钮Xpath -acc_ObjectGroupDetailPage_excludeObjects_addButton_normalAdd_posXpath = '//div[@data-desc="exclude subObject"]//i[@class="operate-icon iconfont icon-Create1"]' # Exclude Objects 下有数据新增时"+"按钮Xpath -acc_ObjectGroupDetailPage_subObjects_addButton_newAdd_posXpath = '//div[@data-desc="subObject"]//div[@class="AddButton"]' # Subordinate Objects 下无数据新增时"+"按钮Xpath -acc_ObjectGroupDetailPage_excludeObjects_addButton_newAdd_posXpath = '//div[@data-desc="exclude subObject"]//div[@class="AddButton"]' # Exclude Objects 下无数据新增时"+"按钮Xpath +acc_ObjectGroupDetailPage_subObjects_addButton_normalAdd_posXpath = "//button[@class='MuiButtonBase-root MuiButton-root MuiLoadingButton-root MuiButton-outlined MuiButton-outlinedPrimary MuiButton-sizeSmall MuiButton-outlinedSizeSmall MuiButton-colorPrimary MuiButton-root MuiLoadingButton-root MuiButton-outlined MuiButton-outlinedPrimary MuiButton-sizeSmall MuiButton-outlinedSizeSmall MuiButton-colorPrimary css-1d67a6h']" # Subordinate Objects 下有数据新增时"+"按钮Xpath +acc_ObjectGroupDetailPage_excludeObjects_addButton_normalAdd_posXpath = "//div[@class='account-object-excluded_sub_object_uuids']//i[@class='iconfont icon-Create1 text-[18px] text-weight-700] text-[--color-primary] cursor-pointer']" # Exclude Objects 下有数据新增时"+"按钮Xpath +acc_ObjectGroupDetailPage_subObjects_addButton_newAdd_posXpath = "//div[@class='account-object-included_sub_object_uuids']" # Subordinate Objects 下无数据新增时"+"按钮Xpath +acc_ObjectGroupDetailPage_excludeObjects_addButton_newAdd_posXpath = "//div[@class='account-object-excluded_sub_object_uuids']" # Exclude Objects 下无数据新增时"+"按钮Xpath acc_ObjectDetailPage_firstAccObject = url_ObjectDetailPage_firstUrlObject ## 侧滑Objects列表中第一个acc object Xpath acc_ObjectGroupDetailPage_subObjects_search_posId = url_ObjectDetailPage_object_ip_search_posId # Subordinate Objects 下搜索框id -acc_ObjectGroupDetailPage_subObjects_toggleDraw_addButton_posXpath = '//div[@class="ToggleDraw"]//div[contains(@class,"search-box")]//button' # Accounts侧滑窗口的"+"按钮 +acc_ObjectGroupDetailPage_subObjects_toggleDraw_addButton_posXpath = "//button[@class='MuiIconButton-root MuiIconButton-variantPlain MuiIconButton-colorNeutral MuiIconButton-sizeMd MuiMenuButton-root MuiMenuButton-variantOutlined MuiMenuButton-colorNeutral MuiMenuButton-sizeMd css-83p2rh']" # Accounts侧滑窗口的"+"按钮 acc_ObjectGroupDetailPage_subObjects_toggleDraw_closeButton_posXpath = url_ObjectGroupDetailPage_subObjects_toggleDraw_closeButton_posXpath # Accounts侧滑窗口的Close按钮 acc_ObjectGroupDetailPage_subObjects_toggleDraw_addButton_account_posXpath = '(//ul[@class="el-dropdown-menu el-popper el-dropdown-menu--small"]/li[not(contains(text(),"Group"))])[last()]' # Accounts侧滑窗口的"+"按钮下的Account -acc_ObjectGroupDetailPage_subObjects_subCreateAccountDrawer_nameInput_posXpath = '//div[@class="drawer-box"]//div[@data-label="Name"]//input' # 侧滑子Create Account页面Name input Xpath -acc_ObjectGroupDetailPage_subObjects_subCreateAccountDrawer_itemsAddButton_posXpath = '//div[@class="drawer-box"]//div[@class="CommonItems"]//div[@class="object-item-add"]/div[@class="IconBtn"]' # 侧滑子Create Account页面中Items下的"+"按钮 Xpath -acc_ObjectGroupDetailPage_subObjects_subCreateAccountDrawer_itemsValueInput_posXpath = '//div[@class="drawer-box"]//div[@class="CommonItems"]//div[@class="expr-box"]//input' # 侧滑子Create Account页面中Items下的item value输入框 Xpath -acc_ObjectGroupDetailPage_subObjects_subCreateAccountDrawer_itemsValueSaveButton_posXpath = '//div[@class="drawer-box"]//div[@class="CommonItems"]//i[contains(@class,"icon-save")]' # 侧滑子Create Account页面中Items下的保存按钮 Xpath -acc_ObjectGroupDetailPage_subObjects_subCreateAccountDrawer_descriptionTextarea_posXpath = '//div[@class="drawer-box"]//label[text()="Description"]/..//textarea' # 侧滑子Create Account页面中的Description textarea Xpath -acc_ObjectGroupDetailPage_subObjects_subCreateAccountDrawer_okButton_posXpath = '//div[@class="drawer-box"]//div[@class="prox-fixed-footer policy-foot-color"]/button[contains(@id,"OK-_")]' # 侧滑子Create Account页面中OK按钮 +acc_ObjectGroupDetailPage_subObjects_subCreateAccountDrawer_nameInput_posXpath = "//div[@class='MuiBox-root css-1krxo6z']//input[@class='MuiInput-input css-fqt4w4']" # 侧滑子Create Account页面Name input Xpath +acc_ObjectGroupDetailPage_subObjects_subCreateAccountDrawer_itemsAddButton_posXpath = "//div[@class='MuiBox-root css-1krxo6z']//i[@class='iconfont icon-Create1 font-[700]']" # 侧滑子Create Account页面中Items下的"+"按钮 Xpath +acc_ObjectGroupDetailPage_subObjects_subCreateAccountDrawer_itemsValueInput_posXpath = "//div[@class='MuiBox-root css-1krxo6z']//input[@class='MuiInput-input css-1u0jcuo']" # 侧滑子Create Account页面中Items下的item value输入框 Xpath +acc_ObjectGroupDetailPage_subObjects_subCreateAccountDrawer_itemsValueSaveButton_posXpath = "//div[@class='MuiBox-root css-1krxo6z']//i[@class='operate-icon iconfont icon-save']" # 侧滑子Create Account页面中Items下的保存按钮 Xpath +acc_ObjectGroupDetailPage_subObjects_subCreateAccountDrawer_descriptionTextarea_posXpath = "//div[@class='MuiBox-root css-1krxo6z']//div[@class='account-object-description']//textarea[1]" # 侧滑子Create Account页面中的Description textarea Xpath +acc_ObjectGroupDetailPage_subObjects_subCreateAccountDrawer_okButton_posXpath = "//div[@class='MuiBox-root css-1krxo6z']//button[@class='MuiButtonBase-root MuiButton-root MuiLoadingButton-root MuiButton-text MuiButton-textPrimary MuiButton-sizeSmall MuiButton-textSizeSmall MuiButton-colorPrimary MuiButton-root MuiLoadingButton-root MuiButton-text MuiButton-textPrimary MuiButton-sizeSmall MuiButton-textSizeSmall MuiButton-colorPrimary form-action-submit css-1djnbgz']" # 侧滑子Create Account页面中OK按钮 acc_ObjectGroupDetailPage_subObjects_subCreateAccountDrawer_okButton_yes_posXpath = url_ObjectDetailPage_okButton_yes_posXpath # 侧滑子Create Account页面确认弹窗的“Yes”按钮 acc_ObjectGroupDetailPage_subObjects_subCreateAccountDrawer_okButton_cancel_posXpath = url_ObjectDetailPage_okButton_cancel_posXpath # 侧滑子Create Account页面确认弹窗的“Cancel”按钮 accGroup_ObjectDetailPage_excludeObjectsSwitch_posXpath = urlGroup_ObjectDetailPage_excludeObjectsSwitch_posXpath # Exclude Objects Switch Xpath |
