1、提交登录限制关键字和用例,2、修改其他公共关键字

This commit is contained in:
lyf
2020-12-15 18:33:01 +08:00
parent b47b910a36
commit da2e33850b
6 changed files with 121 additions and 6 deletions

View File

@@ -231,7 +231,10 @@ VPN-Accounts-Delete
sleep 2
Create-Proxy-TCP-Options
[Arguments] ${name} ${passwd} ${search}
[Arguments] ${name} ${ip-type} ${ip-value} ${ip-type1} ${ip-value1} ${Client-ttl-value} ${Client-User-Timeout} ${Server-ttl-value} ${Server-User-Timeout} ${search}
... ${Filter}=1 ${sni-type}=FQDN ${sni-value}=test-.com ${Enable-TCP-Passthrough}=1 ${Bypass-Duplicated-Packet}=1 ${Client-Override-MSS}=1
... ${Client-MSS-value}=1000 ${Client-No-Delay}=1 ${Client-Keepalive}=1 ${Client-Probe-Number}=1 ${Client-Idle-Time}=30 ${Client-Interval}=15
... ${Server-Override-MSS}=1 ${Server-MSS-value}=100 ${Server-No-Delay}=1 ${Server-Keepalive}=1 ${Server-Probe-Number}=1 ${Server-Idle-Time}=30 ${Server-Interval}=15
Sleep 1
click id=children6 #点击一级目录Settings
Sleep 1
@@ -360,6 +363,8 @@ Create-Proxy-TCP-Options
click id=proxyManipulationSuccess #点击OK
sleep 1
Proxy-TCP-Options-Search ${name} ${search} #搜索刚新建的name
${text1} Get Text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[2]/div/div/p #获取点击后页面文本信息
Should Be Equal As Strings ${text1} ${name} #断言
Source-or-Destination-Search
[Arguments] ${value}
@@ -401,7 +406,8 @@ Proxy-TCP-Options-Search
click xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[3]/div[1]/div/div[1]/span/div/i #点击搜索按钮
sleep 1
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1] #点击搜索到的列表
sleep te-Hijack Files
sleep 1
Create-Hijack Files
[Arguments] ${name} ${file} ${type} ${search} ${shift}=1 ${input1}=1
Sleep 1
click id=children6 #点击一级目录Settings