提取等待时间变量到bifangapivariable.txt中,将Settings和Administeration关键字中等待时间修改为变量

This commit is contained in:
byb11
2021-03-05 17:28:28 +08:00
parent a1871cc2cc
commit b6475a14fc
3 changed files with 1150 additions and 1146 deletions

View File

@@ -13,112 +13,112 @@ AdminOpenPages
... ${SecondaryMenu}:二级菜单 ... ${SecondaryMenu}:二级菜单
... ${Three-levelMenu}:三级菜单 ... ${Three-levelMenu}:三级菜单
... ${Targeting} :三级菜单 定位方式 默认不输入为id ... ${Targeting} :三级菜单 定位方式 默认不输入为id
run keyword if "${Amenu}"=="null" run keywords sleep 1 run keyword if "${Amenu}"=="null" run keywords sleep ${sleep_min}
... AND click element id=children7 ... AND click element id=children7
... ELSE click element id=${Amenu} ... ELSE click element id=${Amenu}
Sleep 1 sleep ${sleep_min}
click element id=${SecondaryMenu} click element id=${SecondaryMenu}
sleep 1 sleep ${sleep_min}
run keyword if "${Targeting}"=="null" run keywords sleep 1 run keyword if "${Targeting}"=="null" run keywords sleep ${sleep_min}
... AND click element id=${Three-levelMenu} ... AND click element id=${Three-levelMenu}
run keyword if "${Targeting}"=="xpath" run keywords sleep 1 run keyword if "${Targeting}"=="xpath" run keywords sleep ${sleep_min}
... AND click element ${Targeting}=${Three-levelMenu} ... AND click element ${Targeting}=${Three-levelMenu}
sleep 1 sleep ${sleep_min}
UserCreatePage UserCreatePage
[Arguments] ${name} ${username} ${accPasswd} ${Required_Password_Change} ${day} ${accEnable} ${role} [Arguments] ${name} ${username} ${accPasswd} ${Required_Password_Change} ${day} ${accEnable} ${role}
Menu administration Accounts Menu administration Accounts
Wait Until Element Is Enabled id=userAdd 10 Wait Until Element Is Enabled id=userAdd 10
Click element id=userAdd Click element id=userAdd
sleep 2 sleep ${sleep}
input text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[2]/form/div[1]/div/div[1]/input ${name} input text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[2]/form/div[1]/div/div[1]/input ${name}
sleep 1 sleep ${sleep_min}
input text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[2]/form/div[2]/div/div[1]/input ${username} input text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[2]/form/div[2]/div/div[1]/input ${username}
sleep 1 sleep ${sleep_min}
input text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[2]/form/div[3]/div/div/input ${accPasswd} input text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[2]/form/div[3]/div/div/input ${accPasswd}
sleep 1 sleep ${sleep_min}
input text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[2]/form/div[4]/div/div/input ${accPasswd} input text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[2]/form/div[4]/div/div/input ${accPasswd}
sleep 1 sleep ${sleep_min}
run keyword if "${accEnable}"=="close" run keywords click element xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[2]/form/div[6]/div/div run keyword if "${accEnable}"=="close" run keywords click element xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[2]/form/div[6]/div/div
... AND sleep 1 ... AND sleep ${sleep_min}
... ELSE log 不操作 ... ELSE log 不操作
sleep 1 sleep ${sleep_min}
run keyword if "${Required_Password_Change}"=="open" Run Keywords click element xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[2]/form/div[5]/div/div run keyword if "${Required_Password_Change}"=="open" Run Keywords click element xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[2]/form/div[5]/div/div
... AND sleep 1 ... AND sleep ${sleep_min}
... AND input text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[2]/form/div[6]/div/div/input ${day} ... AND input text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[2]/form/div[6]/div/div/input ${day}
... ELSE log 不开启密码过期验证 ... ELSE log 不开启密码过期验证
Click element xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[2]/form/div[last()]/div/div/div/span/span/i Click element xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[2]/form/div[last()]/div/div/div/span/span/i
sleep 1 sleep ${sleep_min}
Execute Javascript window.scrollTo(0, document.body.scrollHeight) Execute Javascript window.scrollTo(0, document.body.scrollHeight)
sleep 1 sleep ${sleep_min}
click element //span[.="${role}"] click element //span[.="${role}"]
sleep 1 sleep ${sleep_min}
click button xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[2]/button[1] click button xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[2]/button[1]
Wait Until Element Is Enabled id=profilesTabs_Profile_ResponsePages 20 Wait Until Element Is Enabled id=profilesTabs_Profile_ResponsePages ${sleep_Wait}
UserCreatePageErrorVerification UserCreatePageErrorVerification
[Arguments] ${name} ${username} ${accPasswd} ${Required_Password_Change} ${day} ${accEnable} ${role} [Arguments] ${name} ${username} ${accPasswd} ${Required_Password_Change} ${day} ${accEnable} ${role}
Menu administration Accounts Menu administration Accounts
Wait Until Element Is Enabled id=userAdd 10 Wait Until Element Is Enabled id=userAdd 10
Click element id=userAdd Click element id=userAdd
sleep 2 sleep ${sleep}
input text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[2]/form/div[1]/div/div[1]/input ${name} input text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[2]/form/div[1]/div/div[1]/input ${name}
sleep 1 sleep ${sleep_min}
input text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[2]/form/div[2]/div/div[1]/input ${username} input text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[2]/form/div[2]/div/div[1]/input ${username}
sleep 1 sleep ${sleep_min}
input text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[2]/form/div[3]/div/div/input ${accPasswd} input text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[2]/form/div[3]/div/div/input ${accPasswd}
sleep 1 sleep ${sleep_min}
input text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[2]/form/div[4]/div/div/input ${accPasswd} input text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[2]/form/div[4]/div/div/input ${accPasswd}
sleep 1 sleep ${sleep_min}
run keyword if "${accEnable}"=="close" run keywords click element xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[2]/form/div[6]/div/div run keyword if "${accEnable}"=="close" run keywords click element xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[2]/form/div[6]/div/div
... AND sleep 1 ... AND sleep ${sleep_min}
... ELSE log 不操作 ... ELSE log 不操作
sleep 1 sleep ${sleep_min}
run keyword if "${Required_Password_Change}"=="open" Run Keywords click element xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[2]/form/div[5]/div/div run keyword if "${Required_Password_Change}"=="open" Run Keywords click element xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[2]/form/div[5]/div/div
... AND sleep 1 ... AND sleep ${sleep_min}
... AND input text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[2]/form/div[6]/div/div/input ${day} ... AND input text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[2]/form/div[6]/div/div/input ${day}
... ELSE log 不开启密码过期验证 ... ELSE log 不开启密码过期验证
Click element xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[2]/form/div[last()]/div/div/div/span/span/i Click element xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[2]/form/div[last()]/div/div/div/span/span/i
sleep 1 sleep ${sleep_min}
Execute Javascript window.scrollTo(0, document.body.scrollHeight) Execute Javascript window.scrollTo(0, document.body.scrollHeight)
sleep 1 sleep ${sleep_min}
click element //span[.="${role}"] click element //span[.="${role}"]
sleep 1 sleep ${sleep_min}
click button xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[2]/button[1] click button xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[2]/button[1]
sleep 2 sleep ${sleep}
UserEdit UserEdit
[Arguments] ${password} ${enable} [Arguments] ${password} ${enable}
Sleep 2 sleep ${sleep}
click element id=userEdit click element id=userEdit
Sleep 1 sleep ${sleep_min}
input text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[2]/form/div[3]/div/div/input ${password} input text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[2]/form/div[3]/div/div/input ${password}
sleep 1 sleep ${sleep_min}
input text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[2]/form/div[4]/div/div/input ${password} input text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[2]/form/div[4]/div/div/input ${password}
Sleep 1 sleep ${sleep_min}
run keyword if "${enable}"=="close" run keywords click element xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[2]/form/div[6]/div/div run keyword if "${enable}"=="close" run keywords click element xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[2]/form/div[6]/div/div
... AND sleep 1 ... AND sleep ${sleep_min}
... ELSE log 不操作 ... ELSE log 不操作
sleep 1 sleep ${sleep_min}
click button xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[2]/button[1] click button xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[2]/button[1]
sleep 2 sleep ${sleep}
UserSearchName UserSearchName
[Arguments] ${name} ${type} [Arguments] ${name} ${type}
sleep 1 sleep ${sleep_min}
click element xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[3]/div/div/div[1]/span/div/div/div[2]/div/div/div[1]/input click element xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[3]/div/div/div[1]/span/div/div/div[2]/div/div/div[1]/input
sleep 2 sleep ${sleep}
run keyword if "${type}"=="Name" run keywords click element xpath=/html/body/div/div[1]/div[1]/ul/li[3] run keyword if "${type}"=="Name" run keywords click element xpath=/html/body/div/div[1]/div[1]/ul/li[3]
... AND sleep 1 ... AND sleep ${sleep_min}
run keyword if "${type}"=="UserName" run keywords click element xpath=/html/body/div/div[1]/div[1]/ul/li[2] run keyword if "${type}"=="UserName" run keywords click element xpath=/html/body/div/div[1]/div[1]/ul/li[2]
... AND sleep 1 ... AND sleep ${sleep_min}
sleep 2 sleep ${sleep}
input text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[3]/div/div/div[1]/span/div/div/div[2]/div/div[1]/div[3]/div/input ${name} input text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[3]/div/div/div[1]/span/div/div/div[2]/div/div[1]/div[3]/div/input ${name}
sleep 2 sleep ${sleep}
click element xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[3]/div/div/div[1]/span/div/i click element xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[3]/div/div/div[1]/span/div/i
sleep 2 sleep ${sleep}
click element xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1] click element xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]
sleep 2 sleep ${sleep}
CreateRoles CreateRoles
[Arguments] ${name} ${description} ${list} [Arguments] ${name} ${description} ${list}
@@ -126,44 +126,44 @@ CreateRoles
... ${name}:角色权限名称 ... ${name}:角色权限名称
... ${description}:备注 ... ${description}:备注
... ${list}:权限定位列表 ... ${list}:权限定位列表
sleep 1 sleep ${sleep_min}
Click element id=children7 Click element id=children7
sleep 1 sleep ${sleep_min}
Click element id=sidebarsystem_accounts Click element id=sidebarsystem_accounts
sleep 1 sleep ${sleep_min}
Click element id=profilesTabs_Profile_Insert Click element id=profilesTabs_Profile_Insert
sleep 1 sleep ${sleep_min}
Click element id=app_create Click element id=app_create
sleep 2 sleep ${sleep}
input text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[2]/form/div[1]/div/div[1]/input ${name} input text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[2]/form/div[1]/div/div[1]/input ${name}
input text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[2]/form/div[2]/div/div/input ${description} input text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[2]/form/div[2]/div/div/input ${description}
sleep 1 sleep ${sleep_min}
FOR ${i} IN @{list} FOR ${i} IN @{list}
log ${i} log ${i}
Execute Javascript window.scrollTo(0, document.body.scrollHeight) Execute Javascript window.scrollTo(0, document.body.scrollHeight)
click element xpath=${i} click element xpath=${i}
sleep 1 sleep ${sleep_min}
END END
click element id=rolesOk click element id=rolesOk
sleep 1 sleep ${sleep_min}
EditRoles EditRoles
[Arguments] ${name}=null ${description}=null ${Authority}=null ${Authorityxpath}=null [Arguments] ${name}=null ${description}=null ${Authority}=null ${Authorityxpath}=null
sleep 1 sleep ${sleep_min}
click element id=appEdit click element id=appEdit
Wait Until Element Is Enabled xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[1] 20 Wait Until Element Is Enabled xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[1] ${sleep_Wait}
run keyword if "${name}" != "null" run keywords sleep 1 run keyword if "${name}" != "null" run keywords sleep ${sleep_min}
... AND input text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[2]/form/div[1]/div/div[1]/input ${name} ... AND input text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[2]/form/div[1]/div/div[1]/input ${name}
... ELSE log name不修改 ... ELSE log name不修改
run keyword if "${description}" != "null" run keywords sleep 1 run keyword if "${description}" != "null" run keywords sleep ${sleep_min}
... AND input text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[2]/form/div[2]/div/div/input ${description} ... AND input text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[2]/form/div[2]/div/div/input ${description}
... ELSE log description不修改 ... ELSE log description不修改
run keyword if "${Authority}" != "null" run keywords sleep 1 run keyword if "${Authority}" != "null" run keywords sleep ${sleep_min}
... AND click element xpath=${Authorityxpath} ... AND click element xpath=${Authorityxpath}
... ELSE log 权限不修改 ... ELSE log 权限不修改
sleep 1 sleep ${sleep_min}
click element id=rolesOk click element id=rolesOk
sleep 1 sleep ${sleep_min}
RolesVerification RolesVerification
[Arguments] ${rolexpath} ${role} [Arguments] ${rolexpath} ${role}
@@ -171,37 +171,37 @@ RolesVerification
... ${rolexpath}:权限在侧滑框的定位 ... ${rolexpath}:权限在侧滑框的定位
... ${role} : 权限 Enable、ReadOnly、Disable ... ${role} : 权限 Enable、ReadOnly、Disable
click element xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[3]/div/div/span/span click element xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[3]/div/div/span/span
Wait Until Element Is Enabled xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[3]/div/div/div[5]/div 20 Wait Until Element Is Enabled xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[3]/div/div/div[5]/div ${sleep_Wait}
${text} Get Element Attribute xpath=${rolexpath} class ${text} Get Element Attribute xpath=${rolexpath} class
${role} Set Variable if "${role}" == "Enable" iconfont switch_i icon-Rolesenable ${role} Set Variable if "${role}" == "Enable" iconfont switch_i icon-Rolesenable
... "${role}" == "ReadOnly" iconfont switch_i icon-Rolesreadonly ... "${role}" == "ReadOnly" iconfont switch_i icon-Rolesreadonly
... "${role}" == "Disable" iconfont switch_i icon-Rolesdisable ... "${role}" == "Disable" iconfont switch_i icon-Rolesdisable
sleep 1 sleep ${sleep_min}
click element xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[3]/div/div/div[5]/div/div[2]/div/button click element xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[3]/div/div/div[5]/div/div[2]/div/button
sleep 1 sleep ${sleep_min}
Should Be Equal As Strings ${text} ${role} Should Be Equal As Strings ${text} ${role}
RoleSearch RoleSearch
[Arguments] ${name} [Arguments] ${name}
[Documentation] Roles页面搜索功能 [Documentation] Roles页面搜索功能
... ${name}:搜索条件name ... ${name}:搜索条件name
sleep 1 sleep ${sleep_min}
Click element xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[3]/div/div/div[1]/span/div/div/div[2]/div/div/div[1]/input Click element xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[3]/div/div/div[1]/span/div/div/div[2]/div/div/div[1]/input
sleep 1 sleep ${sleep_min}
Click element xpath=/html/body/div/div[1]/div[1]/ul/li[2] Click element xpath=/html/body/div/div[1]/div[1]/ul/li[2]
sleep 1 sleep ${sleep_min}
input text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[3]/div/div/div[1]/span/div/div/div[2]/div/div[1]/div[3]/div/input ${name} input text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[3]/div/div/div[1]/span/div/div/div[2]/div/div[1]/div[3]/div/input ${name}
sleep 1 sleep ${sleep_min}
Click element xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[3]/div/div/div[1]/span/div/i Click element xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[3]/div/div/div[1]/span/div/i
sleep 2 sleep ${sleep}
RolesDelete RolesDelete
Click element xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1] Click element xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]
sleep 1 sleep ${sleep_min}
Click element id=appDel Click element id=appDel
sleep 1 sleep ${sleep_min}
Click element xpath=/html/body/div/div/div[3]/button[2] Click element xpath=/html/body/div/div/div[3]/button[2]
sleep 1 sleep ${sleep_min}
AuditLogsSearch AuditLogsSearch
[Arguments] ${id} ${TargetType} ${ip}=null [Arguments] ${id} ${TargetType} ${ip}=null
@@ -209,70 +209,70 @@ AuditLogsSearch
... ${id} :操作对象的id ... ${id} :操作对象的id
... ${TargetType}:类型 ... ${TargetType}:类型
... ${ip}:ip不输入默认为测试机IP ... ${ip}:ip不输入默认为测试机IP
sleep 1 sleep ${sleep_min}
click element xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/span/div/div/div[2]/div/div/div/input click element xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/span/div/div/div[2]/div/div/div/input
sleep 2 sleep ${sleep}
click element xpath=/html/body/div/div[1]/div[1]/ul/li[2] click element xpath=/html/body/div/div[1]/div[1]/ul/li[2]
sleep 1 sleep ${sleep_min}
input text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/span/div/div/div[2]/div/div/div[3]/div/input ${id} input text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/span/div/div/div[2]/div/div/div[3]/div/input ${id}
sleep 1 sleep ${sleep_min}
click element xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1] click element xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]
sleep 1 sleep ${sleep_min}
click element xpath=/html/body/div/div[1]/div[1]/ul/li[2] click element xpath=/html/body/div/div[1]/div[1]/ul/li[2]
sleep 2 sleep ${sleep}
run keyword if "${ip}" == "null" run keywords sleep 1 run keyword if "${ip}" == "null" run keywords sleep ${sleep_min}
... AND input text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/span/div/div/div[2]/div/div[2]/div[3]/div/input ${testClentIP} ... AND input text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/span/div/div/div[2]/div/div[2]/div[3]/div/input ${testClentIP}
... ELSE IF "${ip}" != "null" run keywords sleep 1 ... ELSE IF "${ip}" != "null" run keywords sleep ${sleep_min}
... AND input text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/span/div/div/div[2]/div/div[2]/div[3]/div/input ${ip} ... AND input text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/span/div/div/div[2]/div/div[2]/div[3]/div/input ${ip}
sleep 1 sleep ${sleep_min}
click element xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1] click element xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]
sleep 1 sleep ${sleep_min}
click element xpath=/html/body/div/div[1]/div[1]/ul/li[2] click element xpath=/html/body/div/div[1]/div[1]/ul/li[2]
sleep 2 sleep ${sleep}
Execute Javascript window.scrollTo(0, document.body.scrollHeight) Execute Javascript window.scrollTo(0, document.body.scrollHeight)
click element xpath=/html/body/div/div[1]/div[1]/ul/li/span[contains(text(), "${TargetType}")] click element xpath=/html/body/div/div[1]/div[1]/ul/li/span[contains(text(), "${TargetType}")]
sleep 1 sleep ${sleep_min}
click element xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/span/div/i click element xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/span/div/i
sleep 2 sleep ${sleep}
AuditLogsSearch-NotID AuditLogsSearch-NotID
[Arguments] ${TargetType} ${ip}=null [Arguments] ${TargetType} ${ip}=null
[Documentation] [Documentation]
... ${TargetType}:类型 ... ${TargetType}:类型
... ${ip}:ip不输入默认为测试机IP ... ${ip}:ip不输入默认为测试机IP
sleep 1 sleep ${sleep_min}
click element xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/span/div/div/div[2]/div/div/div/input click element xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/span/div/div/div[2]/div/div/div/input
sleep 2 sleep ${sleep}
click element xpath=/html/body/div/div[1]/div[1]/ul/li[3] click element xpath=/html/body/div/div[1]/div[1]/ul/li[3]
sleep 1 sleep ${sleep_min}
run keyword if "${ip}" == "null" run keywords sleep 1 run keyword if "${ip}" == "null" run keywords sleep ${sleep_min}
... AND input text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/span/div/div/div[2]/div/div/div[3]/div/input ${testClentIP} ... AND input text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/span/div/div/div[2]/div/div/div[3]/div/input ${testClentIP}
... ELSE IF "${ip}" != "null" run keywords sleep 1 ... ELSE IF "${ip}" != "null" run keywords sleep ${sleep_min}
... AND input text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/span/div/div/div[2]/div/div/div[3]/div/input ${ip} ... AND input text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/span/div/div/div[2]/div/div/div[3]/div/input ${ip}
sleep 1 sleep ${sleep_min}
click element xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1] click element xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]
sleep 1 sleep ${sleep_min}
click element xpath=/html/body/div/div[1]/div[1]/ul/li[3] click element xpath=/html/body/div/div[1]/div[1]/ul/li[3]
sleep 1 sleep ${sleep_min}
Execute Javascript window.scrollTo(0, document.body.scrollHeight) Execute Javascript window.scrollTo(0, document.body.scrollHeight)
click element xpath=/html/body/div/div[1]/div[1]/ul/li/span[contains(text(), "${TargetType}")] click element xpath=/html/body/div/div[1]/div[1]/ul/li/span[contains(text(), "${TargetType}")]
sleep 1 sleep ${sleep_min}
click element xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/span/div/i click element xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/span/div/i
sleep 2 sleep ${sleep}
LoginLogsSearch LoginLogsSearch
[Arguments] ${Operator} [Arguments] ${Operator}
sleep 2 sleep ${sleep}
click element xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/span/div/div/div[2]/div/div/div/input click element xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/span/div/div/div[2]/div/div/div/input
sleep 1 sleep ${sleep_min}
click element xpath=/html/body/div/div[1]/div[1]/ul/li[2] click element xpath=/html/body/div/div[1]/div[1]/ul/li[2]
sleep 2 sleep ${sleep}
input text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/span/div/div/div[2]/div/div/div[3]/div/div/input ${Operator} input text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/span/div/div/div[2]/div/div/div[3]/div/div/input ${Operator}
sleep 2 sleep ${sleep}
click element xpath=/html/body/div/div/div/ul/li/span[contains(text(), "${Operator}")] click element xpath=/html/body/div/div/div/ul/li/span[contains(text(), "${Operator}")]
sleep 1 sleep ${sleep_min}
click element xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/span/div/i click element xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/span/div/i
sleep 2 sleep ${sleep}
CreateLDAPServer CreateLDAPServer
[Arguments] ${list} ${Enbale}=close ${ADCAuthentication}=close ${NoOKButton}=1 [Arguments] ${list} ${Enbale}=close ${ADCAuthentication}=close ${NoOKButton}=1
@@ -281,99 +281,99 @@ CreateLDAPServer
... ${Password}:密码 ${ConnectionTimeout}:链接超时时间 ${Enbale};是否生效默认为关闭open开启 ${ADCAuthentication}ADC认证默认关闭open开启 ${NoOKButton}=1不点击OK按钮 ... ${Password}:密码 ${ConnectionTimeout}:链接超时时间 ${Enbale};是否生效默认为关闭open开启 ${ADCAuthentication}ADC认证默认关闭open开启 ${NoOKButton}=1不点击OK按钮
AdminOpenPages sidebarsystem_LadpServer sidebarsystem_LadpServer AdminOpenPages sidebarsystem_LadpServer sidebarsystem_LadpServer
click element id=ldapAdd click element id=ldapAdd
sleep 1 sleep ${sleep_min}
input text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[1]/div[2]/form/div[1]/div/div[1]/input ${list}[0] input text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[1]/div[2]/form/div[1]/div/div[1]/input ${list}[0]
sleep 1 sleep ${sleep_min}
input text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[1]/div[2]/form/div[2]/div/div[1]/input ${list}[1] input text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[1]/div[2]/form/div[2]/div/div[1]/input ${list}[1]
sleep 1 sleep ${sleep_min}
input text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[1]/div[2]/form/div[3]/div/div/input ${list}[2] input text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[1]/div[2]/form/div[3]/div/div/input ${list}[2]
sleep 1 sleep ${sleep_min}
input text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[1]/div[2]/form/div[4]/div/div[1]/input ${list}[3] input text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[1]/div[2]/form/div[4]/div/div[1]/input ${list}[3]
sleep 1 sleep ${sleep_min}
input text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[1]/div[2]/form/div[5]/div/div[1]/input ${list}[4] input text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[1]/div[2]/form/div[5]/div/div[1]/input ${list}[4]
sleep 1 sleep ${sleep_min}
input text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[1]/div[2]/form/div[5]/div/div[2]/input ${list}[5] input text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[1]/div[2]/form/div[5]/div/div[2]/input ${list}[5]
sleep 1 sleep ${sleep_min}
input text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[1]/div[2]/form/div[6]/div/div/input ${list}[6] input text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[1]/div[2]/form/div[6]/div/div/input ${list}[6]
sleep 1 sleep ${sleep_min}
input text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[1]/div[2]/form/div[8]/div/div/div/input ${list}[7] input text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[1]/div[2]/form/div[8]/div/div/div/input ${list}[7]
sleep 1 sleep ${sleep_min}
run keyword if "${Enbale}"!= "close" run keywords sleep 1 run keyword if "${Enbale}"!= "close" run keywords sleep ${sleep_min}
... AND click element xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[1]/div[2]/form/div[7]/div/div/span ... AND click element xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[1]/div[2]/form/div[7]/div/div/span
... AND sleep 1 ... AND sleep ${sleep_min}
... ELSE log 不开启Enable按钮 ... ELSE log 不开启Enable按钮
run keyword if "${ADCAuthentication}"!= "close" run keywords sleep 1 run keyword if "${ADCAuthentication}"!= "close" run keywords sleep ${sleep_min}
... AND click element xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[1]/div[2]/form/div[9]/div/div/span ... AND click element xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[1]/div[2]/form/div[9]/div/div/span
... AND sleep 1 ... AND sleep ${sleep_min}
... ELSE log 不开启ADCAuthentication按钮 ... ELSE log 不开启ADCAuthentication按钮
click element id=ldapTestConnection click element id=ldapTestConnection
Wait Until Element Is Enabled xpath=/html/body/div[last()]/p 20 Wait Until Element Is Enabled xpath=/html/body/div[last()]/p ${sleep_Wait}
run keyword if "${NoOKButton}"== "1" run keywords sleep 1 run keyword if "${NoOKButton}"== "1" run keywords sleep ${sleep_min}
... AND click element id=ldapAddSuccess ... AND click element id=ldapAddSuccess
sleep 2 sleep ${sleep}
EditLDAPServer EditLDAPServer
[Arguments] ${list} ${Enbale}=close ${ADCAuthentication}=close [Arguments] ${list} ${Enbale}=close ${ADCAuthentication}=close
[Documentation] [Documentation]
... ${Name}:LDAP服务器名称 ${Host}:主机地址 ${Port}:端口号 ${UserName} :用户名 ${UserMapper-prefix}:用户映射左匹配 ${UserMapper-suffix}:用户映射器右匹配 ... ${Name}:LDAP服务器名称 ${Host}:主机地址 ${Port}:端口号 ${UserName} :用户名 ${UserMapper-prefix}:用户映射左匹配 ${UserMapper-suffix}:用户映射器右匹配
... ${Password}:密码 ${ConnectionTimeout}:链接超时时间 ${Enbale};是否生效默认为关闭open开启 ${ADCAuthentication}ADC认证默认关闭open开启) ... ${Password}:密码 ${ConnectionTimeout}:链接超时时间 ${Enbale};是否生效默认为关闭open开启 ${ADCAuthentication}ADC认证默认关闭open开启)
sleep 2 sleep ${sleep}
click element xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1] click element xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]
sleep 1 sleep ${sleep_min}
click element id=ldapEdit click element id=ldapEdit
sleep 1 sleep ${sleep_min}
input text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[1]/div[2]/form/div[4]/div/div[1]/input ${list}[0] input text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[1]/div[2]/form/div[4]/div/div[1]/input ${list}[0]
sleep 1 sleep ${sleep_min}
input text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[1]/div[2]/form/div[5]/div/div[1]/input ${list}[1] input text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[1]/div[2]/form/div[5]/div/div[1]/input ${list}[1]
sleep 1 sleep ${sleep_min}
input text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[1]/div[2]/form/div[6]/div/div/input ${list}[2] input text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[1]/div[2]/form/div[6]/div/div/input ${list}[2]
sleep 1 sleep ${sleep_min}
input text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[1]/div[2]/form/div[7]/div/div[1]/input ${list}[3] input text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[1]/div[2]/form/div[7]/div/div[1]/input ${list}[3]
sleep 1 sleep ${sleep_min}
input text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[1]/div[2]/form/div[8]/div/div[1]/input ${list}[4] input text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[1]/div[2]/form/div[8]/div/div[1]/input ${list}[4]
sleep 1 sleep ${sleep_min}
input text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[1]/div[2]/form/div[8]/div/div[2]/input ${list}[5] input text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[1]/div[2]/form/div[8]/div/div[2]/input ${list}[5]
sleep 1 sleep ${sleep_min}
input text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[1]/div[2]/form/div[9]/div/div/input ${list}[6] input text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[1]/div[2]/form/div[9]/div/div/input ${list}[6]
sleep 1 sleep ${sleep_min}
input text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[1]/div[2]/form/div[11]/div/div/div/input ${list}[7] input text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[1]/div[2]/form/div[11]/div/div/div/input ${list}[7]
sleep 1 sleep ${sleep_min}
run keyword if "${Enbale}"!= "close" run keywords sleep 1 run keyword if "${Enbale}"!= "close" run keywords sleep ${sleep_min}
... AND click element xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[1]/div[2]/form/div[10]/div/div/span ... AND click element xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[1]/div[2]/form/div[10]/div/div/span
... AND sleep 1 ... AND sleep ${sleep_min}
... ELSE log 不开启Enable按钮 ... ELSE log 不开启Enable按钮
run keyword if "${ADCAuthentication}"!= "close" run keywords sleep 1 run keyword if "${ADCAuthentication}"!= "close" run keywords sleep ${sleep_min}
... AND click element xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[1]/div[2]/form/div[12]/div/div/span ... AND click element xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[1]/div[2]/form/div[12]/div/div/span
... AND sleep 1 ... AND sleep ${sleep_min}
... ELSE log 不开启ADCAuthentication按钮 ... ELSE log 不开启ADCAuthentication按钮
click element id=ldapTestConnection click element id=ldapTestConnection
Wait Until Element Is Enabled xpath=/html/body/div[last()]/p 20 Wait Until Element Is Enabled xpath=/html/body/div[last()]/p ${sleep_Wait}
click element id=ldapAddSuccess click element id=ldapAddSuccess
sleep 2 sleep ${sleep}
DeleteLDAPServer DeleteLDAPServer
sleep 1 sleep ${sleep_min}
click element xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1] click element xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]
sleep 1 sleep ${sleep_min}
click element id=ldapDel click element id=ldapDel
sleep 2 sleep ${sleep}
click element xpath=/html/body/div/div/div[3]/button[2] click element xpath=/html/body/div/div/div[3]/button[2]
Wait Until Element Is Enabled xpath=/html/body/div[last()]/p 20 Wait Until Element Is Enabled xpath=/html/body/div[last()]/p ${sleep_Wait}
LDAPServerSearch LDAPServerSearch
[Arguments] ${value} ${search} [Arguments] ${value} ${search}
Wait Until Element Is Enabled id=ldapAdd 20 Wait Until Element Is Enabled id=ldapAdd ${sleep_Wait}
click element xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/span/div/div/div[2]/div/div/div/input click element xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/span/div/div/div[2]/div/div/div/input
sleep 1 sleep ${sleep_min}
run keyword if "${search}" == "id" run keywords sleep 1 run keyword if "${search}" == "id" run keywords sleep ${sleep_min}
... AND click element xpath=/html/body/div/div[1]/div[1]/ul/li[2] ... AND click element xpath=/html/body/div/div[1]/div[1]/ul/li[2]
run keyword if "${search}" == "name" run keywords sleep 1 run keyword if "${search}" == "name" run keywords sleep ${sleep_min}
... AND click element xpath=/html/body/div/div[1]/div[1]/ul/li[3] ... AND click element xpath=/html/body/div/div[1]/div[1]/ul/li[3]
sleep 1 sleep ${sleep_min}
input text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/span/div/div/div[2]/div/div/div[3]/div/input ${value} input text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/span/div/div/div[2]/div/div/div[3]/div/input ${value}
sleep 2 sleep ${sleep}
click element xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/span/div/i click element xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/span/div/i
sleep 2 sleep ${sleep}
LDAPVerificationADC LDAPVerificationADC
[Arguments] ${name} ${type} [Arguments] ${name} ${type}
@@ -383,115 +383,115 @@ LDAPVerificationADC
AdminOpenPages sidebarsystem_LadpServer sidebarsystem_LadpServer AdminOpenPages sidebarsystem_LadpServer sidebarsystem_LadpServer
LDAPServerSearch ${name} name LDAPServerSearch ${name} name
${text} Get Element Attribute xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[9]/div/div/span/div class ${text} Get Element Attribute xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[9]/div/div/span/div class
sleep 1 sleep ${sleep_min}
run keyword if "${text}" != "el-switch" and "${type}"=="close" run keywords sleep 1 run keyword if "${text}" != "el-switch" and "${type}"=="close" run keywords sleep ${sleep_min}
... AND click element xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[9]/div/div/span/div ... AND click element xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[9]/div/div/span/div
run keyword if "${text}" != "el-switch is-checked" and "${type}"=="open" run keywords sleep 1 run keyword if "${text}" != "el-switch is-checked" and "${type}"=="open" run keywords sleep ${sleep_min}
... AND click element xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[9]/div/div/span/div ... AND click element xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[9]/div/div/span/div
sleep 1 sleep ${sleep_min}
RestrictionsButton RestrictionsButton
[Arguments] ${type} [Arguments] ${type}
sleep 1 sleep ${sleep_min}
${status1} Get Element Attribute xpath=//*[@id="policy_Manipulation2"]/div/div[2]/div/div/form/div[1]/div/div class ${status1} Get Element Attribute xpath=//*[@id="policy_Manipulation2"]/div/div[2]/div/div/form/div[1]/div/div class
${status2} Set Variable If "${status1}"=="el-switch" close open ${status2} Set Variable If "${status1}"=="el-switch" close open
run keyword if "${status2}" != "${type}" run keywords sleep 1 run keyword if "${status2}" != "${type}" run keywords sleep ${sleep_min}
... AND click element xpath=//*[@id="policy_Manipulation2"]/div/div[2]/div/div/form/div[1]/div/div/span ... AND click element xpath=//*[@id="policy_Manipulation2"]/div/div[2]/div/div/form/div[1]/div/div/span
... ELSE log 不需要改变 ... ELSE log 不需要改变
sleep 2 sleep ${sleep}
click element id=wanAdd_ok click element id=wanAdd_ok
sleep 2 sleep ${sleep}
AddAuthorizedSourceIP AddAuthorizedSourceIP
[Arguments] ${IP} [Arguments] ${IP}
[Documentation] 增加IP [Documentation] 增加IP
sleep 1 sleep ${sleep_min}
click element id=temporary_form click element id=temporary_form
sleep 1 sleep ${sleep_min}
input text xpath=//*[@id="policy_Manipulation2"]/div/div[2]/div/div/form/div[2]/div/div[1]/div[2]/div[1]/div/div[last()]/div/div[1]/div[1]/div/div[2]/div/input ${IP} input text xpath=//*[@id="policy_Manipulation2"]/div/div[2]/div/div/form/div[2]/div/div[1]/div[2]/div[1]/div/div[last()]/div/div[1]/div[1]/div/div[2]/div/input ${IP}
sleep 1 sleep ${sleep_min}
click element id=wanAdd_ok click element id=wanAdd_ok
sleep 2 sleep ${sleep}
LoginRestrictions-SearchIP LoginRestrictions-SearchIP
[Arguments] ${IP} [Arguments] ${IP}
sleep 1 sleep ${sleep_min}
input text id=object_ip_search ${IP} input text id=object_ip_search ${IP}
sleep 1 sleep ${sleep_min}
press keys id=object_ip_search ENTER press keys id=object_ip_search ENTER
sleep 1 sleep ${sleep_min}
LoginRestrictions-DeleteIP LoginRestrictions-DeleteIP
sleep 2 sleep ${sleep}
${text} Get Element Attribute xpath=/html/body/div/div/div[3]/div[2]/div/div[1]/div/div[2]/div/div/form/div[2]/div/div[1]/div[2]/div[1]/div/div[last()]/div/div/div[2]/i[2] id ${text} Get Element Attribute xpath=/html/body/div/div/div[3]/div[2]/div/div[1]/div/div[2]/div/div/form/div[2]/div/div[1]/div[2]/div[1]/div/div[last()]/div/div/div[2]/i[2] id
click element id=${text} click element id=${text}
sleep 2 sleep ${sleep}
click element id=wanAdd_ok click element id=wanAdd_ok
sleep 2 sleep ${sleep}
LoginRestrictions-LastIPNumber LoginRestrictions-LastIPNumber
[Documentation] 返回最后一个IP的位数 [Documentation] 返回最后一个IP的位数
${a} Set Variable ${7} ${a} Set Variable ${7}
sleep 1 sleep ${sleep_min}
Execute Javascript window.scrollTo(0, document.body.scrollHeight) Execute Javascript window.scrollTo(0, document.body.scrollHeight)
${text} Get Element Attribute xpath=/html/body/div/div/div[3]/div[2]/div/div[1]/div/div[2]/div/div/form/div[2]/div/div[1]/div[2]/div[1]/div/div[last()]/div/div/div[2]/i[2] id ${text} Get Element Attribute xpath=/html/body/div/div/div[3]/div[2]/div/div[1]/div/div[2]/div/div/form/div[2]/div/div[1]/div[2]/div[1]/div/div[last()]/div/div/div[2]/i[2] id
sleep 1 sleep ${sleep_min}
${Number}= StringSegmentation_2 ${text} ${a} ${Number}= StringSegmentation_2 ${text} ${a}
[Return] ${Number} [Return] ${Number}
EditMaximumLoginAttemepts EditMaximumLoginAttemepts
[Arguments] ${Number} [Arguments] ${Number}
[Documentation] 修改最多错误次数 [Documentation] 修改最多错误次数
sleep 1 sleep ${sleep_min}
input text xpath=//*[@id="policy_Manipulation2"]/div/div[2]/div/div/form/div[3]/div/div[1]/input ${Number} input text xpath=//*[@id="policy_Manipulation2"]/div/div[2]/div/div/form/div[3]/div/div[1]/input ${Number}
sleep 1 sleep ${sleep_min}
click element id=wanAdd_ok click element id=wanAdd_ok
sleep 2 sleep ${sleep}
EditLockTime EditLockTime
[Arguments] ${Time} [Arguments] ${Time}
[Documentation] 修改等待时间 [Documentation] 修改等待时间
sleep 1 sleep ${sleep_min}
input text xpath=//*[@id="policy_Manipulation2"]/div/div[2]/div/div/form/div[4]/div/div[1]/input ${Time} input text xpath=//*[@id="policy_Manipulation2"]/div/div[2]/div/div/form/div[4]/div/div[1]/input ${Time}
sleep 1 sleep ${sleep_min}
click element id=wanAdd_ok click element id=wanAdd_ok
sleep 2 sleep ${sleep}
OpenMyAccountPage OpenMyAccountPage
[Documentation] 打开MyAccount侧滑框 [Documentation] 打开MyAccount侧滑框
sleep 1 sleep ${sleep_min}
Mouse Hover xpath=//*[@id="app"]/div/div[1]/div[2]/div/span/div/span Mouse Hover xpath=//*[@id="app"]/div/div[1]/div[2]/div/span/div/span
Wait Until Element Is Enabled id=editInfo 20 Wait Until Element Is Enabled id=editInfo ${sleep_Wait}
click element id=editInfo click element id=editInfo
sleep 2 sleep ${sleep}
EditMyAccount EditMyAccount
[Arguments] ${name} ${password} ${ConfirmPassword} ${RequiredPasswordChange}=null ${Day}=null [Arguments] ${name} ${password} ${ConfirmPassword} ${RequiredPasswordChange}=null ${Day}=null
[Documentation] [Documentation]
... ...
sleep 1 sleep ${sleep_min}
input text xpath=//*[@id="app"]/div/div[3]/div[1]/div/div/div[1]/div/div/div[1]/div/div/div[1]/div[2]/form/div[1]/div/div[1]/input ${name} input text xpath=//*[@id="app"]/div/div[3]/div[1]/div/div/div[1]/div/div/div[1]/div/div/div[1]/div[2]/form/div[1]/div/div[1]/input ${name}
sleep 1 sleep ${sleep_min}
input text xpath=//*[@id="app"]/div/div[3]/div[1]/div/div/div[1]/div/div/div[1]/div/div/div[1]/div[2]/form/div[3]/div/div/input ${password} input text xpath=//*[@id="app"]/div/div[3]/div[1]/div/div/div[1]/div/div/div[1]/div/div/div[1]/div[2]/form/div[3]/div/div/input ${password}
sleep 1 sleep ${sleep_min}
input text xpath=//*[@id="app"]/div/div[3]/div[1]/div/div/div[1]/div/div/div[1]/div/div/div[1]/div[2]/form/div[4]/div/div/input ${ConfirmPassword} input text xpath=//*[@id="app"]/div/div[3]/div[1]/div/div/div[1]/div/div/div[1]/div/div/div[1]/div[2]/form/div[4]/div/div/input ${ConfirmPassword}
sleep 1 sleep ${sleep_min}
${status} Get Element Attribute xpath=//*[@id="app"]/div/div[3]/div[1]/div/div/div[1]/div/div/div[1]/div/div/div[1]/div[2]/form/div[5]/div/div class ${status} Get Element Attribute xpath=//*[@id="app"]/div/div[3]/div[1]/div/div/div[1]/div/div/div[1]/div/div/div[1]/div[2]/form/div[5]/div/div class
run keyword if "${RequiredPasswordChange}"=="open" and "${status}"=="el-switch" run keywords sleep 1 run keyword if "${RequiredPasswordChange}"=="open" and "${status}"=="el-switch" run keywords sleep ${sleep_min}
... AND click element xpath=//*[@id="app"]/div/div[3]/div[1]/div/div/div[1]/div/div/div[1]/div/div/div[1]/div[2]/form/div[5]/div/div/span ... AND click element xpath=//*[@id="app"]/div/div[3]/div[1]/div/div/div[1]/div/div/div[1]/div/div/div[1]/div[2]/form/div[5]/div/div/span
... AND sleep 1 ... AND sleep ${sleep_min}
... AND input text xpath=//*[@id="app"]/div/div[3]/div[1]/div/div/div[1]/div/div/div[1]/div/div/div[1]/div[2]/form/div[6]/div/div/input ${Day} ... AND input text xpath=//*[@id="app"]/div/div[3]/div[1]/div/div/div[1]/div/div/div[1]/div/div/div[1]/div[2]/form/div[6]/div/div/input ${Day}
run keyword if "${RequiredPasswordChange}"=="close" and "${status}"=="el-switch is-checked" run keywords sleep 1 run keyword if "${RequiredPasswordChange}"=="close" and "${status}"=="el-switch is-checked" run keywords sleep ${sleep_min}
... AND click element xpath=//*[@id="app"]/div/div[3]/div[1]/div/div/div[1]/div/div/div[1]/div/div/div[1]/div[2]/form/div[5]/div/div/span ... AND click element xpath=//*[@id="app"]/div/div[3]/div[1]/div/div/div[1]/div/div/div[1]/div/div/div[1]/div[2]/form/div[5]/div/div/span
... ELSE log 不修改密码提醒按钮 ... ELSE log 不修改密码提醒按钮
sleep 1 sleep ${sleep_min}
click element id=userOk click element id=userOk
sleep 1 sleep ${sleep_min}
LoginRestrictionsObtainSQLIP LoginRestrictionsObtainSQLIP
[Documentation] 获取数据库白名单并返回 [Documentation] 获取数据库白名单并返回
sleep 1 sleep ${sleep_min}
Connect To Database Using Custom Params pymysql ${mysqlHost} Connect To Database Using Custom Params pymysql ${mysqlHost}
${text1} query SELECT login_addr_whitelist FROM login_restrictions_config ${text1} query SELECT login_addr_whitelist FROM login_restrictions_config
${text1} Set Variable ${text1[0][0]} ${text1} Set Variable ${text1[0][0]}
@@ -502,7 +502,7 @@ LoginRestrictionsObtainSQLIP
UpdataLoginRestrictionsSQLIP UpdataLoginRestrictionsSQLIP
[Arguments] ${Whitelist} [Arguments] ${Whitelist}
[Documentation] 恢复白名单数据库 [Documentation] 恢复白名单数据库
sleep 1 sleep ${sleep_min}
Connect To Database Using Custom Params pymysql ${mysqlHost} Connect To Database Using Custom Params pymysql ${mysqlHost}
${return} Execute Sql String UPDATE login_restrictions_config SET login_addr_whitelist='${Whitelist}' WHERE id=1 ${return} Execute Sql String UPDATE login_restrictions_config SET login_addr_whitelist='${Whitelist}' WHERE id=1
Disconnect From Database Disconnect From Database
@@ -513,44 +513,44 @@ EditMailServer
[Documentation] [Documentation]
... ...
AdminOpenPages sidebarsystem_MailServer sidebarsystem_MailServer AdminOpenPages sidebarsystem_MailServer sidebarsystem_MailServer
sleep 1 sleep ${sleep_min}
input text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[1]/div[2]/form/div[1]/div/div/input ${server} input text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[1]/div[2]/form/div[1]/div/div/input ${server}
sleep 1 sleep ${sleep_min}
input text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[1]/div[2]/form/div[2]/div/div/input ${port} input text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[1]/div[2]/form/div[2]/div/div/input ${port}
sleep 1 sleep ${sleep_min}
${status} Get Element Attribute xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[1]/div[2]/form/div[3]/div/div class ${status} Get Element Attribute xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[1]/div[2]/form/div[3]/div/div class
run keyword if "${NeedAuthentication}" == "close" and "${status}" == "el-switch is-checked" run keywords sleep 1 run keyword if "${NeedAuthentication}" == "close" and "${status}" == "el-switch is-checked" run keywords sleep ${sleep_min}
... AND click element xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[1]/div[2]/form/div[3]/div/div/span ... AND click element xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[1]/div[2]/form/div[3]/div/div/span
run keyword if "${NeedAuthentication}" == "open" and "${status}" == "el-switch" run keywords sleep 1 run keyword if "${NeedAuthentication}" == "open" and "${status}" == "el-switch" run keywords sleep ${sleep_min}
... AND click element xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[1]/div[2]/form/div[3]/div/div/span ... AND click element xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[1]/div[2]/form/div[3]/div/div/span
sleep 1 sleep ${sleep_min}
input text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[1]/div[2]/form/div[4]/div/div/div[1]/input ${name} input text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[1]/div[2]/form/div[4]/div/div/div[1]/input ${name}
sleep 1 sleep ${sleep_min}
input text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[1]/div[2]/form/div[5]/div/div/input ${e-mail} input text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[1]/div[2]/form/div[5]/div/div/input ${e-mail}
sleep 1 sleep ${sleep_min}
input text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[1]/div[2]/form/div[6]/div/div/input ${password} input text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[1]/div[2]/form/div[6]/div/div/input ${password}
sleep 1 sleep ${sleep_min}
${SSLstatus} Get Element Attribute xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[1]/div[2]/form/div[7]/div/div class ${SSLstatus} Get Element Attribute xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[1]/div[2]/form/div[7]/div/div class
run keyword if "${SSL}" == "close" and "${SSLstatus}" == "el-switch is-checked" run keywords sleep 1 run keyword if "${SSL}" == "close" and "${SSLstatus}" == "el-switch is-checked" run keywords sleep ${sleep_min}
... AND click element xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[1]/div[2]/form/div[7]/div/div/span ... AND click element xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[1]/div[2]/form/div[7]/div/div/span
run keyword if "${SSL}" == "open" and "${SSLstatus}" == "el-switch" run keywords sleep 1 run keyword if "${SSL}" == "open" and "${SSLstatus}" == "el-switch" run keywords sleep ${sleep_min}
... AND click element xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[1]/div[2]/form/div[7]/div/div/span ... AND click element xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[1]/div[2]/form/div[7]/div/div/span
sleep 1 sleep ${sleep_min}
click element id=mailServerOk click element id=mailServerOk
sleep 1 sleep ${sleep_min}
Login Login
[Arguments] ${UserName} ${Password} [Arguments] ${UserName} ${Password}
Mouse Hover xpath=//*[@id="app"]/div/div[1]/div[2]/div/span/div/span Mouse Hover xpath=//*[@id="app"]/div/div[1]/div[2]/div/span/div/span
sleep 1 sleep ${sleep_min}
click element xpath=//div[@class='SignOut'] click element xpath=//div[@class='SignOut']
sleep 2 sleep ${sleep}
input text xpath=//*[@id="app"]/div/div[2]/div/div[2]/div/input ${UserName} input text xpath=//*[@id="app"]/div/div[2]/div/div[2]/div/input ${UserName}
sleep 1 sleep ${sleep_min}
input text xpath=//*[@id="app"]/div/div[2]/div/div[3]/div/input ${Password} input text xpath=//*[@id="app"]/div/div[2]/div/div[3]/div/input ${Password}
sleep 1 sleep ${sleep_min}
click element xpath=/html/body/div/div/div[2]/div/div[4]/button click element xpath=/html/body/div/div/div[2]/div/div[4]/button
sleep 2 sleep ${sleep}
AdminTurnPage AdminTurnPage
[Arguments] ${NextPage} ${PreviousPage} ${JumpInput} ${pages} ${AssertXpath} ${last}=null ${lastxpath}=null [Arguments] ${NextPage} ${PreviousPage} ${JumpInput} ${pages} ${AssertXpath} ${last}=null ${lastxpath}=null
@@ -563,22 +563,22 @@ AdminTurnPage
... ${lastxpath} 当最后一页定位和其他页面不同时传入最后一页的xpath 定位 ... ${lastxpath} 当最后一页定位和其他页面不同时传入最后一页的xpath 定位
${text1} get text xpath=${AssertXpath} ${text1} get text xpath=${AssertXpath}
Click element xpath=${NextPage} Click element xpath=${NextPage}
sleep 2 sleep ${sleep}
${text2} get text xpath=${AssertXpath} ${text2} get text xpath=${AssertXpath}
Click element xpath=${PreviousPage} Click element xpath=${PreviousPage}
sleep 2 sleep ${sleep}
${text3} get text xpath=${AssertXpath} ${text3} get text xpath=${AssertXpath}
Clear Element Text xpath=${JumpInput} Clear Element Text xpath=${JumpInput}
sleep 2 sleep ${sleep}
input text xpath=${JumpInput} ${pages} input text xpath=${JumpInput} ${pages}
sleep 2 sleep ${sleep}
press keys xpath=${JumpInput} ENTER press keys xpath=${JumpInput} ENTER
sleep 2 sleep ${sleep}
${text4} get text xpath=${AssertXpath} ${text4} get text xpath=${AssertXpath}
run keyword if "${last}"=="null" run keywords sleep 1 run keyword if "${last}"=="null" run keywords sleep ${sleep_min}
... AND Click element xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[3]/div/div/div[last()]/div/ul/li[last()] ... AND Click element xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[3]/div/div/div[last()]/div/ul/li[last()]
... ELSE Click element xpath=${lastxpath} ... ELSE Click element xpath=${lastxpath}
sleep 2 sleep ${sleep}
${text5} get text xpath=${AssertXpath} ${text5} get text xpath=${AssertXpath}
Should Not Be Equal ${text1} ${text2} Should Not Be Equal ${text1} ${text2}
Should Not Be Equal ${text3} ${text2} Should Not Be Equal ${text3} ${text2}
@@ -592,29 +592,29 @@ AdministrationPagingDisplay
... ${last} 次关键字 当最后一页定位和其他页面不同时传入非null的值 ... ${last} 次关键字 当最后一页定位和其他页面不同时传入非null的值
... ${lastxpath} 当最后一页定位和其他页面不同时传入最后一页的xpath 定位 ... ${lastxpath} 当最后一页定位和其他页面不同时传入最后一页的xpath 定位
Mouse Over xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[3]/div/div/div/span/span/div/i Mouse Over xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[3]/div/div/div/span/span/div/i
sleep 1 sleep ${sleep_min}
run keyword if "${Number}"=="30" run keywords sleep 1 run keyword if "${Number}"=="30" run keywords sleep ${sleep_min}
... AND Click element xpath=//*[@id="page-size"]/div/label[2] ... AND Click element xpath=//*[@id="page-size"]/div/label[2]
... ELSE IF "${Number}"=="50" run keywords sleep 1 ... ELSE IF "${Number}"=="50" run keywords sleep ${sleep_min}
... AND Click element xpath=//*[@id="page-size"]/div/label[3] ... AND Click element xpath=//*[@id="page-size"]/div/label[3]
... ELSE IF "${Number}"=="100" run keywords sleep 1 ... ELSE IF "${Number}"=="100" run keywords sleep ${sleep_min}
... AND Click element xpath=//*[@id="page-size"]/div/label[4] ... AND Click element xpath=//*[@id="page-size"]/div/label[4]
... ELSE Clear Element Text xpath=/html/body/div[last()]/div[1]/div[2]/input ... ELSE Clear Element Text xpath=/html/body/div[last()]/div[1]/div[2]/input
... AND Input Text xpath=/html/body/div[last()]/div[1]/div[2]/input ${Number} ... AND Input Text xpath=/html/body/div[last()]/div[1]/div[2]/input ${Number}
sleep 1 sleep ${sleep_min}
Click element xpath=/html/body/div[last()]/div[1]/div[2]/button Click element xpath=/html/body/div[last()]/div[1]/div[2]/button
sleep 2 sleep ${sleep}
${text} Get text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[3]/div/div/div[4]/div/span[1] ${text} Get text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[3]/div/div/div[4]/div/span[1]
sleep 1 sleep ${sleep_min}
${Quantity} StringSegmentation ${text} ${Quantity} StringSegmentation ${text}
sleep 1 sleep ${sleep_min}
${quyu} Evaluate ${Quantity}%${Number} ${quyu} Evaluate ${Quantity}%${Number}
${qumo} Evaluate ${Quantity}/${Number} ${qumo} Evaluate ${Quantity}/${Number}
${quzheng} Evaluate int(${qumo}) ${quzheng} Evaluate int(${qumo})
${b} Set Variable ${1} ${b} Set Variable ${1}
${Page1} Evaluate ${quzheng}+${b} ${Page1} Evaluate ${quzheng}+${b}
${Page} Set Variable if "${quyu}" != "0" ${Page1} ${quzheng} ${Page} Set Variable if "${quyu}" != "0" ${Page1} ${quzheng}
sleep 1 sleep ${sleep_min}
${text} Get text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[3]/div/div/div/div/ul/li[last()] ${text} Get text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[3]/div/div/div/div/ul/li[last()]
Should Be Equal As Strings ${text} ${Page} Should Be Equal As Strings ${text} ${Page}
@@ -623,29 +623,29 @@ AuditLogs-PagingDisplay
[Documentation] [Documentation]
... ${Number}: 设置页面显示数据条数 20、5、30、50、100 ... ${Number}: 设置页面显示数据条数 20、5、30、50、100
Mouse Over xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div/span/span/div/i Mouse Over xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div/span/span/div/i
sleep 1 sleep ${sleep_min}
run keyword if "${Number}"=="30" run keywords sleep 1 run keyword if "${Number}"=="30" run keywords sleep ${sleep_min}
... AND Click element xpath=//*[@id="page-size"]/div/label[2] ... AND Click element xpath=//*[@id="page-size"]/div/label[2]
... ELSE IF "${Number}"=="50" run keywords sleep 1 ... ELSE IF "${Number}"=="50" run keywords sleep ${sleep_min}
... AND Click element xpath=//*[@id="page-size"]/div/label[3] ... AND Click element xpath=//*[@id="page-size"]/div/label[3]
... ELSE IF "${Number}"=="100" run keywords sleep 1 ... ELSE IF "${Number}"=="100" run keywords sleep ${sleep_min}
... AND Click element xpath=//*[@id="page-size"]/div/label[4] ... AND Click element xpath=//*[@id="page-size"]/div/label[4]
... ELSE Clear Element Text xpath=/html/body/div[last()]/div[1]/div[2]/input ... ELSE Clear Element Text xpath=/html/body/div[last()]/div[1]/div[2]/input
... AND Input Text xpath=/html/body/div[last()]/div[1]/div[2]/input ${Number} ... AND Input Text xpath=/html/body/div[last()]/div[1]/div[2]/input ${Number}
sleep 1 sleep ${sleep_min}
Click element xpath=/html/body/div[last()]/div[1]/div[2]/button Click element xpath=/html/body/div[last()]/div[1]/div[2]/button
sleep 2 sleep ${sleep}
${text} Get text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[4]/div/span[1] ${text} Get text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[4]/div/span[1]
sleep 1 sleep ${sleep_min}
${Quantity} StringSegmentation ${text} ${Quantity} StringSegmentation ${text}
sleep 1 sleep ${sleep_min}
${quyu} Evaluate ${Quantity}%${Number} ${quyu} Evaluate ${Quantity}%${Number}
${qumo} Evaluate ${Quantity}/${Number} ${qumo} Evaluate ${Quantity}/${Number}
${quzheng} Evaluate int(${qumo}) ${quzheng} Evaluate int(${qumo})
${b} Set Variable ${1} ${b} Set Variable ${1}
${Page1} Evaluate ${quzheng}+${b} ${Page1} Evaluate ${quzheng}+${b}
${Page} Set Variable if "${quyu}" != "0" ${Page1} ${quzheng} ${Page} Set Variable if "${quyu}" != "0" ${Page1} ${quzheng}
sleep 1 sleep ${sleep_min}
${text} Get text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[4]/div/ul/li[last()] ${text} Get text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[4]/div/ul/li[last()]
Should Be Equal As Strings ${text} ${Page} Should Be Equal As Strings ${text} ${Page}

