summaryrefslogtreecommitdiff
path: root/page_element/objects_element_position.py
diff options
context:
space:
mode:
authoryouzhijiang <[email protected]>2024-10-16 18:54:27 +0800
committeryouzhijiang <[email protected]>2024-10-16 18:54:27 +0800
commit565b2922c1f7d867455a0e131bb0c09997170c52 (patch)
treea8fff82895330757cd6e16db186ceb31f15c70b2 /page_element/objects_element_position.py
parentcf345c7861e095678bd380a8be3baab2a02b6e2f (diff)
parente6e9f51f30146c362143a2dc6162ce28fe3142ed (diff)
修改元素定位
Diffstat (limited to 'page_element/objects_element_position.py')
-rw-r--r--page_element/objects_element_position.py197
1 files changed, 103 insertions, 94 deletions
diff --git a/page_element/objects_element_position.py b/page_element/objects_element_position.py
index 01d7ba62..e1f1084e 100644
--- a/page_element/objects_element_position.py
+++ b/page_element/objects_element_position.py
@@ -12,7 +12,13 @@ listpage_select_second_object_posXpath = '(//span[@class="MuiCheckbox-root MuiCh
listpage_no_data_posXpath = '//div[@class="MuiDataGrid-overlay css-14349d1"]' #列表页No Data按钮!!!!!
listpage_reference_count_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-18studs"])[1]' #列表中第一个元素的reference count!!!!!
listpage_first_row_name_posXpath = '(//span[@class="truncate"])[1]' #第一行nameXpath!!!!!
-
+listpage_delete_no_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-ki6aok"]'
+listpage_export_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"]'
+listPage_objectSearch_select_Name_posXpath = "//ul[@class='base-Popper-root MuiAutocomplete-listbox css-18r31z0']//span[text()='Name']" #查询Name
+listPage_objectSearch_select_Details_posXpath = "//ul[@class='base-Popper-root MuiAutocomplete-listbox css-18r31z0']//span[text()='Detail']" #查询Details
+listPage_objectSearch_select_Description_posXpath = "//ul[@class='base-Popper-root MuiAutocomplete-listbox css-18r31z0']//span[text()='Description']" #查询Description
+listPage_object_Select_createButton_posXpath = "//ul[@class='base-Popper-root MuiMenu-root Mui-expanded MuiMenu-variantOutlined MuiMenu-colorNeutral MuiMenu-sizeMd css-1iuehdr']//li[1]"
+listPage_objectGroup_Select_createButton_posXpath = "//ul[@class='base-Popper-root MuiMenu-root Mui-expanded MuiMenu-variantOutlined MuiMenu-colorNeutral MuiMenu-sizeMd css-1iuehdr']//li[2]"
# login page 登录页面
loginPage_userName_posName = "username"
@@ -227,8 +233,8 @@ ObjectDetailPage_audit_log_compare_time_posXpath = "//div[@class='compare-code-b
ObjectDetailPage_audit_log_compare_user_posXpath = '//div[contains(text(),"User")]/following-sibling::div'
ObjectDetailPage_audit_log_cancel_posXpath = "//div[@class='paper-right-content']//span[normalize-space(text())='Close']"
# Group Object详情页通用元素
-groupObjectDetailPage_addSubObjecDrawer_searchInput_posXpath = '//div[@class="right-menu-content"]//div[contains(@class,"list-box")]//*[@id="object_ip_search"]' # Group 详情页添加sub Object的侧滑页面中的搜索框
-groupObjectDetailPage_addSubObjecDrawer_totalText_posXpath = '//div[@class="right-menu-content"]//div[contains(@class,"list-box")]//*[contains(@class,"total positionAbsolute")]' # Group 详情页添加sub Object的侧滑页面中的Total文本
+groupObjectDetailPage_addSubObjecDrawer_searchInput_posXpath = '//div[@class="MuiInput-root MuiInput-variantOutlined MuiInput-colorNeutral MuiInput-sizeMd action-search css-7jfc5c"]/input' # Group 详情页添加sub Object的侧滑页面中的搜索框
+groupObjectDetailPage_addSubObjecDrawer_totalText_posXpath = '//div[@class="px-[12px] pb-[4px] pt-[2px] text-[--color-text-disabled]"]' # Group 详情页添加sub Object的侧滑页面中的Total文本
groupObjectDetailPage_addSubObjecDrawer_firstSubObject_posXpath = '(//div[@class="right-menu-content"]//div[contains(@class,"list-box")]//ul[@class="row-container tableList"]/li)[1]' # Group 详情页添加sub Object的侧滑页面中第一个sub object
groupObjectDetailPage_subordinateObjects_search_posXpath = "//div[@data-desc='subObject']//input[@id='object_ip_search']"
@@ -291,7 +297,7 @@ mobileIdentitiesObjectPage_Import_Mobile_Identity_files_error_format_posXpath =
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 = "//div[@class='MuiFormHelperText-root css-3m9sla']" # 错误弹出提示语
+main_ObjectPage_import_files_error_type_posXpath = mobileIdentitiesObjectPage_Import_Mobile_Identity_files_error_type_posXpath # 错误弹出提示语
main_ObjectPage_import_files_error_format_posXpath = mobileIdentitiesObjectPage_Import_Mobile_Identity_files_error_format_posXpath # 导入文件格式错误提示语
# 置灰按钮
mobileIdentitiesObjectPage_Export_Mobile_Identity_Button_posXpath = '//button[@id="objectExport-_importAndExport_ElRow_Objects_mobile_identity_Home_App_anonymousComponent"][@disabled="disabled"]/i' # 导出按钮置灰
@@ -315,16 +321,16 @@ mobileIdentitiesObjectPage_Import_Mobile_Identity_Group_files_OK_Button_posXpath
# 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"]'
-listPage_objectSearch_mobileIdentities_select_Name_posXpath = "//ul[@class='base-Popper-root MuiAutocomplete-listbox css-18r31z0']//span[text()='Name']"
-listPage_objectSearch_mobileIdentities_select_Details_posXpath = "//ul[@class='base-Popper-root MuiAutocomplete-listbox css-18r31z0']//span[text()='Detail']"
-listPage_objectSearch_mobileIdentities_select_subType_posXpath = "//ul[@class='base-Popper-root MuiAutocomplete-listbox css-18r31z0']//span[text()='Sub Type']"
-listPage_objectSearch_mobileIdentities_select_Description_posXpath = "//ul[@class='base-Popper-root MuiAutocomplete-listbox css-18r31z0']//span[text()='Description']"
+listPage_objectSearch_mobileIdentities_select_Name_posXpath = '//li[@id="2-_FilteredSearch_ElRow_Objects_mobile_identity_Home_App_anonymousComponent"]'
+listPage_objectSearch_mobileIdentities_select_Details_posXpath = '//li[@id="6-_FilteredSearch_ElRow_Objects_mobile_identity_Home_App_anonymousComponent"]'
+listPage_objectSearch_mobileIdentities_select_subType_posXpath = '//li[@id="3-_FilteredSearch_ElRow_Objects_mobile_identity_Home_App_anonymousComponent"]'
+listPage_objectSearch_mobileIdentities_select_Description_posXpath = '//li[@id="4-_FilteredSearch_ElRow_Objects_mobile_identity_Home_App_anonymousComponent"]'
listPage_objectSearch_mobileIdentities_select_CreateBy_posXpath = '//*[@id="5-_FilteredSearch_ElRow_Objects_mobile_identity_Home_App_anonymousComponent"]'
mobileIdentities_listPage_object_searchId_posId = '1-_FilteredSearch_ElRow_Objects_mobile_identity_Home_App_anonymousComponent'
listPage_objectSearch_mobileIdentities_buttonSearch_posId = mainPage_ObjectSearch_buttonSearch_posId # 查询按钮id
listPage_objectSearch_mobileIdentities_buttonClear_posId = mainPage_ObjectSearch_buttonClear_posId # 清空查询按钮id
-listPage_object_mobileIdentities_create_Mobile_Identity_Button_posId = "//ul[@class='base-Popper-root MuiMenu-root Mui-expanded MuiMenu-variantOutlined MuiMenu-colorNeutral MuiMenu-sizeMd css-1iuehdr']//li[1]" # 创建Mobile Identity
-listPage_object_mobileIdentities_create_Mobile_Identity_Group_Button_posId = "//ul[@class='base-Popper-root MuiMenu-root Mui-expanded MuiMenu-variantOutlined MuiMenu-colorNeutral MuiMenu-sizeMd css-1iuehdr']//li[2]" # 创建Mobile Identity_Group
+listPage_object_mobileIdentities_create_Mobile_Identity_Button_posId = "object0-_OperateBtns_ElRow_Objects_mobile_identity_Home_App_anonymousComponent" # 创建Mobile Identity
+listPage_object_mobileIdentities_create_Mobile_Identity_Group_Button_posId = "object1-_OperateBtns_ElRow_Objects_mobile_identity_Home_App_anonymousComponent" # 创建Mobile Identity_Group
listPage_profileSearch_mobileIdentities_dropDown_item_posXpath = "" # 下拉菜单定位
listPage_profileSearch_mobileIdentities_input_itemContent_posXpath = "" # 输入item的值,replaceName替换实际查询值
@@ -344,7 +350,7 @@ listPage_object_mobileIdentities_new_Description_extract_posXpath = '//table/tbo
listPage_object_mobileIdentities_new_Details_extract_posXpath = '//table/tbody/tr[1]/td[4]/div/div/div/div/div/div/span' # 提取Detail
listPage_object_mobileIdentities_del_after_ele_posXpath = '//div[@id="ly-table1-listcontent"]/div/div[3]/div/span' # 删除后提示"No Data"
# Mobile_Identities list page 列表页操作
-listPage_object_mobileIdentities_select_First_object_posXpath = listPage_select_first_object_posXpath # 选择列表中第一个对象
+listPage_object_mobileIdentities_select_First_object_posXpath = '//table/tbody/tr[1]/td[1]/div/div/div[1]/div/label/span[1]/span' # 选择列表中第一个对象
listPage_object_mobileIdentities_select_Second_object_posXpath = main_listPage_object_reference_count_posXpath # 选择列表中第二个对象
@@ -356,7 +362,7 @@ mobileIdentitiesObjectPage_button_addItem_posXpath = mainPage_ObjectSearch_butto
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[@data-testid='virtuoso-item-list']//div[@class='h-[100%] min-h-[24px] flex items-center'])[1]" # 第一行输入item的内容
+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']" # 创建保存item按钮
mobileIdentitiesObjectPage_IMSI_button_Edit_Save_Item_posXpath = '//div[@class="item-box"]//i[contains(@class,"icon-save")]' # 编辑保存item按钮
@@ -366,21 +372,20 @@ 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_radioButton_phone_number_posXpath = "//div[@class='mobile-identity-object-sub_type']//button[text()='Phone Number']"
+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='mobile-identity-object-expression']//i[@class='iconfont icon-Create1 font-[700]']"
-
+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 = "//div[@class='mobile-identity-object-sub_type']//button[text()='IMEI']"
-mobileIdentitiesObjectPage_IMEI_button_inputItem_posXpath = "//input[@class='MuiInput-input css-1u0jcuo']"
+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_posXpath = "//div[@class='MuiBox-root css-1krxo6z']//input[@class='MuiInput-input css-1u0jcuo']"
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='MuiTextarea-root MuiTextarea-variantOutlined MuiTextarea-colorNeutral MuiTextarea-sizeMd MuiTextarea-formControl css-v35t8h']/textarea[1]" # description文本输入区Xpath
-mobileIdentitiesObjectPage_button_SaveYes_posXpath = "//div[@class='form-action bg-[--color-background] flex justify-center py-[12px] absolute bottom-0 w-full']//button[text()='OK']" # OK按钮
+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' # 提示保存取消按钮警告框
mobileIdentitiesObjectPage_button_cancel_posXpath = "//button[@id='Cancle-_mobileIdDetail_Home_App_anonymousComponent']/span" # Cancel按钮
@@ -436,13 +441,13 @@ listPage_object_urls_delButton_posXpath = listpage_delete_button_posXpath # Del
url_listPage_deleteButton_posId = 'appDel-_OperateBtns_ElRow_Objects_url_Home_App_anonymousComponent' # Delete 按钮id
url_listPage_first_row_checkBox_posXpath = '(//td[@rowspan="1"and @colspan="1"]//span[@class="el-checkbox__inner"])[1]' # 列表页第一行对象多选框Xpath
# listPage_object_urls_columnSetting_descriptionOption_posXpath = '//ul[@class="col-choose open"]//span[text()="Description"]' # 列设置中的description选项元素Xpath
-listPage_object_urls_columnSetting_descriptionOption_posXpath = '//li[contains(@id,"dropColRes-_ElementSet")]//span[normalize-space(text())="Description"]' # 列设置中的description选项元素Xpath
+listPage_object_urls_columnSetting_descriptionOption_posXpath = '//span[normalize-space(text())="Description"]' # 列设置中的description选项元素Xpath
listPage_object_urls_tableDetails_posXpath = '//div[@class="el-table__header-wrapper"]//span[contains(text(),"Details")]' # list表头 Details列Xpath
# listPage_object_urls_tableDetails_selected_detailsRow_posXpaths = '//span[@class="el-checkbox__input is-checked"]/ancestor::tr//div[@class="itemDetails cursor"]/span' # list页被选中的对象details 值Xpath
# listPage_object_urls_tableDetails_selected_detailsRow_posXpaths = '//span[@class="el-checkbox__input is-checked"]/ancestor::tr//div[@class="itemDetails cursor"]/..' # list页被选中的对象details 值Xpath
listPage_object_urls_tableDetails_selected_detailsRow_posXpaths = '//span[@class="el-checkbox__input is-checked"]/ancestor::tr//div[@class="itemDetails cursor"]' # list页被选中的对象details 值Xpath
-listPage_object_urls_tableDetails_detailsRow_firstDetailValue_posXpaths = '(//div[@class="itemDetails cursor"][1]/span)[1]' # 列表页某行第一个details值 Xpath
-listPage_object_urls_tableDetails_selected_checkBox_posXpaths = '//div[@class="ly-table1"]//span[@class="el-checkbox__input is-checked"]' # list页被选中的对象 CheckBox Xpath
+listPage_object_urls_tableDetails_detailsRow_firstDetailValue_posXpaths = '(//div[@class="DuneTableCellContent text-textColor css-ruuyc6"])[1]' # 列表页某行第一个details值 Xpath
+listPage_object_urls_tableDetails_selected_checkBox_posXpaths = '//input[@aria-checked="true"]' # list页被选中的对象 CheckBox Xpath
listPage_object_urls_tableDetails_firstRowValues_span_posXpaths = '//li[@class="row el-dropdown-menu__item"]//span[@class="ellipsis list-popover"]' # list页点击Details后展示的数据Xpaths_span
listPage_object_urls_tableDetails_firstRowValues_div_posXpaths = '//li[@class="row el-dropdown-menu__item"]//div[@class="row-content-cell"]' # list页点击Details后展示的数据Xpaths_div
listPage_object_urls_importButton_posXpath = '//div[@class="ly-tablecontrol-1 el-row"]//div[@class="functional"]//i[@class="iconfont icon-Import"]' # 导入文件按钮 Xpath
@@ -450,7 +455,7 @@ listPage_object_urls_exportButton_posXpath = '//button[contains(@class,"importAn
listPage_object_urls_exportPopYes_posXpath = '//div[@class="el-dialog__wrapper"]/div[@aria-label="Export"]//span[contains(text(),"Yes")]' # 导出数据选择确认弹窗 yes Xpath
listPage_object_urls_exportPopNo_posXpath = '//div[@class="el-dialog__wrapper"]/div[@aria-label="Export"]//span[contains(text(),"No")]' # 导出数据选择确认弹窗 no Xpath
listPage_object_urls_exportPopSelectAll_posXpath = '//div[@class="el-table__header-wrapper"]//span[@class="el-checkbox__inner"]' # 导出数据选择确认弹窗全选CheckBox Xpath
-listPage_object_urls_exportPopCheckbox_posXpaths = '//div[@class="el-dialog__body"]//div[@class="el-table__body-wrapper is-scrolling-none"]//span[@class="el-checkbox__inner"]' # 导出数据选择确认弹窗CheckBox(多个)
+listPage_object_urls_exportPopCheckbox_posXpaths = '(//div[@class="MuiPaper-root MuiPaper-elevation MuiPaper-rounded MuiPaper-elevation24 MuiDialog-paper MuiDialog-paperScrollPaper MuiDialog-paperWidthSm css-xguxzj"]//input[@class="MuiCheckbox-input css-1jj0cvj"])[2]' # 导出数据选择确认弹窗CheckBox(多个)
listPage_object_urls_exportPopCheckbox_posXpaths_template = '(//div[@class="el-dialog__body"]//div[@class="el-table__body-wrapper is-scrolling-none"]//span[@class="el-checkbox__inner"])[{}]' # 导出数据选择确认弹窗CheckBox(多个)
listPage_object_urls_clearCounterPopYes_posXpath = '//*[contains(text(),"Confirm to Clear Counter")]/../..//span[contains(text(),"Yes")]' # Clear Counter 选择确认弹窗中的Yes确认按钮
# listPage_object_urls_tableCheckbox_posXpaths = '//table[@class="el-table__body"]//span[@class="el-checkbox__inner"]' # 列表页CheckBox(50)
@@ -488,7 +493,7 @@ listPage_object_tableCheckbox_localVsysAndReferenceEqualO_objectOrGroup_posXpath
listPage_object_urls_tableCheckbox_localVsys_firstObjectOrGroup_posXpath = '(//*[contains(@class,"table-status-item-id")]/preceding-sibling::div[2][not(*)]/ancestor::tr//span[@class="el-checkbox__inner"])[1]' # 列表页中第一个本Vsys的Object 或Group(不包含其他Vsys)
url_listPage_usage_policies_elems_posXpaths = "//div[contains(@class,'LocalationDraswer ')]//div[contains(@class,'el-dropdown-menu')]" # 点击Reference count后展开的侧滑页面,其中的引用条数
-url_listPage_noDataText_posXpath = '//div[@class="ly-table1"]//span[@class="el-table__empty-text"]' # 列表页无数据时的no data文本 Xpath
+url_listPage_noDataText_posXpath = '//*[@class="MuiDataGrid-overlay css-14349d1"]' # 列表页无数据时的no data文本 Xpath
# listPage->Tips dialog 列表页 tips对话框
listPage_object_urls_button_yes_posCss = 'body>.el-dialog__wrapper .delComponents-ok span' # 删除提示的Tips的yes按钮Xpath
url_listPage_object_delete_yesButton_posCss = 'body>.el-dialog__wrapper .delComponents-ok span' # 删除提示的Tips的yes按钮Xpath
@@ -505,7 +510,7 @@ listPage_object_urls_searchCreatedBy_posId = '5-_FilteredSearch_ElRow_Objects_ur
# URLs对象详情页
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_nameLenthNumber_posXpath = '//span[@class="flex items-center text-[var(--color-text-disabled)]"]' # Name输入框中字符长度数值Xpath
url_ObjectDetailPage_addButton_posXpath = "//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 = "//div[@class='account-object-expression']//i[@class='iconfont icon-Create1 font-[700]']" # 单个Item中新增多条数据的"+"按钮
@@ -525,7 +530,7 @@ url_ObjectDetailPage_auditLogs_posXpath = '//div[@class="audit_log"]/span' # Au
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_itemsTotal_posXpath = '(//div[@class="flex-1 flex items-center justify-center undefined"]/span)[1]' # 详情页Items Total 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
@@ -570,7 +575,6 @@ urlGroup_ObjectDetailPage_editgroup_posXpath = "//i[@class='row-edit iconfont ic
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_cancelButton_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 form-action-cancel css-5vcc8t']"
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”按钮
urlGroup_ObjectDetailPage_excludeTotal_posXpath = '//div[@class="panel-content"]//div[contains(@class,"total")]' # Group 详情页 exclude obj Total Xpath
@@ -616,8 +620,8 @@ listPage_objectSearch_ip_address_buttonSearch_posXpath = listpage_search_button_
# main_Export_ObjectPage_Button_posXpath = '//div/button[contains(@class,"Export")]/i' # 导出按钮
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_posXpath = "//ul[@class='base-Popper-root MuiMenu-root Mui-expanded MuiMenu-variantOutlined MuiMenu-colorNeutral MuiMenu-sizeMd css-1iuehdr']//li[1]" # 创建IP Address
-listPage_object_ip_address_create_ip_address_Group_Button_posXpath = "//ul[@class='base-Popper-root MuiMenu-root Mui-expanded MuiMenu-variantOutlined MuiMenu-colorNeutral MuiMenu-sizeMd css-1iuehdr']//li[2]" # 创建IP Address_Group
+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
listPage_profileSearch_ip_address_dropDown_item_posXpath = "" # 下拉菜单定位
listPage_profileSearch_ip_address_input_itemContent_posXpath = "" # 输入item的值,replaceName替换实际查询值
@@ -639,7 +643,7 @@ listPage_First_object_Name_posXpath = "//div[@class='MuiDataGrid-virtualScroller
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='ip-object-name']//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
@@ -659,8 +663,8 @@ ip_addressObjectPage_radioButton_Geography_Select_replace = '//div[4]/div//div[2
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_radioButton_IP_learning_posXpath = "//div[@class='ip-object-sub_type']//button[text()='IP Learning']"
-ip_addressObjectPage_IP_learning_inputItem_posXpath = "//div[@class='ip-object-from_fqdns']//input[@class='MuiInput-input css-1u0jcuo']" # IP Learning中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所选列表下第一个元素
@@ -673,7 +677,7 @@ ip_addressObjectPage_button_Input_Aging_Times_posXpath = "//div[@class='ip-objec
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='ip-object-description']//textarea[1]" # description文本输入区Xpath
+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按钮
@@ -684,7 +688,7 @@ ip_addressObjectPage_button_cancel_posCss = "//button[@id='Cancel-_IpDetail_Home
# Create IP Address Group Object 和 Edit Create IP Address Group 新增和编辑页
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[@class='base-Popper-root MuiMenu-root Mui-expanded MuiMenu-variantOutlined MuiMenu-colorNeutral MuiMenu-sizeMd css-131n2dh']//li[1]" # 新建选择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='MuiBox-root css-1krxo6z']//div[@class='ip-object-name']//input" # new ip_address input Name
@@ -694,7 +698,7 @@ ip_address_ObjectDetailPage_okButton_yes_posXpath = url_ObjectDetailPage_okButto
# ================= 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']" # 保存item按钮
+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 = "//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
@@ -714,20 +718,20 @@ listPage_object_FQDNs_createButton_posXpath = listPage_object_ip_address_createB
listPage_object_FQDNs_editButton_posXpath = listPage_object_ip_address_editButton_posXpath # edit按钮id
listPage_object_FQDNs_delButton_posXpath = listPage_object_ip_address_delButton_posXpath # del按钮id
listPage_object_FQDNs_del_disabled_Button_posXpath = '//button[@class="el-button topicCol-btn el-button--default el-button--small is-disabled"][@disabled="disabled"]' # FQDN删除按钮置灰
-listPage_object_FQDNs_del_yes_Button_posXpath = listPage_object_ip_address_del_yes_Button_posXpath # del_yes按钮
+listPage_object_FQDNs_del_yes_Button_posXpath = '//div/div[@aria-label="Tips"]/div[3]/span/button[1]/span' # del_yes按钮
listPage_objectSearch_FQDNs_selectLabel_posXpath = listpage_search_box_posXpath # 查询框id
listPage_object_FQDNs_viewButton_posId = "//button[@id='appEdit-_OperateBtns_ElRow_Objects_fqdn_Home_App_anonymousComponent']//p[normalize-space(text()) = 'View']"
# 查询框输入并选择
listPage_objectSearch_FQDNs_select_Id_posXpath = '//li[@id="1-_FilteredSearch_ElRow_Objects_fqdn_Home_App_anonymousComponent"]' # 查询ID
-listPage_objectSearch_FQDNs_select_Name_posXpath = "//ul[@class='base-Popper-root MuiAutocomplete-listbox css-18r31z0']//span[text()='Name']" # 查询Name
-listPage_objectSearch_FQDNs_select_Details_posXpath = "//ul[@class='base-Popper-root MuiAutocomplete-listbox css-18r31z0']//span[text()='Detail']" # 查询Details
-listPage_objectSearch_FQDNs_select_Description_posXpath = "//ul[@class='base-Popper-root MuiAutocomplete-listbox css-18r31z0']//span[text()='Description']" # 查询Description
+listPage_objectSearch_FQDNs_select_Name_posXpath = '//li[@id="2-_FilteredSearch_ElRow_Objects_fqdn_Home_App_anonymousComponent"]' # 查询Name
+listPage_objectSearch_FQDNs_select_Details_posXpath = '//li[@id="6-_FilteredSearch_ElRow_Objects_fqdn_Home_App_anonymousComponent"]' # 查询Details
+listPage_objectSearch_FQDNs_select_Description_posXpath = '//li[@id="4-_FilteredSearch_ElRow_Objects_fqdn_Home_App_anonymousComponent"]' # 查询Description
listPage_objectSearch_FQDNs_select_CreateBy_posXpath = '//*[@id="5-_FilteredSearch_ElRow_Objects_fqdn_Home_App_anonymousComponent"]' # 查询CreateBy
listPage_objectSearch_FQDNs_buttonSearch_posId = mainPage_ObjectSearch_buttonSearch_posId # 查询按钮id
listPage_objectSearch_FQDNs_buttonClear_posId = mainPage_ObjectSearch_buttonClear_posId # 清空查询按钮id
-listPage_object_FQDNs_create_FQDNs_Button_posXpath = listPage_object_ip_address_create_ip_address_Button_posXpath # 创建FQDNs
-listPage_object_FQDNs_create_FQDNs_Group_Button_posXpath = listPage_object_ip_address_create_ip_address_Group_Button_posXpath # 创建FQDNs Group
+listPage_object_FQDNs_create_FQDNs_Button_posId = 'object0-_OperateBtns_ElRow_Objects_fqdn_Home_App_anonymousComponent' # 创建FQDNs
+listPage_object_FQDNs_create_FQDNs_Group_Button_posId = "object1-_OperateBtns_ElRow_Objects_fqdn_Home_App_anonymousComponent" # 创建FQDNs Group
listPage_profileSearch_FQDNs_dropDown_item_posXpath = "" # 下拉菜单定位
listPage_profileSearch_FQDNs_input_itemContent_posXpath = "" # 输入item的值,replaceName替换实际查询值
@@ -742,18 +746,19 @@ listPage_object_FQDNs_new_Description_extract_posXpath = '//table/tbody/tr[1]/td
listPage_object_FQDNs_new_Details_extract_posXpath = '//table/tbody/tr[1]/td[4]/div/div/div/div/div/div/span' # 提取Detail
listPage_object_FQDNs_del_after_ele_posXpath = '//div[@id="ly-table1-listcontent"]/div/div[3]/div/span' # 删除后提示"No Data"
# FQDNs list page 列表页操作
-listPage_object_FQDNs_select_First_object_posXpath = listPage_object_ip_address_select_First_object_posXpath # 选择列表中第一个对象
+listPage_object_FQDNs_select_First_object_posXpath = '//table/tbody/tr/td[1]/div/div/div[1]/div/label/span[1]/span' # 选择列表中第一个对象
FQDNs_listPage_object_searchId_posId = '1-_FilteredSearch_ElRow_Objects_fqdn_Home_App_anonymousComponent' # ID 搜索
# Create FQDNs Object 和 Edit FQDNs Object 新增和编辑页
-FQDNsObjectPage_input_Name_posXpath = "//div[@class='fqdn-object-name']//input" # name输入框Xpath
+FQDNsObjectPage_input_Name_posXpath = "//div[@class='biFangName']//input" # name输入框Xpath
FQDNsObjectPage_input_searchFor_posId = mainPage_ObjectSearch_buttonSearch_Item_posId # search for item搜索输入框id
FQDNsObjectPage_button_addItem_posXpath = mainPage_ObjectSearch_buttonAddItem_posXpath # 添加item按钮id
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='fqdn-object-description']//textarea[1]" # description文本输入区Xpath
-FQDNsObjectPage_button_SaveYes_posXpath = "//div[@class=' fqdn-object-page MuiBox-root css-o7xelj']//button[text()='OK']" # OK按钮
+FQDNsObjectPage_textArea_Description_posXpath = "//div[@class='objectAdd_description el-textarea el-input--small']/textarea" # description文本输入区Xpath
+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按钮
@@ -799,19 +804,19 @@ listPage_object_Subscriber_IDs_first_reference_list_posXpath = '//div/div/div[2]
listPage_object_Subscriber_IDs_second_reference_list_posXpath = '//div/div/div[2]/div[2]/div[1]/div/div[3]/div[2]' # 侧滑引用列表第二列
listPage_profilTable_FQDNs_reference_first_row_posXpath = listPage_object_Subscriber_IDs_first_reference_list_posXpath
listPage_profilTable_FQDNs_reference_Second_row_posXpath = listPage_object_Subscriber_IDs_second_reference_list_posXpath
-listPage_object_Subscriber_IDs_del_yes_Button_posXpath = listPage_object_ip_address_del_yes_Button_posXpath # del_yes按钮
+listPage_object_Subscriber_IDs_del_yes_Button_posXpath = '//div[@aria-label="Tips"]/div[3]/span/button[1]/span' # del_yes按钮
listPage_objectSearch_Subscriber_IDs_selectLabel_posId = mainPage_ObjectSearch_selectLabel_posId # 查询框id
# 查询框输入并选择
listPage_objectSearch_Subscriber_IDs_select_Id_posXpath = '//li[@id="1-_FilteredSearch_ElRow_Objects_subscriberid_Home_App_anonymousComponent"]' # 查询ID
-listPage_objectSearch_Subscriber_IDs_select_Name_posXpath = "//ul[@class='base-Popper-root MuiAutocomplete-listbox css-18r31z0']//span[text()='Name']" # 查询Name
-listPage_objectSearch_Subscriber_IDs_select_Details_posXpath ="//ul[@class='base-Popper-root MuiAutocomplete-listbox css-18r31z0']//span[text()='Detail']" # 查询Details
-listPage_objectSearch_Subscriber_IDs_select_Description_posXpath = "//ul[@class='base-Popper-root MuiAutocomplete-listbox css-18r31z0']//span[text()='Description']" # 查询Description
+listPage_objectSearch_Subscriber_IDs_select_Name_posXpath = '//li[@id="2-_FilteredSearch_ElRow_Objects_subscriberid_Home_App_anonymousComponent"]' # 查询Name
+listPage_objectSearch_Subscriber_IDs_select_Details_posXpath = '//li[@id="6-_FilteredSearch_ElRow_Objects_subscriberid_Home_App_anonymousComponent"]' # 查询Details
+listPage_objectSearch_Subscriber_IDs_select_Description_posXpath = '//li[@id="4-_FilteredSearch_ElRow_Objects_subscriberid_Home_App_anonymousComponent"]' # 查询Description
listPage_objectSearch_Subscriber_IDs_select_CreateBy_posXpath = '//*[@id="5-_FilteredSearch_ElRow_Objects_subscriberid_Home_App_anonymousComponent"]' # 查询CreateBy
listPage_objectSearch_Subscriber_IDs_buttonSearch_posId = mainPage_ObjectSearch_buttonSearch_posId # 查询按钮id
listPage_objectSearch_Subscriber_IDs_buttonClear_posId = mainPage_ObjectSearch_buttonClear_posId # 清空查询按钮id
-listPage_object_Subscriber_IDs_create_Subscriber_IDs_Button_posId = "//ul[@class='base-Popper-root MuiMenu-root Mui-expanded MuiMenu-variantOutlined MuiMenu-colorNeutral MuiMenu-sizeMd css-1iuehdr']//li[1]" # 创建Subscriber_IDs
-listPage_object_Subscriber_IDs_create_Subscriber_IDs_Group_Button_posId = "//ul[@class='base-Popper-root MuiMenu-root Mui-expanded MuiMenu-variantOutlined MuiMenu-colorNeutral MuiMenu-sizeMd css-1iuehdr']//li[2]" # 创建Subscriber_IDs Group
+listPage_object_Subscriber_IDs_create_Subscriber_IDs_Button_posId = 'object0-_OperateBtns_ElRow_Objects_subscriberid_Home_App_anonymousComponent' # 创建Subscriber_IDs
+listPage_object_Subscriber_IDs_create_Subscriber_IDs_Group_Button_posId = "object1-_OperateBtns_ElRow_Objects_subscriberid_Home_App_anonymousComponent" # 创建Subscriber_IDs Group
listPage_profileSearch_Subscriber_IDs_dropDown_item_posXpath = "" # 下拉菜单定位
listPage_profileSearch_Subscriber_IDs_input_itemContent_posXpath = "" # 输入item的值,replaceName替换实际查询值
@@ -826,7 +831,7 @@ listPage_object_Subscriber_IDs_new_Description_extract_posXpath = '//table/tbody
listPage_object_Subscriber_IDs_new_Details_extract_posXpath = '//table/tbody/tr[1]/td[4]/div/div/div/div/div/div/div/span/div/span' # 提取Detail
listPage_object_Subscriber_IDs_del_after_ele_posXpath = '//div[@id="ly-table1-listcontent"]/div/div[3]/div/span' # 删除后提示"No Data"
# Subscriber_IDs list page 列表页操作
-listPage_object_Subscriber_IDs_select_First_object_posXpath = listPage_object_ip_address_select_First_object_posXpath # 选择列表中第一个对象
+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='MuiInput-root MuiInput-variantOutlined MuiInput-colorNeutral MuiInput-sizeMd MuiInput-formControl css-uzf287']/input" # name输入框Xpath
@@ -892,13 +897,13 @@ list_HTTP_Signatures_Export_files_yes_button_posXpath = '//div/div[3]/span/butto
list_quote_first_row_object_HTTP_Signatures_posXpath = '//div/div/div[2]/div[2]/div[1]/div/div[3]/div' # quote侧滑第一行
list_quote_second_row_object_HTTP_Signatures_posXpath = '//div/div[2]/div[2]/div[1]/div/div[3]/div[2]' # quote侧滑第二行
Create_item_second_row_object_HTTP_Signatures_posXpath = "(//div[@class='infinite-list-wrapper']//div[@class='view-row'])[2]//div[@class='keywords-txt']/span" # item第二行
-listPage_object_HTTP_Signatures_del_yes_Button_posXpath = listPage_object_ip_address_del_yes_Button_posXpath # del_yes按钮
+listPage_object_HTTP_Signatures_del_yes_Button_posXpath = '//div[@class="el-dialog__wrapper"]/div/div[3]/span/button[1]/span' # del_yes按钮
listPage_objectSearch_HTTP_Signatures_selectLabel_posId = mainPage_ObjectSearch_selectLabel_posId # 查询框id
# 查询框输入并选择
listPage_objectSearch_HTTP_Signatures_select_Id_posXpath = '//li[@id="1-_FilteredSearch_ElRow_Objects_http_signature_Home_App_anonymousComponent"]' # 查询ID
-listPage_objectSearch_HTTP_Signatures_select_Name_posXpath = "//ul[@class='base-Popper-root MuiAutocomplete-listbox css-18r31z0']//span[text()='Name']" # 查询Name
-listPage_objectSearch_HTTP_Signatures_select_Details_posXpath = "//ul[@class='base-Popper-root MuiAutocomplete-listbox css-18r31z0']//span[text()='Detail']" # 查询Details
-listPage_objectSearch_HTTP_Signatures_select_Description_posXpath = "//ul[@class='base-Popper-root MuiAutocomplete-listbox css-18r31z0']//span[text()='Description']" # 查询Description
+listPage_objectSearch_HTTP_Signatures_select_Name_posXpath = '//li[@id="2-_FilteredSearch_ElRow_Objects_http_signature_Home_App_anonymousComponent"]' # 查询Name
+listPage_objectSearch_HTTP_Signatures_select_Details_posXpath = '//li[@id="6-_FilteredSearch_ElRow_Objects_http_signature_Home_App_anonymousComponent"]' # 查询Details
+listPage_objectSearch_HTTP_Signatures_select_Description_posXpath = '//li[@id="4-_FilteredSearch_ElRow_Objects_http_signature_Home_App_anonymousComponent"]' # 查询Description
listPage_objectSearch_HTTP_Signatures_select_CreateBy_posXpath = '//*[@id="5-_FilteredSearch_ElRow_Objects_http_signature_Home_App_anonymousComponent"]' # 查询CreateBy
listPage_objectSearch_HTTP_Signatures_buttonSearch_posId = mainPage_ObjectSearch_buttonSearch_posId # 查询按钮id
@@ -919,7 +924,7 @@ listPage_object_HTTP_Signatures_new_Description_extract_posXpath = '//table/tbod
listPage_object_HTTP_Signatures_new_Details_extract_posXpath = '//table/tbody/tr[1]/td[4]/div/div/div/div/div/div/span' # 提取Detail
listPage_object_HTTP_Signatures_del_after_ele_posXpath = '//div[@id="ly-table1-listcontent"]/div/div[3]/div/span' # 删除后提示"No Data"
# HTTP_Signatures list page 列表页操作
-listPage_object_HTTP_Signatures_select_First_object_posXpath = listPage_object_ip_address_select_First_object_posXpath # 选择列表中第一个对象
+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='MuiInput-root MuiInput-variantOutlined MuiInput-colorNeutral MuiInput-sizeMd MuiInput-formControl css-uzf287']/input" # name输入框Xpath
@@ -984,21 +989,21 @@ listPage_object_Keywords_createButton_posXpath = listPage_object_ip_address_crea
listPage_object_Keywords_editButton_posXpath = listPage_object_ip_address_editButton_posXpath # edit按钮id
listPage_object_Keywords_editButton_disable_posXpath = '//button[@id="appEdit-_OperateBtns_ElRow_Objects_keywords_Home_App_anonymousComponent"][@disabled="disabled"]' # edit按钮xpath
listPage_object_Keywords_delButton_posXpath = listPage_object_ip_address_delButton_posXpath # del按钮id
-listPage_object_Keywords_del_yes_Button_posXpath = listPage_object_ip_address_del_yes_Button_posXpath # del_yes按钮
+listPage_object_Keywords_del_yes_Button_posXpath = '//div[@class="el-dialog__wrapper"]/div/div[3]/span/button[1]/span' # del_yes按钮
listPage_object_Keywords_viewButton_posId = "//button[@id='appEdit-_OperateBtns_ElRow_Objects_keywords_Home_App_anonymousComponent']//p[normalize-space(text()) = 'View']"
listPage_objectSearch_Keywords_selectLabel_posXpath = listpage_search_box_posXpath # 查询框id
# 查询框输入并选择
listPage_objectSearch_Keywords_select_Id_posXpath = '//li[@id="1-_FilteredSearch_ElRow_Objects_keywords_Home_App_anonymousComponent"]' # 查询ID
-listPage_objectSearch_Keywords_select_Name_posXpath = "//ul[@class='base-Popper-root MuiAutocomplete-listbox css-18r31z0']//span[text()='Name']" # 查询Name
-listPage_objectSearch_Keywords_select_Details_posXpath = "//ul[@class='base-Popper-root MuiAutocomplete-listbox css-18r31z0']//span[text()='Detail']" # 查询Details
-listPage_objectSearch_Keywords_select_Description_posXpath = "//ul[@class='base-Popper-root MuiAutocomplete-listbox css-18r31z0']//span[text()='Description']" # 查询Description
+listPage_objectSearch_Keywords_select_Name_posXpath = '//li[@id="2-_FilteredSearch_ElRow_Objects_keywords_Home_App_anonymousComponent"]' # 查询Name
+listPage_objectSearch_Keywords_select_Details_posXpath = '//li[@id="6-_FilteredSearch_ElRow_Objects_keywords_Home_App_anonymousComponent"]' # 查询Details
+listPage_objectSearch_Keywords_select_Description_posXpath = '//li[@id="4-_FilteredSearch_ElRow_Objects_keywords_Home_App_anonymousComponent"]' # 查询Description
listPage_objectSearch_Keywords_select_CreateBy_posXpath = '//*[@id="5-_FilteredSearch_ElRow_Objects_keywords_Home_App_anonymousComponent"]' # 查询CreateBy
listPage_objectSearch_Keywords_buttonSearch_posId = mainPage_ObjectSearch_buttonSearch_posId # 查询按钮id
listPage_objectSearch_Keywords_buttonClear_posId = mainPage_ObjectSearch_buttonClear_posId # 清空查询按钮id
-listPage_object_Keywords_create_Keywords_Button_posId = "//ul[@class='base-Popper-root MuiMenu-root Mui-expanded MuiMenu-variantOutlined MuiMenu-colorNeutral MuiMenu-sizeMd css-1iuehdr']//li[1]" # 创建Keywords
+listPage_object_Keywords_create_Keywords_Button_posId = 'object0-_OperateBtns_ElRow_Objects_keywords_Home_App_anonymousComponent' # 创建Keywords
Create_page_import_from_file_button_xpath = "//button[@class='el-button btn-style el-button--default el-button--small']" # 创建Keywords import button
-listPage_object_Keywords_create_Keywords_Group_Button_posId = "//ul[@class='base-Popper-root MuiMenu-root Mui-expanded MuiMenu-variantOutlined MuiMenu-colorNeutral MuiMenu-sizeMd css-1iuehdr']//li[2]" # 创建Keywords Group
+listPage_object_Keywords_create_Keywords_Group_Button_posId = "object1-_OperateBtns_ElRow_Objects_keywords_Home_App_anonymousComponent" # 创建Keywords Group
listPage_profileSearch_Keywords_dropDown_item_posXpath = "" # 下拉菜单定位
listPage_profileSearch_Keywords_input_itemContent_posXpath = "" # 输入item的值,replaceName替换实际查询值
@@ -1014,7 +1019,7 @@ listPage_object_Keywords_new_Details_extract_posXpath = '//table/tbody/tr[1]/td[
listPage_object_Keywords_del_after_ele_posXpath = '//div[@id="ly-table1-listcontent"]/div/div[3]/div/span' # 删除后提示"No Data"
# Keywords list page 列表页操作
-listPage_object_Keywords_select_First_object_posXpath = listPage_object_ip_address_select_First_object_posXpath # 选择列表中第一个对象
+listPage_object_Keywords_select_First_object_posXpath = '//table/tbody/tr/td[1]/div/div/div[1]/div/label/span[1]/span' # 选择列表中第一个对象
keywords_listPage_object_searchId_posId = '1-_FilteredSearch_ElRow_Objects_keywords_Home_App_anonymousComponent' # ID 搜索
# Create Keywords Object 和 Edit Keywords Object 新增和编辑页
@@ -1022,16 +1027,16 @@ KeywordsObjectPage_input_Name_posXpath = "//div[@class='MuiInput-root MuiInput-v
KeywordsObjectPage_input_searchFor_posId = mainPage_ObjectSearch_buttonSearch_Item_posId # search for item搜索输入框id
KeywordsObjectPage_button_addItem_posXpath = mainPage_ObjectSearch_buttonAddItem_posXpath # 添加item按钮id
-KeywordsObjectPage_first_Item_content_posXpath = "(//div[@data-testid='virtuoso-item-list']//div[@class='keyword-object-expression']/div[1]/span)[1]" # 第一个item的内容
-main_first_Item_count_posXpath = "//div[@class='flex flex-row justify-between mt-[4px]']/div[2]/span[2]"
+KeywordsObjectPage_first_Item_content_posXpath = "(//div[@class='list-container']//div[@class='v-fill-available row-info']/span)[1]" # 第一个item的内容
+main_first_Item_count_posXpath = '//div[1]/div[2]/div[@class="total"]'
KeywordsObjectPage_first_Item_count_posXpath = main_first_Item_count_posXpath ## 断言新增item的个数
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='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='keyword-object-expression']//input[@class='MuiInput-input css-1u0jcuo']" # 输入item内容
-KeywordsObjectPage_button_add_Item_input_posXpath = "//div[@class='keyword-object-expression']//i[@class='iconfont icon-Create1 font-[700]']"
+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']" # 保存item按钮
KeywordsObjectPage_import_files_ok1_posXpath = '//div/div/div[2]/div[2]/button[1]/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
@@ -1040,10 +1045,9 @@ KeywordsObjectPage_button_SaveYes_posXpath = "//button[@class='MuiButtonBase-roo
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按钮
-KeywordsObjectPage_button_range_posXpath = "//div[@class='keyword-object-expression']//input[@class='MuiCheckbox-input css-1jj0cvj']"
-KeywordsObjectPage_error_text_posXpath = "//div[@class='keyword-object-expression']//div[@class='MuiFormHelperText-root css-koslx8']"
+
# Create Keywords Group Object 和 Edit CreateKeywords Group 新增和编辑页
-main_ObjectPage_tips_Name_input_Xpath = "//div[@class='MuiFormHelperText-root css-koslx8']"
+main_ObjectPage_tips_Name_input_Xpath = '//form/div[1]/div/div[@class="el-form-item__error"]'
KeywordsObjectPage_tips_Name_input_Xpath = main_ObjectPage_tips_Name_input_Xpath # 删除失败,Name提示框
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]' # 列表引用第二行
@@ -1163,8 +1167,8 @@ cate_ObjectDetailPage_okButton_yes_posXpath = url_ObjectDetailPage_okButton_yes_
# Object Accounts elements area top===================Object Accounts elements area top===================Object Accounts elements area top===================Object Accounts elements area top===================Object Accounts elements area top===================
# 列表页
acc_listPage_createButton_posXpath = listPage_object_ip_address_createButton_posXpath # 列表页create 按钮ID
-acc_listPage_createButton_account_posId = "//ul[@class='base-Popper-root MuiMenu-root Mui-expanded MuiMenu-variantOutlined MuiMenu-colorNeutral MuiMenu-sizeMd css-1iuehdr']//li[1]" # 列表页create下account ID
-acc_listPage_createButton_accountGroup_posId = "//ul[@class='base-Popper-root MuiMenu-root Mui-expanded MuiMenu-variantOutlined MuiMenu-colorNeutral MuiMenu-sizeMd css-1iuehdr']//li[2]" # 列表页create下account group ID
+acc_listPage_createButton_account_posId = 'object0-_OperateBtns_ElRow_Objects_account_Home_App_anonymousComponent' # 列表页create下account ID
+acc_listPage_createButton_accountGroup_posId = 'object1-_OperateBtns_ElRow_Objects_account_Home_App_anonymousComponent' # 列表页create下account group ID
acc_listPage_editButton_posXpath = listPage_object_ip_address_editButton_posId # 列表页 Edit 按钮ID
acc_listPage_deleteButton_posXpath = listPage_object_ip_address_delButton_posXpath # 列表页 Delete 按钮ID
acc_object_columnSetting_descriptionOption_posXpath = listPage_object_urls_columnSetting_descriptionOption_posXpath # 列设置中的description选项元素Xpath
@@ -1210,14 +1214,14 @@ acc_listPage_object_tableDetails_detailsRow_firstDetailValue_posXpaths = listPag
# 对象详情页
acc_ObjectDetailPage_nameInput_posXpath = url_ObjectDetailPage_nameInput_posXpath # Name输入框Xpath
acc_ObjectDetailPage_nameLenthNumber_posXpath = url_ObjectDetailPage_nameLenthNumber_posXpath # Name输入框中字符长度数值Xpath
-acc_ObjectDetailPage_item_addButton_poXpath = url_ObjectDetailPage_addButton_posXpath # item下"+"按钮
+acc_ObjectDetailPage_item_addButton_poXpath = url_ObjectDetailPage_itemsText_posXpath # 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 = "//input[@class='MuiInput-input css-1u0jcuo']" # item 下value输入框Xpath
acc_ObjectDetailPage_itemSaveButton_poXpath = url_ObjectDetailPage_itemSaveButton_posXpath # item 下value保存按钮Xpath
acc_ObjectDetailPage_item_search_posXpath = url_ObjectDetailPage_object_ip_search_posXpath # item 下搜索框id
acc_ObjectDetailPage_itemsText_posXpath = '//div[@class="ItemRow infinite-list-item" and not(@style)]//div[@class="item-box"]//span[@title]' # Items 列表下所有Item的文本元素
-acc_ObjectDetailPage_description_posXpath = "//div[@class='account-object-description']//textarea[1]" # 对象详情页面下Description input Xpath
+acc_ObjectDetailPage_description_posXpath = url_ObjectDetailPage_description_posXpath # 对象详情页面下Description input Xpath
acc_ObjectDetailPage_auditLogs_posXpath = url_ObjectDetailPage_auditLogs_posXpath # Audit Logs Xpath
acc_ObjectDetailPage_auditLogsDrawer_firstRowLog_checkBox_posXpath = url_ObjectDetailPage_auditLogsDrawer_firstRowLog_checkBox_posXpath # Audit Logs 侧滑页第一条日志CheckBox Xpath
acc_ObjectDetailPage_auditLogsDrawer_compareButton_posXpath = url_ObjectDetailPage_auditLogsDrawer_compareButton_posXpath # Audit Logs 侧滑页Compare 按钮Xpath
@@ -1267,8 +1271,8 @@ acc_ObjectDetailPage_firstObject = url_ObjectDetailPage_firstUrlObject # 侧滑
acc_ObjectDetailPage_secondObject = url_ObjectDetailPage_secondUrlObject # 侧滑acc Object中第二个url Xpath
acc_ObjectDetailPage_editgroup_posXpath = "//i[@class='row-edit iconfont icon-Edit cursor fontsize18']"
acc_ObjectGroupDetailPage_subAndExcludeObjects_posXpaths = '//div[@class="CommonSubObjects"]//*[@class="row-content-cell"]' # 列表下所有Item的文本元素(包括sub与exclude)
-acc_ObjectGroupDetailPage_subObjects_posXpaths = '//div[@data-desc="subObject"]//div[@class="CommonSubObjects"]//*[@class="row-content-cell"]' # sub object 列表下所有Item的文本元素
-acc_ObjectGroupDetailPage_excludeObjects_posXpaths = '//div[@data-desc="exclude subObject"]//div[@class="CommonSubObjects"]//*[@class="row-content-cell"]' # exclude object 列表下所有Item的文本元素
+acc_ObjectGroupDetailPage_subObjects_posXpaths = '//div[@class="interval-object-included_sub_object_uuids"]//span' # sub object 列表下所有Item的文本元素
+acc_ObjectGroupDetailPage_excludeObjects_posXpaths = '//div[@class="interval-object-excluded_sub_object_uuids"]//span' # exclude object 列表下所有Item的文本元素
# 详情页通用元素
acc_ObjectDetailPage_mainOkButton_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按钮ID
acc_ObjectDetailPage_okButton_yes_posXpath = url_ObjectDetailPage_okButton_yes_posXpath # 确认弹窗的“Yes”按钮
@@ -1304,10 +1308,14 @@ int_listPage_object_urls_delete_noButton_posCss = acc_listPage_object_urls_delet
# 对象详情页a
int_ObjectDetailPage_nameInput_posXpath = url_ObjectDetailPage_nameInput_posXpath # Name输入框Xpath
int_ObjectDetailPage_nameLenthNumber_posXpath = url_ObjectDetailPage_nameLenthNumber_posXpath # Name输入框中字符长度数值Xpath
-int_ObjectDetailPage_item_addButton_poId = url_ObjectDetailPage_addButton_posXpath # item下"+"按钮
+int_ObjectDetailPage_item_addButton_poXpath = url_ObjectDetailPage_addButton_posXpath # item下"+"按钮
int_ObjectDetailPage_itemsText_posXpath = '//div[@class="ItemRow infinite-list-item" and not(@style)]//div[@class="item-box"]//div[@title]' # Items 列表下所有Item的文本元素
int_ObjectDetailPage_itemValueInput_lowBoundary_poXpath = '(//div[@class="v-panel-content"]//div[@class="CommonItems"]//div[@class="list-container"]//input)[1]' # item 下low_boundary value输入框Xpath
int_ObjectDetailPage_itemValueInput_upBoundary_poXpath = '(//div[@class="v-panel-content"]//div[@class="CommonItems"]//div[@class="list-container"]//input)[last()]' # item 下 up_boundary value输入框Xpath
+# item下"+"按钮
+int_ObjectDetailPage_itemsText_posXpath = '//div[@class="leading-[24px]"]' # Items 列表下所有Item的文本元素
+int_ObjectDetailPage_itemValueInput_lowBoundary_poXpath = '(//input[@class="MuiInput-input css-1u0jcuo"])[1]' # item 下low_boundary value输入框Xpath
+int_ObjectDetailPage_itemValueInput_upBoundary_poXpath = '(//input[@class="MuiInput-input css-1u0jcuo"])[2]' # item 下 up_boundary value输入框Xpath
int_ObjectDetailPage_itemSaveButton_poXpath = url_ObjectDetailPage_itemSaveButton_posXpath # item 下value保存按钮Xpath
int_ObjectDetailPage_item_search_posId = url_ObjectDetailPage_object_ip_search_posId # item 下搜索框id
int_ObjectDetailPage_description_posXpath = url_ObjectDetailPage_description_posXpath # 对象详情页面下Description input Xpath
@@ -1317,17 +1325,18 @@ int_ObjectGroupDetailPage_subObjects_addButton_normalAdd_posXpath = acc_ObjectGr
int_ObjectGroupDetailPage_subObjects_addButton_newAdd_posXpath = acc_ObjectGroupDetailPage_subObjects_addButton_newAdd_posXpath # Subordinate Objects 下无数据新增时"+"按钮Xpath
int_ObjectGroupDetailPage_subObjects_toggleDraw_addButton_posXpath = acc_ObjectGroupDetailPage_subObjects_toggleDraw_addButton_posXpath # Object侧滑窗口的"+"按钮
int_ObjectGroupDetailPage_subObjects_toggleDraw_addButton_account_posXpath = acc_ObjectGroupDetailPage_subObjects_toggleDraw_addButton_account_posXpath # Object侧滑窗口的"+"按钮下的single object
-int_ObjectGroupDetailPage_subObjects_subCreateObjectDrawer_nameInput_posXpath = '//div[@class="drawer-box"]//div[@data-label="Name"]//input' # 侧滑子Create Object页面Name input Xpath
+int_ObjectGroupDetailPage_subObjects_subCreateObjectDrawer_nameInput_posXpath = '(//input[@class="MuiInput-input css-fqt4w4"])[2]' # 侧滑子Create Object页面Name input Xpath
int_ObjectGroupDetailPage_subObjects_subCreateObjectDrawer_itemsAddButton_posXpath = acc_ObjectGroupDetailPage_subObjects_subCreateAccountDrawer_itemsAddButton_posXpath # 侧滑子Create Object页面中Items下的"+"按钮 Xpath
-int_ObjectGroupDetailPage_subObjects_subCreateObjectDrawer_itemsValueInput_lowBoundary_posXpath = '(//div[@class="drawer-box"]//div[@class="CommonItems"]//div[@class="list-container"]//input)[1]' # 侧滑子Create Interval页面中Items下的low_boundary输入框 Xpath
-int_ObjectGroupDetailPage_subObjects_subCreateObjectDrawer_itemsValueInput_upBoundary_posXpath = '(//div[@class="drawer-box"]//div[@class="CommonItems"]//div[@class="list-container"]//input)[last()]' # 侧滑子Create Interval页面中Items下的upBoundary输入框 Xpath\
+int_ObjectGroupDetailPage_subObjects_subCreateObjectDrawer_itemsValueInput_lowBoundary_posXpath = '(//input[@class="MuiInput-input css-1u0jcuo"])[1]' # 侧滑子Create Interval页面中Items下的low_boundary输入框 Xpath
+int_ObjectGroupDetailPage_subObjects_subCreateObjectDrawer_itemsValueInput_upBoundary_posXpath = '(//input[@class="MuiInput-input css-1u0jcuo"])[last()]' # 侧滑子Create Interval页面中Items下的upBoundary输入框 Xpath\
int_ObjectGroupDetailPage_subObjects_subCreateObjectDrawer_itemsValueSaveButton_posXpath = acc_ObjectGroupDetailPage_subObjects_subCreateAccountDrawer_itemsValueSaveButton_posXpath # 侧滑子Create Objects页面中Items下的保存按钮 Xpath
int_ObjectGroupDetailPage_subObjects_subCreateAccountDrawer_descriptionTextarea_posXpath = acc_ObjectGroupDetailPage_subObjects_subCreateAccountDrawer_descriptionTextarea_posXpath # 侧滑子Create Objects页面中的Description textarea Xpath
-int_ObjectGroupDetailPage_subObjects_subCreateAccountDrawer_okButton_posXpath = '//div[@class="drawer-box"]//div[@class="prox-fixed-footer policy-foot-color"]/button[@id="OK-_IntervalsDetail_VDraswer_EditDraw_IntervalsDetail_Home_App_anonymousComponent"]' # 侧滑子Create Objects页面中OK按钮
+int_ObjectGroupDetailPage_subObjects_subCreateAccountDrawer_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"])[2]' # 侧滑子Create Objects页面中OK按钮
int_ObjectGroupDetailPage_subObjects_subCreateAccountDrawer_okButton_yes_posXpath = url_ObjectDetailPage_okButton_yes_posXpath # 侧滑子Create Account页面确认弹窗的“Yes”按钮
int_ObjectGroupDetailPage_subObjects_subCreateAccountDrawer_okButton_cancel_posXpath = url_ObjectDetailPage_okButton_cancel_posXpath # 侧滑子Create Account页面确认弹窗的“Cancel”按钮
# 详情页通用元素
int_ObjectDetailPage_mainOkButton_poId = 'OK-_IntervalsDetail_Home_App_anonymousComponent' # OK按钮ID
+int_ObjectDetailPage_mainOkButton_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 form-action-submit css-1djnbgz"]'
int_ObjectDetailPage_okButton_yes_posXpath = url_ObjectDetailPage_okButton_yes_posXpath # 确认弹窗的“Yes”按钮
# Object Intervals elements area bottom===================Object Intervals elements area bottom===================Object Intervals elements area bottom===================Object Intervals elements area bottom===================Object Intervals elements area bottom===================
# Object Intervals elements area bottom===================Object Intervals elements area bottom===================Object Intervals elements area bottom===================Object Intervals elements area bottom===================Object Intervals elements area bottom===================
@@ -1435,7 +1444,7 @@ flagGroup_ObjectDetailPage_subitem_add_posXpath = '//div[@class="mt-[10px] flex
# Object Geolocation elements area bottom===================Object Geolocation elements area bottom===================Object Geolocation elements area bottom===================Object Geolocation elements area bottom===================
# 对象详情页
port_ObjectDetailPage_nameInput_posXpath = '//input[@class="MuiInput-input css-fqt4w4"]' # Name输入框Xpath!!!!!
-port_ObjectDetailPage_item_addButton_poId = '//i[@class="iconfont icon-Create1 font-[700]"]' # item下"+"按钮!!!!!
+port_ObjectDetailPage_item_addButton_posXpath = '//i[@class="iconfont icon-Create1 font-[700]"]' # item下"+"按钮!!!!!
port_ObjectDetailPage_itemValueInput_poXpath = '//div[@class="MuiInput-root MuiInput-variantOutlined MuiInput-colorNeutral MuiInput-sizeMd MuiInput-formControl css-grqzrl"]/input' # item 下value输入框Xpath!!!!!
port_ObjectDetailPage_itemSaveButton_poXpath = '//i[@class="operate-icon iconfont icon-save"]' # item 下value保存按钮Xpath!!!!!
port_ObjectDetailPage_item_search_posId = acc_ObjectDetailPage_item_search_posXpath # item 下搜索框id
@@ -1504,25 +1513,25 @@ port_listPage_linkTips_dropitem_vsysSelect_posXpath = "//body/div[contains(@clas
port_listPage_objectTable_tableTbody_posXpath = "//div[contains(@class,'ly-table1')]//tbody" # 列表tabel body
object_page_ln_select_statistics_input_posXpath = '//button[@class="MuiSelect-button css-1qmzz5g"]' #详情页statistics!!!!!
-object_page_ln_select_statistics_brief_posXpath = '//li[@class="MuiOption-root css-rabwri"]//p[@class="MuiTypography-root MuiTypography-title-sm css-kfmwsi"]' #elaboreate!!!!!
-object_page_ln_select_statistics_elaborate_posXpath = '//li[@class="MuiOption-root css-171tq0k"]//p[@class="MuiTypography-root MuiTypography-title-sm css-kfmwsi"]' #brief!!!!!
+object_page_ln_select_statistics_elaborate_posXpath = '//li[@class="MuiOption-root css-rabwri"]//p[@class="MuiTypography-root MuiTypography-title-sm css-kfmwsi"]' #elaboreate!!!!!
+object_page_ln_select_statistics_brief_posXpath = '//li[@class="MuiOption-root css-171tq0k"]//p[@class="MuiTypography-root MuiTypography-title-sm css-kfmwsi"]' #brief!!!!!
object_page_ln_select_statistics_none_posXpath = '//li[@class="MuiOption-root MuiOption-highlighted Mui-selected css-171tq0k"]//p[@class="MuiTypography-root MuiTypography-title-sm css-kfmwsi"]' # none!!!!!
# 详情页通用元素
port_ObjectDetailPage_mainOkButton_poId = 'OK-_PortDetail_Home_App_anonymousComponent' # OK按钮ID
-port_ObjectDetailPage_mainOkButton_posXpath = '//*[@id="OK-_PortDetail_Home_App_anonymousComponent"]'
+port_ObjectDetailPage_mainOkButton_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"]'
port_ObjectDetailPage_okButton_yes_posXpath = acc_ObjectDetailPage_okButton_yes_posXpath # 确认弹窗的“Yes”按钮
# 对象组详情页
port_ObjectGroupDetailPage_subObjects_addButton_normalAdd_posXpath = '//div[@data-desc="subObject"]//i[@class="operate-icon iconfont icon-Create1"]' # Subordinate Objects 下有数据新增时"+"按钮Xpath
-port_ObjectGroupDetailPage_subObjects_addButton_newAdd_posXpath = '//div[@data-desc="subObject"]//div[@class="AddButton"]' # Subordinate Objects 下无数据新增时"+"按钮Xpath
-port_ObjectGroupDetailPage_subObjects_toggleDraw_addButton_posXpath = '//div[@class="ToggleDraw"]//div[contains(@class,"search-box")]//button' # Ports侧滑窗口的"+"按钮
+port_ObjectGroupDetailPage_subObjects_addButton_newAdd_posXpath = '//div[@class="port-object-included_sub_object_uuids"]' # Subordinate Objects 下无数据新增时"+"按钮Xpath
+port_ObjectGroupDetailPage_subObjects_toggleDraw_addButton_posXpath = '//div[@class="px-[12px] py-[4px] flex"]/button' # Ports侧滑窗口的"+"按钮
port_ObjectGroupDetailPage_subObjects_toggleDraw_addButton_port_posXpath = '(//ul[@class="el-dropdown-menu el-popper el-dropdown-menu--small"]/li[not(contains(text(),"Group"))])[last()]' # Ports侧滑窗口的"+"按钮下的Port
-port_ObjectGroupDetailPage_subObjects_subCreatePortDrawer_nameInput_posXpath = '//*[@id="router-view-container"]//div[@class="drawer-box"]//div[@data-label="Name"]//input' # 侧滑子Create Ports页面Name input Xpath
-port_ObjectGroupDetailPage_subObjects_subCreatePortDrawer_itemsAddButton_posXpath = '//div[@class="drawer-box"]//div[@class="CommonItems"]//div[@class="object-item-add"]/div[@class="IconBtn"]' # 侧滑子Create Ports页面中Items下的"+"按钮 Xpath
-port_ObjectGroupDetailPage_subObjects_subCreatePortDrawer_itemsValueInput_posXpath = '//*[@id="router-view-container"]//div[@class="item-box"]//input' # 侧滑子Create Ports页面中Items下的item value输入框 Xpath
-port_ObjectGroupDetailPage_subObjects_subCreatePortDrawer_itemsValueSaveButton_posXpath = '//div[@class="drawer-box"]//div[@class="CommonItems"]//i[contains(@class,"icon-save")]' # 侧滑子Create Ports页面中Items下的保存按钮 Xpath
-port_ObjectGroupDetailPage_subObjects_subCreatePortDrawer_descriptionTextarea_posXpath = '//div[@class="drawer-box"]//label[text()="Description"]/..//textarea' # 侧滑子Create Ports页面中的Description textarea Xpath
-port_ObjectGroupDetailPage_subObjects_subCreatePortDrawer_okButton_posXpath = '//*[@id="OK-_PortDetail_VDraswer_EditDraw_PortDetail_Home_App_anonymousComponent"]' # 侧滑子Create Account页面中OK按钮
+port_ObjectGroupDetailPage_subObjects_subCreatePortDrawer_nameInput_posXpath = '(//input[@class="MuiInput-input css-fqt4w4"])[2]' # 侧滑子Create Ports页面Name input Xpath
+port_ObjectGroupDetailPage_subObjects_subCreatePortDrawer_itemsAddButton_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-list-action-add css-h4tbqb"]' # 侧滑子Create Ports页面中Items下的"+"按钮 Xpath
+port_ObjectGroupDetailPage_subObjects_subCreatePortDrawer_itemsValueInput_posXpath = '//input[@class="MuiInput-input css-1u0jcuo"]' # 侧滑子Create Ports页面中Items下的item value输入框 Xpath
+port_ObjectGroupDetailPage_subObjects_subCreatePortDrawer_itemsValueSaveButton_posXpath = '//i[@class="operate-icon iconfont icon-save"]' # 侧滑子Create Ports页面中Items下的保存按钮 Xpath
+port_ObjectGroupDetailPage_subObjects_subCreatePortDrawer_descriptionTextarea_posXpath = '(//textarea[@placeholder="Please enter the content"])[2]' # 侧滑子Create Ports页面中的Description textarea Xpath
+port_ObjectGroupDetailPage_subObjects_subCreatePortDrawer_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"])[2]' # 侧滑子Create Account页面中OK按钮
port_ObjectGroupDetailPage_subObjects_subCreatePortDrawer_okButton_yes_posXpath = acc_ObjectGroupDetailPage_subObjects_subCreateAccountDrawer_okButton_yes_posXpath # 侧滑子Create Account页面确认弹窗的“Yes”按钮
port_ObjectDetailPage_firstPortObject = acc_ObjectDetailPage_firstAccObject ## 侧滑Objects列表中第一个acc object Xpath
portGroup_ObjectDetailPage_excludeObjectsSwitch_posXpath = accGroup_ObjectDetailPage_excludeObjectsSwitch_posXpath # Exclude Objects Switch Xpath
@@ -1532,7 +1541,7 @@ port_ObjectDetailPage_firstObject = acc_ObjectDetailPage_firstObject # 侧滑ac
port_ObjectGroupDetailPage_subObjects_toggleDraw_closeButton_posXpath = acc_ObjectGroupDetailPage_subObjects_toggleDraw_closeButton_posXpath # Accounts侧滑窗口的Close按钮
portGroup_ObjectDetailPage_excludeObjectsSwitch_normalAdd_posXpath = accGroup_ObjectDetailPage_excludeObjectsSwitch_normalAdd_posXpath # Exclude Objects有数据时新增按钮Xpath
port_ObjectDetailPage_secondObject = acc_ObjectDetailPage_secondObject # 侧滑acc Object中第二个url Xpath
-port_object_group_subobject_close_posXpath = '//*[@id="router-view-container"]//div[@class="PortList list-box"]/div[3]/button'
+port_object_group_subobject_close_posXpath = '//div[@class="absolute bottom-0 h-[40px] w-[100%] overflow-hidden text-[16px] truncate bg-[--color-background-secondary] flex justify-center items-center pl-[12px] pr-[38px]"]/button'
## listPage->Tips dialog 列表页 tips对话框
port_listPage_object_delete_yesButton_posCss = 'body>.el-dialog__wrapper .delComponents-ok span' # 删除提示的Tips的yes按钮Xpath
port_listPage_object_urls_delete_noButton_posCss = 'body>.el-dialog__wrapper .delComponents-close span' # 删除提示的Tips的No按钮Xpath