diff --git a/01-TestCase/tsg_bfapi/ipandstringtest/ipandstring.robot b/01-TestCase/tsg_bfapi/ipandstringtest/ipandstring.robot new file mode 100644 index 0000000..63c2381 --- /dev/null +++ b/01-TestCase/tsg_bfapi/ipandstringtest/ipandstring.robot @@ -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} \ No newline at end of file