File diff suppressed because it is too large Load Diff

View File

@@ -4,19 +4,19 @@ ${loginType} ui
#执行环境是否Widonws #执行环境是否Widonws
${systemType} api ${systemType} api
#API配置信息 #API配置信息
${host} 192.168.44.72 ${host} 192.168.44.71
${port} 8080 ${port} 8080
${authmode} 1 ${authmode} 1
${authCode} ${EMPTY} ${authCode} ${EMPTY}
${ldapId} 27 ${ldapId} 27
${version} v1 ${version} v1
${version2} v2 ${version2} v2
${username} lyf ${username} byb
${password} 1 ${password} 111111
${encodePassword} ${EMPTY} ${encodePassword} ${EMPTY}
${token} ${EMPTY} ${token} ${EMPTY}
#[Documentation] 测试终端IP统一配置 #[Documentation] 测试终端IP统一配置
${testClentIP} 192.168.50.57 ${testClentIP} 192.168.32.32
${testSubscriberID} $test57 ${testSubscriberID} $test57
#自动化标签 #自动化标签
${userTagIds} ${EMPTY} ${userTagIds} ${EMPTY}
@@ -29,7 +29,7 @@ ${addTsgUIAPIFlag} 1
${policyVerificationSleepSeconds} 20 ${policyVerificationSleepSeconds} 20
#策略验证后到验证策略日志需等待时间 #策略验证后到验证策略日志需等待时间
${policyLogVerificationSleepSeconds} 60 ${policyLogVerificationSleepSeconds} 60
${path} F:/tsg-git/tsg_autotest/05-Other/ ${path} C:/Users/byb11/git/tsg_autotest/05-Other/
${Downloadpath} C:/Users/byb11/Downloads/ ${Downloadpath} C:/Users/byb11/Downloads/
${curlbatpath} ${path}/curl/ ${curlbatpath} ${path}/curl/
${mailpath} ${path}/mail/ ${mailpath} ${path}/mail/
@@ -67,6 +67,9 @@ ${oamPort} 50080
${contrast} 0.1 ${contrast} 0.1
${editpasswd} no #设置密码过期时是否需要修改密码no为不修改yes为修改 ${editpasswd} no #设置密码过期时是否需要修改密码no为不修改yes为修改
# Mysql数据库连接信息 # Mysql数据库连接信息
${mysqlHost} host='192.168.44.72',port=3306,user='root',passwd='bifang!@#',database='tsg-bifang' ${mysqlHost} host='192.168.44.71',port=3306,user='root',passwd='bifang!@#',database='tsg-bifang'
#休息时间 #休息时间
${sleep} 3 ${sleep_min} 1
${sleep} 2
# 隐式等待时间
${sleep_Wait} 20