【RF库Built-In测试】Catenate】的更多相关文章

一.Python27安装 1.双击安装python-2.7.13-64位.msi 2.检查python:cmd命令行→[python]→回车,出现如图所示,表示成功 可能出现:'python'不是内部命令,解决方法: 在环境变量中新建变量“C:\Pyhton27\”,如图所示 2.1检查pip:cmd命令行→[pip list] 可能出现:'pip'不是内部命令,解决方法: 在环境变量中新建变量“C:\Python27\Scripts”,如图所示 3.双击安装pycharm-community-…
数据库版本: test=# select version(); version ---------------------------------------------------------------------------------------------------------------------- KingbaseES V008R006C005B0041 on x86_64-pc-linux-gnu, compiled by gcc (GCC) 4.1.2 20080704 (…
Name:CatenateSource:BuiltIn <test library>Arguments:[ *items ]Catenates the given items together and returns the resulted string. By default, items are catenated with spaces, but if the first item contains the string 'SEPARATOR=<sep>', the sep…
Name:Get Element TextSource:XML <test library>Arguments:[ source | xpath=. | normalize_whitespace=False ]Returns all text of the element, possibly whitespace normalized. The element whose text to return is specified using `source` and `xpath`. They…
Name:Get ElementsSource:XML <test library>Arguments:[ source | xpath ]Returns a list of elements in the `source` matching the `xpath`. The `source` can be a path to an XML file, a string containing XML, or an already parsed XML element. The `xpath`…
Name:Get ElementSource:XML <test library>Arguments:[ source | xpath=. ]Returns an element in the `source` matching the `xpath`. The `source` can be a path to an XML file, a string containing XML, or an already parsed XML element. The `xpath` specifi…
术语说明: 1.Epoch指的是一个特定的时间:1970-01-01 00:00:00 UTC. 2.国际标准化组织的国际标准ISO 8601是日期和时间的表示方法,格式是 'YYYY-MM-DD hh:mm:ss.mil'. 3.UTC time(称为协调世界时或者世界统一时间):这套时间系统被应用于许多互联网和万维网的标准中,例如,网络时间协议就是协调世界时在互联网中使用的一种方式.在军事中,协调世界时区会使用“Z”来表示.又由于Z在无线电联络中使用“Zulu”作代称,协调世界时也会被称为"…
场景一:msg=None 场景二:自定义msg 场景三:自定义msg和values,且values为布尔类型False或者字符串False和No Values 场景四:自定义msg和values,且values不是布尔类型False或者字符串False和No Values…
Name:List Should Contain ValueSource:Collections <test library>Arguments:[ list_ | value | msg=None ]Fails if the `value` is not found from `list`. If `msg` is not given, the default error message "b | c does not contain the value 'x'" is…
场景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 ${d} Should Be Unicode String ${d} Run Keyword And Continue On Failure Should Not Be String ${d} ${e}…
Name:Add ElementSource:XML <test library>Arguments:[ source | element | index=None | xpath=. ]Adds a child element to the specified element. The element to whom to add the new element is specified using `source` and `xpath`. They have exactly the sa…
Tag names:当仅使用1个tag的时候,xpath匹配具有该标签名称的所有直接子元素. Paths:通过/符号连接tag名称,例如second/child将匹配父元素second下所有的child子元素. 请注意,如果有多个父元素都有子元素,则xpath将匹配所有这些子元素. Wildcards(通配符):通配符*匹配所有元素 Current element:当前元素用一个点(.)表示,通常,当前元素是隐式的,不需要包含在xpath中. Parent element:其他元素的父元素用两个…
Name:Element Attribute Should BeSource:XML <test library>Arguments:[ source | name | expected | xpath=. | message=None ]Verifies that the specified attribute is `expected`. The element whose attribute is verified is specified using `source` and `xpa…
Name:Parse XmlSource:XML <test library>Arguments:[ source | keep_clark_notation=False ]Parses the given XML file or string into an element structure. The `source` can either be a path to an XML file or a string containing XML. In both cases the XML…
文件存放路径:C:\workspace\robotframework\test_rf_api\testdata\XML.xml 文件内容: <example> <first id="1">text</first> <second id="2"> <child/> </second> <third> <child>more text</child> <se…
Name:Sort ListSource:Collections <test library>Arguments:[ list_ ]Sorts the given list in place. The strings are sorted alphabetically and the numbers numerically. Note that the given list is changed and nothing is returned. Use `Copy List` first, i…
Name:Set List ValueSource:Collections <test library>Arguments:[ list_ | index | value ]Sets the value of `list` specified by `index` to the given `value`. Index '0' means the first position, '1' the second and so on. Similarly, '-1' is the last posi…
Name:Reverse ListSource:Collections <test library>Arguments:[ list_ ]Reverses the given list in place. Note that the given list is changed and nothing is returned. Use `Copy List` first, if you need to keep also the original order.…
Name:Remove Values From ListSource:Collections <test library>Arguments:[ list_ | *values ]Removes all occurences of given `values` from `list`. It is not an error is a value does not exist in the list at all.…
Name:Remove From ListSource:Collections <test library>Arguments:[ list_ | index ]Removes and returns the value specified with an `index` from `list`. Index '0' means the first position, '1' the second and so on. Similarly, '-1' is the last position,…
Name:Remove DuplicatesSource:Collections <test library>Arguments:[ list_ ]Returns a list without duplicates based on the given `list`. Creates and returns a new list that contains all items in the given list so that one item can appear only once. Or…
Name:Log DictionarySource:Collections <test library>Arguments:[ dictionary | level=INFO ]Logs the size and contents of the `dictionary` using given `level`. Valid levels are TRACE, DEBUG, INFO (default), and WARN. If you only want to log the size, u…
Name:List Should Not Contain DuplicatesSource:Collections <test library>Arguments:[ list_ | msg=None ]Fails if any element in the `list` is found from it more than once. The default error message lists all the elements that were found from the `list…
Name:Keep In DictionarySource:Collections <test library>Arguments:[ dictionary | *keys ]Keeps the given `keys` in the `dictionary` and removes all other. If the given `key` cannot be found from the `dictionary`, it is ignored.…
Name:Insert Into ListSource:Collections <test library>Arguments:[ list_ | index | value ]Inserts `value` into `list` to the position specified with `index`. Index '0' adds the value into the first position, '1' to the second, and so on. Inserting fr…
Name:Get Index From ListSource:Collections <test library>Arguments:[ list_ | value | start=0 | end=None ]Returns the index of the first occurrence of the `value` on the list. The search can be narrowed to the selected sublist by the `start` and `end…
Name:Get From ListSource:Collections <test library>Arguments:[ list_ | index ]Returns the value specified with an `index` from `list`. The given list is never altered by this keyword. Index '0' means the first position, '1' the second, and so on. Si…
Name:Count Values In ListSource:Collections <test library>Arguments:[ list_ | value | start=0 | end=None ]Returns the number of occurrences of the given `value` in `list`. The search can be narrowed to the selected sublist by the `start` and `end` i…