<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[mandy_cheny的博客]]></title><description><![CDATA[]]></description><link>https://blog.youkuaiyun.com/mandy_cheny</link><language>zh-cn</language><generator>https://blog.youkuaiyun.com/</generator><copyright><![CDATA[Copyright &copy; mandy_cheny]]></copyright><item><title><![CDATA[RF中For循环]]></title><link>https://blog.youkuaiyun.com/mandy_cheny/article/details/79278442</link><guid>https://blog.youkuaiyun.com/mandy_cheny/article/details/79278442</guid><author>mandy_cheny</author><pubDate>Wed, 07 Feb 2018 11:49:36 +0800</pubDate><description><![CDATA[]]></description><category></category></item><item><title><![CDATA[RF-测试中常用函数]]></title><link>https://blog.youkuaiyun.com/mandy_cheny/article/details/78863805</link><guid>https://blog.youkuaiyun.com/mandy_cheny/article/details/78863805</guid><author>mandy_cheny</author><pubDate>Thu, 21 Dec 2017 14:54:39 +0800</pubDate><description><![CDATA[#拆分字符串
    Comment    ${str}    Set Variable    'hello,world'
    Comment    ${res}    Evaluate    ${str}.split(',')    #结果["hello","world"]
    #去空格
    Comment    ${res}    Evaluate    ' example  '.]]></description><category></category></item><item><title><![CDATA[RF-取出json字符串中数组中所有Id]]></title><link>https://blog.youkuaiyun.com/mandy_cheny/article/details/78860182</link><guid>https://blog.youkuaiyun.com/mandy_cheny/article/details/78860182</guid><author>mandy_cheny</author><pubDate>Thu, 21 Dec 2017 09:55:59 +0800</pubDate><description><![CDATA[1、取出json字符串中数组中所有Id ${Stus}    Evaluate    {"teacher":"Mr Wang","users":[ {"name": "Tom", "Id": 1}, \ {"name": "Mary", "Id": 2}]}
 ${Records}    Evaluate    [Records['Id'] for Records in ${Stus['users']]></description><category></category></item><item><title><![CDATA[RF-去除数组中重复元素]]></title><link>https://blog.youkuaiyun.com/mandy_cheny/article/details/78860068</link><guid>https://blog.youkuaiyun.com/mandy_cheny/article/details/78860068</guid><author>mandy_cheny</author><pubDate>Thu, 21 Dec 2017 09:48:33 +0800</pubDate><description><![CDATA[1、去除数组中重复元素]]></description><category></category></item><item><title><![CDATA[RF中中文乱码解决方案]]></title><link>https://blog.youkuaiyun.com/mandy_cheny/article/details/72779696</link><guid>https://blog.youkuaiyun.com/mandy_cheny/article/details/72779696</guid><author>mandy_cheny</author><pubDate>Sat, 27 May 2017 11:13:46 +0800</pubDate><description><![CDATA[1、将Python安装目录下的C:\Python27\Lib\site-packages\robot\utils\encodingsniffer.py中编码格式改为cp936



2、将Python安装目录下的C:\Python27\Lib\site-packages\robotide\lib\robot\utils\encodingsniffer.py中编码格式改为cp936

]]></description><category></category></item><item><title><![CDATA[软件测试工程师必备技能之PICT的使用]]></title><link>https://blog.youkuaiyun.com/mandy_cheny/article/details/71439648</link><guid>https://blog.youkuaiyun.com/mandy_cheny/article/details/71439648</guid><author>mandy_cheny</author><pubDate>Tue, 09 May 2017 10:21:13 +0800</pubDate><description><![CDATA[原文：http://jingyan.baidu.com/article/2fb0ba4049ac5400f2ec5fb1.html


PICT工具就是在微软公司出品一款成对组合的命令行生成工具。PICT 可以有效地按照两两测试的原理，进行测试用例设计。在使用PICT时，需要输入与测试用例相关的所有参数，以达到全面覆盖的效果。

我们知道成对组合覆盖这一概念是Mandl于1985年在测试]]></description><category></category></item><item><title><![CDATA[RF中变量转换]]></title><link>https://blog.youkuaiyun.com/mandy_cheny/article/details/70792568</link><guid>https://blog.youkuaiyun.com/mandy_cheny/article/details/70792568</guid><author>mandy_cheny</author><pubDate>Wed, 26 Apr 2017 11:50:47 +0800</pubDate><description><![CDATA[详见原出处http://blog.youkuaiyun.com/tulituqi/article/details/7907981





变量转换
之前提过了Scalar变量用 $ 作为标识符，List型变量用 @ 作为标识符，而且他们是可以进行转换的，理论上可以互相进行转换，但是也有一点限制。
1、List变量转换成Scalar
这种转换的效果是把整个List变成一个Scalar，我觉得]]></description><category></category></item><item><title><![CDATA[RF中变量基础使用]]></title><link>https://blog.youkuaiyun.com/mandy_cheny/article/details/70792341</link><guid>https://blog.youkuaiyun.com/mandy_cheny/article/details/70792341</guid><author>mandy_cheny</author><pubDate>Wed, 26 Apr 2017 11:38:00 +0800</pubDate><description><![CDATA[一、变量的声明


1、变量标识符
   每个变量都可以用变量标识符{变量名}来进行表示，Scalar变量用
 $ 作为标识符，List型变量用 @ 作为标识符，使用$ 的变量，实际上也可以在接收List值后转化成List变量。 
 
 
2、变量声明
   因为RF底层是Python，所以他的语法也有些类似，变量不需要特定声明，只要有初始化赋值即可使用。
 
 
3、变量]]></description><category></category></item><item><title><![CDATA[（RF+RequestLibrary）创建post request实例 Json格式]]></title><link>https://blog.youkuaiyun.com/mandy_cheny/article/details/70682411</link><guid>https://blog.youkuaiyun.com/mandy_cheny/article/details/70682411</guid><author>mandy_cheny</author><pubDate>Tue, 25 Apr 2017 11:06:37 +0800</pubDate><description><![CDATA[一、准备工作
1、安装HTTP library(Request)库

pip install -U requests
pip install -U robotframework-requests
2、在Suite setting中导入库


二、实例
1、向${ip}中的地址创建连接，然后我们在headers中设置了Content-Type=application/json来传输]]></description><category></category></item><item><title><![CDATA[robotframework-ride 运行报monitorcolors not recognized]]></title><link>https://blog.youkuaiyun.com/mandy_cheny/article/details/70676618</link><guid>https://blog.youkuaiyun.com/mandy_cheny/article/details/70676618</guid><author>mandy_cheny</author><pubDate>Tue, 25 Apr 2017 10:30:44 +0800</pubDate><description><![CDATA[转载：http://icestick8586.blog.51cto.com/9867871/1880888


unexpected error: [ ERROR ] option --monitorcolors not recognized


这个报错可能是C:/Python27/Lib/site-packages 文件夹中安装的某些扩展库版本和robotframework版本不匹]]></description><category></category></item></channel></rss>