随笔分类 - RF
摘要:通过命令find / -name 命令 查看pybot命令的完整路径,然后建立软连接到/usr/bin路径下即可解决,如下图所示:
阅读全文
摘要:Name:CatenateSource:BuiltIn <test library>Arguments:[ *items ]Catenates the given items together and returns the resulted string. By default, items ar
阅读全文
摘要:Name:List Should Contain ValueSource:Collections <test library>Arguments:[ list_ | value | msg=None ]Fails if the `value` is not found from `list`. If
阅读全文
摘要:Name:List Should Contain ValueSource:Collections <test library>Arguments:[ list_ | value | msg=None ]Fails if the `value` is not found from `list`. If
阅读全文
摘要:${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
阅读全文
摘要:转自:http://blog.chinaunix.net/uid-23500957-id-3781907.html 一、 单文件模块直接把文件拷贝到 $python_dir/Lib二、 多文件模块,带setup.pypython setup.py install三、 egg文件1) 下载ez_set
阅读全文
摘要:场景1:判断类型 r ${d} set variable \xba\xcb\xbc\xf5\xcd\xa8\xb9\xfd #核减通过 Run Keyword And Continue On Failure should be byte string ${d} should be string ${
阅读全文
摘要:Name:Add ElementSource:XML <test library>Arguments:[ source | element | index=None | xpath=. ]Adds a child element to the specified element. The eleme
阅读全文
摘要:Name:Get Element TextSource:XML <test library>Arguments:[ source | xpath=. | normalize_whitespace=False ]Returns all text of the element, possibly whi
阅读全文
摘要:Tag names:当仅使用1个tag的时候,xpath匹配具有该标签名称的所有直接子元素。 Paths:通过/符号连接tag名称,例如second/child将匹配父元素second下所有的child子元素。 请注意,如果有多个父元素都有子元素,则xpath将匹配所有这些子元素。 Wildcard
阅读全文
摘要:Name:Get ElementsSource:XML <test library>Arguments:[ source | xpath ]Returns a list of elements in the `source` matching the `xpath`. The `source` ca
阅读全文
摘要:Name:Get ElementSource:XML <test library>Arguments:[ source | xpath=. ]Returns an element in the `source` matching the `xpath`. The `source` can be a
阅读全文
摘要:Name:Element Attribute Should BeSource:XML <test library>Arguments:[ source | name | expected | xpath=. | message=None ]Verifies that the specified at
阅读全文