修改策略关键字
This commit is contained in:
@@ -1280,16 +1280,19 @@ Create-MirrorDecryptedTraffic
|
|||||||
[Documentation] 引用次关键字,填入必填参数
|
[Documentation] 引用次关键字,填入必填参数
|
||||||
... 必填参数:
|
... 必填参数:
|
||||||
... ${MirrorDecryptedTrafficname}:解密流量文件的name
|
... ${MirrorDecryptedTrafficname}:解密流量文件的name
|
||||||
... ${Type}:是mac还是vlan的定位元素
|
... ${Type}:是mac还是vlan
|
||||||
... ${Shuru}:输入mac或vlan的值
|
... ${Shuru}:输入mac或vlan的值
|
||||||
sleep ${sleep}
|
sleep ${sleep}
|
||||||
input id=trafficmirror_profileName ${MirrorDecryptedTrafficname} #输入name
|
input text id=trafficmirror_profileName ${MirrorDecryptedTrafficname} #输入name
|
||||||
sleep ${sleep}
|
sleep ${sleep}
|
||||||
click id=addrTypeChoose #点击下拉框
|
click element id=addrTypeChoose #点击下拉框
|
||||||
sleep ${sleep}
|
sleep ${sleep}
|
||||||
click ${Type} #选择vlan或者mac
|
run keyword if "${Type}"=="vlan" run keywords sleep ${sleep}
|
||||||
|
... AND click element xpath=/html/body/div/div[1]/div[1]/ul/li[1]
|
||||||
|
run keyword if "${Type}"=="mac" run keywords sleep ${sleep}
|
||||||
|
... AND click element xpath=/html/body/div/div[1]/div[1]/ul/li[2]
|
||||||
sleep ${sleep}
|
sleep ${sleep}
|
||||||
input id=trafficmirror_addrArray0 ${Shuru}
|
input text id=trafficmirror_addrArray0 ${Shuru}
|
||||||
sleep ${sleep}
|
sleep ${sleep}
|
||||||
click xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[2]/button[1] #点击OK
|
click xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[2]/button[1] #点击OK
|
||||||
DecryptionProfile-SearchorCreate
|
DecryptionProfile-SearchorCreate
|
||||||
|
|||||||
Reference in New Issue
Block a user