1.修改Case 2.增加关键字 3.修改登录等待方式
This commit is contained in:
@@ -1294,14 +1294,30 @@ EditDecryptionProfile
|
||||
... AND click id=pro_max0
|
||||
... ELSE log 错误
|
||||
click id=decryption-ok
|
||||
sleep 2
|
||||
Wait Until Element Is Visible id=profilesTabs_Profile_DecryptionProfile 20
|
||||
Settings-Search ${id-name} ${search} #搜索框的关键字
|
||||
${name1} get text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[3]/div/div/div[2]/div/div[3]/table/tbody/tr/td[2]/div/div/span
|
||||
Should Be Equal As Strings ${name1} ${name}
|
||||
sleep 1
|
||||
click xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[3]/div/div/div[2]/div/div[3]/table/tbody/tr/td[2]/div/div/span
|
||||
Delete
|
||||
|
||||
DecryptionProfileButtonVerification
|
||||
[Arguments] ${dict1} ${id-name} ${search} ${xpath1}=//*[@id="policy_Manipulation_create8"]/div[2]/form/div/div/label[contains(text(), "
|
||||
... ${xpath2}=")]/following-sibling::div/div
|
||||
... ${open}=el-switch is-checked
|
||||
click xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[3]/div/div/div[2]/div/div[3]/table/tbody/tr/td[2]/div/div/span
|
||||
sleep 1
|
||||
click id=insertEdit
|
||||
sleep 1
|
||||
${dict} Set Variable ${dict1}
|
||||
FOR ${list} ${key} IN ENUMERATE @{dict}
|
||||
${class}= Get Element Attribute xpath=${xpath1}${key}${xpath2} class
|
||||
sleep 1
|
||||
Should Be Equal As Strings ${class} ${open}
|
||||
END
|
||||
sleep 1
|
||||
click id=decryption-ok
|
||||
Wait Until Element Is Visible id=profilesTabs_Profile_DecryptionProfile 20
|
||||
Settings-Search ${id-name} ${search}
|
||||
|
||||
Delete
|
||||
sleep 2
|
||||
click id=insertDel
|
||||
@@ -1960,13 +1976,3 @@ DeleteReferencedData
|
||||
... AND Delete
|
||||
${text} get text xpath=/html/body/div[last()]/p
|
||||
Should Be Equal As Strings ${text} ${PromptInformation}
|
||||
|
||||
test
|
||||
[Arguments] ${list}
|
||||
Create list ${p}
|
||||
FOR ${i} IN @{list}
|
||||
${p} Set Variable ${i}
|
||||
|
||||
END
|
||||
log many @{p}
|
||||
|
||||
Reference in New Issue
Block a user