RF判断列表、字典、整数、字符串类型是否相同方法

 

${d} create list shk shsh
${w} create list
${e} evaluate type(${d})
${t} evaluate type(${w})
should be equal ${e} ${t}
${d} create dictionary 1 shsh
${w} create dictionary
${e} evaluate type(${d})
${t} evaluate type(${w})
should be equal ${e} ${t}
${d} set variable 1
${w} set variable 2
${e} evaluate type(${d})
${t} evaluate type(${w})
should be equal ${e} ${t}
${d} set variable 'ddhs'
${w} set variable 'dd'
${e} evaluate type(${d})
${t} evaluate type(${w})
should be equal ${e} ${t}

RF判断列表、字典、整数、字符串类型是否相同方法

Starting test: ZXJF.清结算 一期.测试.测试
20170714 10:56:53.482 : INFO : ${d} = [u'shk', u'shsh']
20170714 10:56:53.482 : INFO : ${w} = []
20170714 10:56:53.482 : INFO : ${e} = <type 'list'>
20170714 10:56:53.482 : INFO : ${t} = <type 'list'>
20170714 10:56:53.498 : INFO :
Argument types are:
<type 'type'>
<type 'type'>
20170714 10:56:53.498 : INFO : ${d} = {u'': u'shsh'}
20170714 10:56:53.498 : INFO : ${w} = {}
20170714 10:56:53.498 : INFO : ${e} = <type 'dict'>
20170714 10:56:53.498 : INFO : ${t} = <type 'dict'>
20170714 10:56:53.498 : INFO :
Argument types are:
<type 'type'>
<type 'type'>
20170714 10:56:53.498 : INFO : ${d} = 1
20170714 10:56:53.498 : INFO : ${w} = 2
20170714 10:56:53.514 : INFO : ${e} = <type 'int'>
20170714 10:56:53.514 : INFO : ${t} = <type 'int'>
20170714 10:56:53.514 : INFO :
Argument types are:
<type 'type'>
<type 'type'>
20170714 10:56:53.514 : INFO : ${d} = 'ddhs'
20170714 10:56:53.514 : INFO : ${w} = 'dd'
20170714 10:56:53.514 : INFO : ${e} = <type 'str'>
20170714 10:56:53.514 : INFO : ${t} = <type 'str'>
20170714 10:56:53.514 : INFO :
Argument types are:
<type 'type'>
<type 'type'>
Ending test: ZXJF.清结算 一期.测试.测试
上一篇:CCNA配置试验之十 静态NAT和动态NAT的配置


下一篇:Core Data 概述