1. 修改关键字 2.新建DecryptionKeyingsCase代替Decryption_Keyings_Case
This commit is contained in:
@@ -758,7 +758,7 @@ importTrustedCertificateAuthoritiesErrorVerification
|
||||
${text} Get text xpath=/html/body/div[last()]/p
|
||||
Should Be Equal As Strings ${text} ${PromptInformation} #断言
|
||||
|
||||
Create-Decryption Keyrings
|
||||
CreateDecryptionKeyrings
|
||||
[Arguments] ${name} ${file} ${file1} ${1or2} ${type} ${type1} ${search}
|
||||
... ${shift}=close
|
||||
[Documentation] 引用次关键字,填入必填参数
|
||||
@@ -875,7 +875,7 @@ EditTrustedCertificateAuthorities
|
||||
click id=authoritiesAdd_sub #点击ok
|
||||
sleep 1
|
||||
|
||||
Edit-Decryption Keyrings
|
||||
EditDecryptionKeyrings
|
||||
[Arguments] ${id-name} ${name} ${file} ${file1} ${1or2}
|
||||
... ${type} ${type1} ${search}
|
||||
[Documentation] 引用次关键字,填入必填参数
|
||||
@@ -922,7 +922,8 @@ Edit-Decryption Keyrings
|
||||
Sleep 2
|
||||
run keyword if "${search}"=="id" run keywords sleep 1
|
||||
... AND Settings-Search ${id-name} ${search}
|
||||
... ELSE IF Settings-Search ${name} ${search}
|
||||
... ELSE IF "${search}"=="name" run keywords sleep 1
|
||||
... AND Settings-Search ${name} ${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