ipandstring测试case

This commit is contained in:
gaochengrui
2020-07-24 11:07:58 +08:00
parent 96a941fcc0
commit b22bd2e54c

View File

@@ -0,0 +1,14 @@
*** Settings ***
Library ipandstring
*** Test Cases ***
Step1: test_sum_2
# iPv4 需要三个参数 分别表ip的前三位 -1代表不指定
${ret} ipv4 -1 -1 -1
Log To Console ${ret}
${sds} ipv6
Log To Console ${sds}
#参数代表生成多长字符串
${asa} getstring 4
Log To Console ${asa}