页面定位发生变化调整UI自动化代码

This commit is contained in:
byb11
2021-06-16 18:44:33 +08:00
parent 3007ccb543
commit 4d89fbf79a
26 changed files with 378 additions and 306 deletions

View File

@@ -35,13 +35,13 @@ TrafficMirrorProfilesEditVlanSearchName
# TrafficMirrorProfilesPagesTurnPage
# [Tags] Positive UI Settings TrafficMirrorProfile
# OpenPages sidebarProxy_Profiles Three-levelMenu=profilesTabs_Profile_TrafficMirrorProfiles
# OpenPages //*[@id="Settings"]/ul/li[1] Three-levelMenu=//*[@id="profilesTabs"]/li[4] xpath
# TurnPage //*[@id="app"]/div/div[3]/div[2]/div/div[2]/div/div/div[5]/div/button[2] //*[@id="app"]/div/div[3]/div[2]/div/div[2]/div/div/div[5]/div/button[1]
# ... //*[@id="app"]/div/div[3]/div[2]/div/div[2]/div/div/div[5]/div/span[2]/div/input 2 //*[@id="app"]/div/div[3]/div[2]/div/div[2]/div[1]/div/div[2]/div/div[3]/table/tbody/tr[1]/td[1]/div/div
TrafficMirrorProfilesPagingDisplay
[Tags] Positive UI Settings TrafficMirrorProfile
OpenPages sidebarProxy_Profiles Three-levelMenu=profilesTabs_Profile_TrafficMirrorProfiles
OpenPages //*[@id="Settings"]/ul/li[1] Three-levelMenu=//*[@id="profilesTabs"]/li[4] xpath
PagingDisplay 50
TrafficMirrorProfilesCreateNameMinSize
@@ -100,7 +100,7 @@ TrafficMirrorProfilesCreateErrorMac
TrafficMirrorProfilesNoInput
[Tags] Negtive UI Settings TrafficMirrorProfile
OpenPages sidebarProxy_Profiles Three-levelMenu=profilesTabs_Profile_TrafficMirrorProfiles
OpenPages //*[@id="Settings"]/ul/li[1] Three-levelMenu=//*[@id="profilesTabs"]/li[4] xpath
sleep ${sleep_min}
click id=trafficMirrorAdd
sleep ${sleep_min}
@@ -115,7 +115,7 @@ TrafficMirrorProfilesNoInput
TrafficMirrorProfilesDeleteReferencedData
[Tags] Negtive UI Settings TrafficMirrorProfile
DeleteReferencedData TrafficMirrorProfile sidebarProxy_Profiles 15 The referenced data are not allowed to delete Three-level menu=profilesTabs_Profile_TrafficMirrorProfiles
DeleteReferencedData TrafficMirrorProfile //*[@id="Settings"]/ul/li[1] 15 The referenced data are not allowed to delete Three-level menu=//*[@id="profilesTabs"]/li[4] xpath