From 48e1ec7413ff840839cb8d7822c33d8e6ceaddc4 Mon Sep 17 00:00:00 2001 From: byb11 Date: Mon, 1 Feb 2021 19:20:47 +0800 Subject: [PATCH] =?UTF-8?q?1.=20=20=E4=BF=AE=E6=94=B9=E5=AE=B9=E9=87=8F?= =?UTF-8?q?=E7=BB=9F=E8=AE=A1=E5=85=B3=E9=94=AE=E5=AD=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 02-Keyword/tsg_ui/setting/Settings.robot | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/02-Keyword/tsg_ui/setting/Settings.robot b/02-Keyword/tsg_ui/setting/Settings.robot index b3f50c2..80669aa 100644 --- a/02-Keyword/tsg_ui/setting/Settings.robot +++ b/02-Keyword/tsg_ui/setting/Settings.robot @@ -1986,10 +1986,10 @@ SystemUsageChart ... "${type}"=="URLs_Items" or "${type}"=="URLs_Objects" //*[@id="settings_storage"]/div[1]/div[2]/div[2]/div/div/div[2]/div[6] ... "${type}"=="IPAddresses_IPV4_Items" or "${type}"=="IPAddresses_IPV6_Items" or "${type}"=="IPAddresses_IP_Objects" or "${type}"=="IPAddresses_Geography_Items" or "${type}"=="IPAddresses_Geography_Objects" or "${type}"=="IPAddresses_IPLearning_Items(IPv4)" or "${type}"=="IPAddresses_IPLearning_Objects" //*[@id="settings_storage"]/div[1]/div[2]/div[2]/div/div/div[2]/div[7] ... "${type}"=="Applications_Items" or "${type}"=="Applications_Objects" or "${type}"=="Applications_Groups_Objects" or "${type}"=="Applications_Groups_Items" or "${type}"=="Applications_Selectors_Objects" or "${type}"=="Applications_Selectors_Items" //*[@id="settings_storage"]/div[1]/div[2]/div[2]/div/div/div[2]/div[8] - Wait Until Element Is Enabled /html/body/div[last()]/div[1]/div/div/div[2]/table/tbody/tr[1]/td[2]/div/span 10 + sleep 1 ${ChartValueXpath}= SystemUsageGetText ${type} Mouse Over xpath=${ChartSuspension} - sleep 1 + Wait Until Element Is Visible xpath=/html/body/div[last()]/div[1]/div/div/div[2]/table/tbody/tr[1]/td[2]/div/span 10 ${text1} get text xpath=${ChartValueXpath} #获取图表上的值 [Return] ${text1} @@ -2007,10 +2007,10 @@ SystemUsageText ... "${type}"=="URLs_Items" or "${type}"=="URLs_Objects" //*[@id="settings_storage"]/div[1]/div[2]/div[2]/div/div/div[3]/div[6] ... "${type}"=="IPAddresses_IPV4_Items" or "${type}"=="IPAddresses_IPV6_Items" or "${type}"=="IPAddresses_IP_Objects" or "${type}"=="IPAddresses_Geography_Items" or "${type}"=="IPAddresses_Geography_Objects" or "${type}"=="IPAddresses_IPLearning_Items(IPv4)" or "${type}"=="IPAddresses_IPLearning_Objects" //*[@id="settings_storage"]/div[1]/div[2]/div[2]/div/div/div[3]/div[7] ... "${type}"=="Applications_Items" or "${type}"=="Applications_Objects" or "${type}"=="Applications_Groups_Objects" or "${type}"=="Applications_Groups_Items" or "${type}"=="Applications_Selectors_Objects" or "${type}"=="Applications_Selectors_Items" //*[@id="settings_storage"]/div[1]/div[2]/div[2]/div/div/div[3]/div[8] - Wait Until Element Is Enabled /html/body/div[last()]/div[1]/div/div/div[2]/table/tbody/tr[1]/td[2]/div/spa 10 + sleep 1 ${TextValueXpath}= SystemUsageGetText ${type} Mouse Over xpath=${TextSuspension} - sleep 2 + Wait Until Element Is Visible xpath=/html/body/div[last()]/div[1]/div/div/div[2]/table/tbody/tr[1]/td[2]/div/span 10 ${text2} get text xpath=${TextValueXpath} [Return] ${text2}