diff options
| author | guowenzheng <[email protected]> | 2024-10-25 10:27:20 +0800 |
|---|---|---|
| committer | guowenzheng <[email protected]> | 2024-10-25 10:27:20 +0800 |
| commit | eafe02952f2c3306164fd4623b72eb68124497ac (patch) | |
| tree | 052dcd85664c92c3f74a8464778c5ae7c70bd202 /page_element | |
| parent | dbeb3471037cff138af8822c3325b6452e8ddc79 (diff) | |
| parent | 960cad5d8762cb90cf2bbd0a1f663b92181eb1e4 (diff) | |
Merge branch 'develop' of https://git.mesalab.cn/zhaokun/tsg_ui_script into develop
Diffstat (limited to 'page_element')
| -rw-r--r-- | page_element/objects_element_position.py | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/page_element/objects_element_position.py b/page_element/objects_element_position.py index 1bcc6f49..6e663431 100644 --- a/page_element/objects_element_position.py +++ b/page_element/objects_element_position.py @@ -132,7 +132,7 @@ mainPage_ObjectSearch_input_Item_posId = "onlyMarvel" # 输入item_id 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_reference_count_posXpath = "//div[@class='MuiDataGrid-virtualScrollerContent css-0']/div/div[2]//div[@data-field='reference_count']/button" # 提取reference的数量《断言》 main_listPage_object_statistics_view_postXpath = "(//div[@id='ly-table1-listcontent']//span[text()='View'])[1]" main_listPage_object_bottomTotal_postXpath = "//div[@class='flex-1 flex items-center justify-center undefined']/span[1]" # 列表页底部Total元素 # object导入文件Xpath路径 @@ -277,7 +277,7 @@ listPage_object_reprtition_total_postXpath = "//div[@class='css-dob60y']//div[@c listPage_object_group_exclude_open_posXpath = '//input[@type="checkbox"]' listPage_object_group_subobject_fist_posXpath = '//ul[@class="MuiList-root MuiList-vertical MuiList-variantPlain MuiList-colorNeutral MuiList-sizeMd css-1cklc3"]/li[1]//span[@class="truncate"]' listPage_object_group_subobject_second_posXpath = '//ul[@class="MuiList-root MuiList-vertical MuiList-variantPlain MuiList-colorNeutral MuiList-sizeMd css-1cklc3"]/li[2]//span[@class="truncate"]' -ip_object_group_subobject_close_posXpath = "//div[@class='KeywordsList list-box']//span[normalize-space(text())='Close']" +ip_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[text()='Cancel']" 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']" @@ -308,7 +308,7 @@ main_ObjectPage_import_files_error_format_posXpath = mobileIdentitiesObjectPage_ mobileIdentitiesObjectPage_Export_Mobile_Identity_Button_posXpath = '//button[@id="objectExport-_importAndExport_ElRow_Objects_mobile_identity_Home_App_anonymousComponent"][@disabled="disabled"]/i' # 导出按钮置灰 mobileIdentitiesObjectPage_Edit_Mobile_Identity_Button_posXpath = '//button[@id="appEdit-_OperateBtns_ElRow_Objects_mobile_identity_Home_App_anonymousComponent"][@disabled="disabled"]' # 编辑按钮置灰 # 删除按钮置灰 -main_Delete_Mobile_Identity_Button_posXpath = '//div/div/div[1]/div/div[1]/div/div[3]/button[@disabled="disabled"]' # 删除按钮置灰 +main_Delete_Mobile_Identity_Button_posXpath = '//button[@class="MuiButtonBase-root MuiButton-root MuiButton-contained MuiButton-containedPrimary MuiButton-sizeSmall MuiButton-containedSizeSmall MuiButton-colorPrimary Mui-disabled MuiButton-root MuiButton-contained MuiButton-containedPrimary MuiButton-sizeSmall MuiButton-containedSizeSmall MuiButton-colorPrimary css-15h645i"]' # 删除按钮置灰 mobileIdentitiesObjectPage_Delete_Mobile_Identity_Button_posXpath = main_Delete_Mobile_Identity_Button_posXpath # 删除按钮置灰 mobileIdentitiesObjectPage_selete_Mobile_Identity_Button_posXpath = '//table/tbody/tr[1]/td[1]/div/div/div[1]/div/label[@class="el-checkbox"]/span[@class="el-checkbox__input"]' # 不勾选Object置灰 @@ -520,7 +520,7 @@ listPage_object_urls_searchCreatedBy_posId = '5-_FilteredSearch_ElRow_Objects_ur url_ObjectDetailPage_nameInput_posXpath = '//input[@class="MuiInput-input css-fqt4w4"]' # Name输入框Xpath url_ObjectDetailPage_nameLenthNumber_posXpath = "//div[@class='MuiInput-endDecorator css-tob0ta']/span" # 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_itemsText_posXpath = "//div[@data-testid='virtuoso-item-list']//div[@class='leading-[24px]']" # Items 列表下所有Item的文本元素 url_ObjectDetailPage_item_subAddButton_poXpath = "//div[@class='url-object-expression']//i[@class='iconfont icon-Create1 font-[700]']" # 单个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 = "//input[@class='MuiInput-input css-1u0jcuo']" # Item value输入框Xpath @@ -542,8 +542,8 @@ url_ObjectDetailPage_itemsTotal_posXpath = "//div[@class='items']//div[@class='f url_ObjectDetailPage_importFromFile_posXpath = '//button[contains(text(),"import from file")]' # 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 = '//input[@type="file"]' # 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_pleaseUpload_posXpath = "//div[@class='flex flex-col justify-start flex-1 MuiBox-root css-0']//input[@type='file']" # Please Upload input标签Xpath +url_ObjectDetailPage_importUrlOk_posXpath = "//div[@class='relative w-[100%] h-[100%] pt-[46px] pb-[56px] flex overflow-hidden']//button[text()='OK']" # Import URL 下的OK按钮Xpath url_ObjectDetailPage_importedFile_posXpath = '//div[@class="flex-1 truncate"]' # 导入文件元素位置(Import From File 按钮旁) url_ObjectDetailPage_importedFile_delete_posXpath = '//i[@class="iconfont icon-Delete_X text-[14px] hidden"]' # 文件删除按钮 @@ -601,7 +601,7 @@ listPage_object_ip_address_createButton_posId = "objectCreate-_OperateBtns_ElRow listPage_object_ip_address_createButton_posXpath = '//span[@class="action-create inline-flex mr-[8px] "]/button' # create按钮!!!!! listPage_object_ip_address_editButton_posId = "appEdit-_OperateBtns_ElRow_Objects_ip_Home_App_anonymousComponent" # edit按钮id listPage_object_ip_address_editButton_posXpath = '//span[@class="action-edit inline-flex mr-[8px] "]/button' # edit按钮!!!!! -listPage_object_ip_address_delButton_disable_posXpath = '//button[@class="MuiButtonBase-root MuiButton-root MuiButton-contained MuiButton-containedPrimary MuiButton-sizeSmall MuiButton-containedSizeSmall MuiButton-colorPrimary MuiButton-root MuiButton-contained MuiButton-containedPrimary MuiButton-sizeSmall MuiButton-containedSizeSmall MuiButton-colorPrimary css-15h645i"]' # del按钮Xpath置灰!!!!! +listPage_object_ip_address_delButton_disable_posXpath = '//button[@class="MuiButtonBase-root MuiButton-root MuiButton-contained MuiButton-containedPrimary MuiButton-sizeSmall MuiButton-containedSizeSmall MuiButton-colorPrimary Mui-disabled MuiButton-root MuiButton-contained MuiButton-containedPrimary MuiButton-sizeSmall MuiButton-containedSizeSmall MuiButton-colorPrimary css-15h645i"]' # del按钮Xpath置灰!!!!! listPage_object_ip_address_delButton_posId = "appDel-_OperateBtns_ElRow_Objects_ip_Home_App_anonymousComponent" # del按钮id listPage_object_ip_address_delButton_posXpath = '//span[@class="action-delete inline-flex mr-[8px] "]/button' # del按钮!!!!! listPage_object_ip_address_del_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-1aub58j"]' # del_yes按钮!!!!! @@ -688,7 +688,7 @@ ip_addressObjectPage_button_Input_Learned_IP_Limits_posXpath = "//div[@class='ip ip_addressObjectPage_textArea_Description_posXpath = "//div[@class='ip-object-description']//textarea[1]" # description文本输入区Xpath ip_addressObjectPage_button_OK_posXpath = "//div[@class=' ip-object-page MuiBox-root css-o7xelj']//button[text()='OK']" # Group保存主页面OK按钮 -ip_addressObjectPage_button_SaveYes_posXpath = '//button[@id="OK-_IpDetail_VDraswer_EditDraw_IpDetail_Home_App_anonymousComponent"]/span' # Group引用创建OK按钮 +ip_addressObjectPage_button_SaveYes_posXpath = "//div[@class='MuiBox-root css-1krxo6z']//button[text()='OK']" # 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 = "//div[@class=' ip-object-page MuiBox-root css-o7xelj']//button[text()='Cancel']" # Cancel按钮 @@ -707,8 +707,7 @@ ip_address_ObjectDetailPage_okButton_yes_posXpath = url_ObjectDetailPage_okButto 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_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_Button_posXpath = "//div[@class='MuiBox-root css-1krxo6z']//button[text()='OK']" # 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 @@ -768,10 +767,10 @@ FQDNsObjectPage_textArea_Description_posXpath = "//div[@class='fqdn-object-descr FQDNsObjectPage_button_SaveYes_posXpath = "//div[@class=' fqdn-object-page MuiBox-root css-o7xelj']//button[text()='OK']" # 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按钮 +FQDNsObjectPage_button_cancel_posCss = "//div[@class=' fqdn-object-page MuiBox-root css-o7xelj']//button[text()='Cancel']" # Cancel按钮 # Create FQDNs Group Object 和 Edit CreateFQDNs Group 新增和编辑页 -FQDNs_Group_sub_Object_addButton_posXpath = "//div[@class='fqdn-object-included_sub_object_uuids']" # FQDNs_Group添加sub Object按钮 +FQDNs_Group_sub_Object_addButton_posXpath = "//div[@class='fqdn-object-included_sub_object_uuids']//i[@class='iconfont icon-Create1 font-[700]']" # 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[@class='base-Popper-root MuiMenu-root Mui-expanded MuiMenu-variantOutlined MuiMenu-colorNeutral MuiMenu-sizeMd css-131n2dh']//li[1]" # 新建选择FQDNs按钮 FQDNs_Group_sub_Object_add_new_Select_Group_Button_posXpath = "//ul[@class='base-Popper-root MuiMenu-root Mui-expanded MuiMenu-variantOutlined MuiMenu-colorNeutral MuiMenu-sizeMd css-131n2dh']//li[2]" # 新建选择FQDNs_Group按钮 @@ -807,10 +806,10 @@ listPage_object_Subscriber_IDs_editButton_posXpath = listPage_object_ip_address_ listPage_object_Subscriber_IDs_delButton_posXpath = listPage_object_ip_address_delButton_posXpath # 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 = "(//div[@data-field='reference_count']//span)[2]" # 引用计数 +listPage_object_Subscriber_IDs_reference_count_posXpath = "(//div[@data-field='reference_count']//span)[2]//parent::button" # 引用计数 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]' # 侧滑引用列表第二列 +listPage_object_Subscriber_IDs_first_reference_list_posXpath = "//div[@class='overflow-y-auto h-[100%] pt-0']//table/tbody/tr[1]" # 侧滑引用列表第一列 +listPage_object_Subscriber_IDs_second_reference_list_posXpath = "//div[@class='overflow-y-auto h-[100%] pt-0']//table/tbody/tr[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按钮 @@ -855,7 +854,7 @@ Subscriber_IDs_GroupObjectPage_textArea_Description_posXpath = "//div[@class='Mu 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按钮 +Subscriber_IDsObjectPage_button_cancel_posCss = "//div[@class=' subscriber-id-object-page MuiBox-root css-o7xelj']//button[text()='Cancel']" # Cancel按钮 # Create Subscriber_IDs Group Object 和 Edit CreateSubscriber_IDs Group 新增和编辑页 Subscriber_IDs_Group_sub_Object_include_addButton_posXpath = "//div[@class='subscriber-id-object-included_sub_object_uuids']//i[@class='iconfont icon-Create1 font-[700]']" # Subscriber_IDs_Group添加sub Object按钮 @@ -1056,14 +1055,14 @@ Keywords_GroupObjectPage_textArea_Description_posXpath = "//div[@class='MuiTexta 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按钮 +KeywordsObjectPage_button_cancel_posCss = "//div[@class=' keyword-object-page MuiBox-root css-o7xelj']//button[text()='Cancel']" # 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[2]" # Create Keywords Group Object 和 Edit CreateKeywords Group 新增和编辑页 main_ObjectPage_tips_Name_input_Xpath = "//div[contains(@class,'object-name')]//div[2]" 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]' # 列表引用第二行 +Keywords_list_reference_content_first_raw = "//div[@class='overflow-y-auto h-[100%] pt-0']//table/tbody/tr[1]" # 列表页引用第一行 +Keywords_list_reference_content_second_raw = "//div[@class='overflow-y-auto h-[100%] pt-0']//table/tbody/tr[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='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内容 @@ -1237,7 +1236,7 @@ acc_ObjectDetailPage_item_subAddButton_poId = "//div[@class='account-object-expr 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_itemsText_posXpath = "//div[@data-testid='virtuoso-item-list']//div[@class='leading-[24px]']" # Items 列表下所有Item的文本元素 acc_ObjectDetailPage_description_posXpath = "//div[@class='account-object-description']//textarea[1]" # 对象详情页面下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 @@ -1299,6 +1298,7 @@ acc_ObjectGroupDetailPage_excludeObjects_posXpaths = '//div[@data-desc="exclude # 详情页通用元素 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”按钮 +acc_ObjectDetailPage_cancel_posXpath = "//div[@class='relative w-[100%] h-[100%] pt-[46px] pb-[56px] flex overflow-hidden']//button[text()='Cancel']" # Object Accounts elements area bottom===================Object Accounts elements area bottom===================Object Accounts elements area bottom===================Object Accounts elements area bottom===================Object Accounts elements area bottom=================== # Object Accounts elements area bottom===================Object Accounts elements area bottom===================Object Accounts elements area bottom===================Object Accounts elements area bottom===================Object Accounts elements area bottom=================== |
