1. 修改关键字 2.新建SSLDecryptionExclusionCase代替SSL_Decryption_Exclusion_Case
This commit is contained in:
@@ -139,24 +139,26 @@ SNATIPRangeSearch
|
||||
[Arguments] ${j} ${ip}
|
||||
#for循环添加ip
|
||||
sleep 1
|
||||
: FOR ${i} IN RANGE 1 ${j}
|
||||
\ sleep 1
|
||||
\ Clear Element Text id=insert_profileName #清空输入框
|
||||
\ sleep 1
|
||||
\ input xpath=xpath=//*[@id="remoteInput"]/div/div/input ${ip}[${i}] #搜索输入框输入
|
||||
\ sleep 1
|
||||
\ click xpath=//*[@id="wannat_vpn_color"]/div[1]/div/div/div/div[2]/div[3]/div/div/div[3]/table/tbody/tr/td[1]/div/span/div #点击搜索到的ip添加
|
||||
\ sleep 1
|
||||
FOR ${i} IN RANGE 1 ${j}
|
||||
sleep 1
|
||||
Clear Element Text id=insert_profileName #清空输入框
|
||||
sleep 1
|
||||
input xpath=xpath=//*[@id="remoteInput"]/div/div/input ${ip}[${i}] #搜索输入框输入
|
||||
sleep 1
|
||||
click xpath=//*[@id="wannat_vpn_color"]/div[1]/div/div/div/div[2]/div[3]/div/div/div[3]/table/tbody/tr/td[1]/div/span/div #点击搜索到的ip添加
|
||||
sleep 1
|
||||
END
|
||||
SNATIPRangeCreate
|
||||
[Arguments] ${j} ${ip}
|
||||
#for循环添加ip
|
||||
sleep 1
|
||||
: FOR ${i} IN RANGE 0 ${j}
|
||||
\ sleep 1
|
||||
\ click id=temporary_form
|
||||
\ sleep 2
|
||||
\ input id=statusInputedit ${ip}[${i}]
|
||||
\ sleep 1
|
||||
FOR ${i} IN RANGE 0 ${j}
|
||||
sleep 1
|
||||
click id=temporary_form
|
||||
sleep 2
|
||||
input id=statusInputedit ${ip}[${i}]
|
||||
sleep 1
|
||||
END
|
||||
|
||||
SNATIPSearch
|
||||
[Arguments] ${value} ${search}
|
||||
@@ -809,7 +811,7 @@ CreateDecryptionKeyrings
|
||||
${text1} Get Text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[2]/div/div/div/p/span #获取点击后页面文本信息
|
||||
Should Be Equal As Strings ${text1} ${name} #断言
|
||||
|
||||
Create-SSL Decryption Exclusion
|
||||
CreateSSLDecryptionExclusion
|
||||
[Arguments] ${name} ${value} ${name1} ${search}
|
||||
[Documentation] 引用次关键字,填入必填参数
|
||||
... 必填参数:
|
||||
@@ -928,7 +930,7 @@ EditDecryptionKeyrings
|
||||
${text1} Get Text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[2]/div/div/div/p/span #获取点击后页面文本信息
|
||||
Should Be Equal As Strings ${text1} ${name} #断言
|
||||
|
||||
Edit-SSL Decryption Exclusion
|
||||
EditSSLDecryptionExclusion
|
||||
[Arguments] ${id-name} ${name} ${value1} ${name1} ${search}
|
||||
[Documentation] 引用关键字,填入必填参数
|
||||
... ${search}:id或者name的元素
|
||||
@@ -954,7 +956,10 @@ Edit-SSL Decryption Exclusion
|
||||
sleep 1
|
||||
click id=ssl_ok #点击OK缇交
|
||||
Sleep 2
|
||||
Settings-Search ${id-name} ${search}
|
||||
run keyword if "${search}"=="id" run keywords sleep 1
|
||||
... AND Settings-Search ${id-name} ${search}
|
||||
... ELSE IF "${search}"=="name" run keywords sleep 1
|
||||
... AND Settings-Search ${name1} ${search}
|
||||
Sleep 1
|
||||
${text1} Get Text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[2]/div/div/div/p/span #获取点击后页面文本信息
|
||||
Should Be Equal As Strings ${text1} ${name} #断言
|
||||
|
||||
Reference in New Issue
Block a user