06 2017 档案

摘要:Name:Add ElementSource:XML <test library>Arguments:[ source | element | index=None | xpath=. ]Adds a child element to the specified element. The eleme 阅读全文
posted @ 2017-06-27 23:39 垄上行 阅读(290) 评论(0) 推荐(0) 编辑
摘要:Name:Get Element TextSource:XML <test library>Arguments:[ source | xpath=. | normalize_whitespace=False ]Returns all text of the element, possibly whi 阅读全文
posted @ 2017-06-27 23:08 垄上行 阅读(1300) 评论(0) 推荐(0) 编辑
该文被密码保护。
posted @ 2017-06-26 17:30 垄上行 阅读(1) 评论(0) 推荐(0) 编辑
摘要:Tag names:当仅使用1个tag的时候,xpath匹配具有该标签名称的所有直接子元素。 Paths:通过/符号连接tag名称,例如second/child将匹配父元素second下所有的child子元素。 请注意,如果有多个父元素都有子元素,则xpath将匹配所有这些子元素。 Wildcard 阅读全文
posted @ 2017-06-20 23:41 垄上行 阅读(1194) 评论(0) 推荐(0) 编辑
摘要:Name:Get ElementsSource:XML <test library>Arguments:[ source | xpath ]Returns a list of elements in the `source` matching the `xpath`. The `source` ca 阅读全文
posted @ 2017-06-20 23:40 垄上行 阅读(751) 评论(0) 推荐(0) 编辑
摘要:Name:Get ElementSource:XML <test library>Arguments:[ source | xpath=. ]Returns an element in the `source` matching the `xpath`. The `source` can be a 阅读全文
posted @ 2017-06-20 22:53 垄上行 阅读(591) 评论(0) 推荐(0) 编辑
摘要:Name:Element Attribute Should BeSource:XML <test library>Arguments:[ source | name | expected | xpath=. | message=None ]Verifies that the specified at 阅读全文
posted @ 2017-06-20 22:22 垄上行 阅读(705) 评论(0) 推荐(0) 编辑
摘要:Name:Parse XmlSource:XML <test library>Arguments:[ source | keep_clark_notation=False ]Parses the given XML file or string into an element structure. 阅读全文
posted @ 2017-06-20 22:14 垄上行 阅读(601) 评论(0) 推荐(0) 编辑
摘要:文件存放路径:C:\workspace\robotframework\test_rf_api\testdata\XML.xml 文件内容: 阅读全文
posted @ 2017-06-20 22:13 垄上行 阅读(753) 评论(0) 推荐(0) 编辑
摘要:Name:Sort ListSource:Collections <test library>Arguments:[ list_ ]Sorts the given list in place. The strings are sorted alphabetically and the numbers 阅读全文
posted @ 2017-06-19 23:02 垄上行 阅读(320) 评论(0) 推荐(0) 编辑
摘要:Name:Set List ValueSource:Collections <test library>Arguments:[ list_ | index | value ]Sets the value of `list` specified by `index` to the given `val 阅读全文
posted @ 2017-06-19 22:59 垄上行 阅读(465) 评论(0) 推荐(0) 编辑
摘要:Name:Reverse ListSource:Collections <test library>Arguments:[ list_ ]Reverses the given list in place. Note that the given list is changed and nothing 阅读全文
posted @ 2017-06-19 22:55 垄上行 阅读(255) 评论(0) 推荐(0) 编辑
摘要:Name:Remove Values From ListSource:Collections <test library>Arguments:[ list_ | *values ]Removes all occurences of given `values` from `list`. It is 阅读全文
posted @ 2017-06-19 22:53 垄上行 阅读(538) 评论(0) 推荐(0) 编辑
摘要:Name:Remove From ListSource:Collections <test library>Arguments:[ list_ | index ]Removes and returns the value specified with an `index` from `list`. 阅读全文
posted @ 2017-06-19 22:50 垄上行 阅读(511) 评论(0) 推荐(0) 编辑
摘要:Name:Remove DuplicatesSource:Collections <test library>Arguments:[ list_ ]Returns a list without duplicates based on the given `list`. Creates and ret 阅读全文
posted @ 2017-06-19 22:46 垄上行 阅读(423) 评论(0) 推荐(0) 编辑
摘要:Name:Log DictionarySource:Collections <test library>Arguments:[ dictionary | level=INFO ]Logs the size and contents of the `dictionary` using given `l 阅读全文
posted @ 2017-06-19 22:41 垄上行 阅读(591) 评论(0) 推荐(0) 编辑
摘要:Name:Lists Should Be EqualSource:Collections <test library>Arguments:[ list1 | list2 | msg=None | values=True | names=None ]Fails if given lists are u 阅读全文
posted @ 2017-06-19 22:35 垄上行 阅读(1299) 评论(0) 推荐(0) 编辑
摘要:Name:List Should Not Contain DuplicatesSource:Collections <test library>Arguments:[ list_ | msg=None ]Fails if any element in the `list` is found from 阅读全文
posted @ 2017-06-19 22:25 垄上行 阅读(225) 评论(0) 推荐(0) 编辑
摘要:Name:Keep In DictionarySource:Collections <test library>Arguments:[ dictionary | *keys ]Keeps the given `keys` in the `dictionary` and removes all oth 阅读全文
posted @ 2017-06-19 22:20 垄上行 阅读(287) 评论(0) 推荐(0) 编辑
摘要:Name:Insert Into ListSource:Collections <test library>Arguments:[ list_ | index | value ]Inserts `value` into `list` to the position specified with `i 阅读全文
posted @ 2017-06-19 22:16 垄上行 阅读(542) 评论(0) 推荐(0) 编辑
摘要:Name:Get Index From ListSource:Collections <test library>Arguments:[ list_ | value | start=0 | end=None ]Returns the index of the first occurrence of 阅读全文
posted @ 2017-06-19 22:11 垄上行 阅读(594) 评论(0) 推荐(0) 编辑
摘要:Name:Get From ListSource:Collections <test library>Arguments:[ list_ | index ]Returns the value specified with an `index` from `list`. The given list 阅读全文
posted @ 2017-06-19 22:05 垄上行 阅读(2216) 评论(0) 推荐(0) 编辑
摘要:Name:Count Values In ListSource:Collections <test library>Arguments:[ list_ | value | start=0 | end=None ]Returns the number of occurrences of the giv 阅读全文
posted @ 2017-06-19 22:02 垄上行 阅读(442) 评论(0) 推荐(0) 编辑
摘要:Name:Get Slice From ListSource:Collections <test library>Arguments:[ list_ | start=0 | end=None ]Returns a slice of the given list between `start` and 阅读全文
posted @ 2017-06-19 21:56 垄上行 阅读(523) 评论(0) 推荐(0) 编辑
摘要:Name: Copy DictionarySource:Collections <test library>Arguments:[ dictionary ]Returns a copy of the given dictionary. The given dictionary is never al 阅读全文
posted @ 2017-06-19 21:41 垄上行 阅读(308) 评论(0) 推荐(0) 编辑
摘要:Name:Set To DictionarySource:Collections <test library>Arguments:[ dictionary | *key_value_pairs ]Adds the given `key_value_pairs` to the `dictionary` 阅读全文
posted @ 2017-06-18 23:57 垄上行 阅读(2728) 评论(0) 推荐(0) 编辑
摘要:Name:Remove From DictionarySource:Collections <test library>Arguments:[ dictionary | *keys ]Removes the given `keys` from the `dictionary`. If the giv 阅读全文
posted @ 2017-06-18 23:54 垄上行 阅读(571) 评论(0) 推荐(0) 编辑
摘要:Name:Get From DictionarySource:Collections <test library>Arguments:[ dictionary | key ]Returns a value from the given `dictionary` based on the given 阅读全文
posted @ 2017-06-18 23:49 垄上行 阅读(4826) 评论(0) 推荐(1) 编辑
摘要:Name:Get Dictionary ValuesSource:Collections <test library>Arguments:[ dictionary ]Returns values of the given dictionary. Values are returned sorted 阅读全文
posted @ 2017-06-18 23:47 垄上行 阅读(832) 评论(0) 推荐(0) 编辑
摘要:Name:Get Dictionary KeysSource:Collections <test library>Arguments:[ dictionary ]Returns `keys` of the given `dictionary`. `Keys` are returned in sort 阅读全文
posted @ 2017-06-18 23:45 垄上行 阅读(1014) 评论(0) 推荐(0) 编辑
摘要:Name:Get Dictionary ItemsSource:Collections <test library>Arguments:[ dictionary ]Returns items of the given `dictionary`. Items are returned sorted b 阅读全文
posted @ 2017-06-18 23:43 垄上行 阅读(1188) 评论(0) 推荐(0) 编辑
摘要:Name:Dictionary Should Not Contain ValueSource:Collections <test library>Arguments:[ dictionary | value | msg=None ]Fails if `value` is found from `di 阅读全文
posted @ 2017-06-18 23:40 垄上行 阅读(368) 评论(0) 推荐(0) 编辑
摘要:Name:Dictionary Should Not Contain KeySource:Collections <test library>Arguments:[ dictionary | key | msg=None ]Fails if `key` is found from `dictiona 阅读全文
posted @ 2017-06-18 23:36 垄上行 阅读(779) 评论(0) 推荐(0) 编辑
摘要:Name:Dictionary Should Contain ValueSource:Collections <test library>Arguments:[ dictionary | value | msg=None ]Fails if `value` is not found from `di 阅读全文
posted @ 2017-06-18 23:31 垄上行 阅读(1623) 评论(0) 推荐(0) 编辑
摘要:Name:Dictionary Should Contain Sub DictionarySource:Collections <test library>Arguments:[ dict1 | dict2 | msg=None | values=True ]Fails unless all ite 阅读全文
posted @ 2017-06-18 23:25 垄上行 阅读(480) 评论(0) 推荐(0) 编辑
摘要:Name:Dictionary Should Contain KeySource:Collections <test library>Arguments:[ dictionary | key | msg=None ]Fails if `key` is not found from `dictiona 阅读全文
posted @ 2017-06-18 23:11 垄上行 阅读(831) 评论(0) 推荐(0) 编辑
摘要:Name:Dictionaries Should Be EqualSource:Collections <test library>Arguments:[ dict1 | dict2 | msg=None | values=True ]Fails if the given dictionaries 阅读全文
posted @ 2017-06-18 22:59 垄上行 阅读(668) 评论(0) 推荐(0) 编辑
摘要:Name:Convert To ListSource:Collections <test library>Arguments:[ item ]Converts the given `item` to a list. Mainly useful for converting tuples and ot 阅读全文
posted @ 2017-06-17 23:34 垄上行 阅读(894) 评论(0) 推荐(0) 编辑
摘要:Name:Create DictionarySource:Collections <test library>Arguments:[ *key_value_pairs ] 阅读全文
posted @ 2017-06-17 23:30 垄上行 阅读(3601) 评论(0) 推荐(0) 编辑
摘要:Arguments: [ *lists ]Combines the given `lists` together and returns the result. The given lists are not altered by this keyword. 场景1: 场景2:重复数据不去重进行合并 阅读全文
posted @ 2017-06-17 23:27 垄上行 阅读(551) 评论(0) 推荐(0) 编辑
摘要:Arguments:[ list_ | *values ]Adds `values` to the end of `list`. 阅读全文
posted @ 2017-06-17 23:17 垄上行 阅读(2837) 评论(0) 推荐(0) 编辑
摘要:*** Test Cases ***Timestamp ${time} GET TIME ${secs} GET TIME epoch ${year} GET TIME return year ${yyyy} ${mm} ${dd} GET TIME year,month,day @{time} G 阅读全文
posted @ 2017-06-15 22:59 垄上行 阅读(2216) 评论(0) 推荐(0) 编辑
摘要:术语说明: 1、Epoch指的是一个特定的时间:1970-01-01 00:00:00 UTC。 2、国际标准化组织的国际标准ISO 8601是日期和时间的表示方法,格式是 'YYYY-MM-DD hh:mm:ss.mil'。 3、UTC time(称为协调世界时或者世界统一时间):这套时间系统被应 阅读全文
posted @ 2017-06-15 22:00 垄上行 阅读(957) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2017-06-08 10:50 垄上行 阅读(6807) 评论(0) 推荐(0) 编辑
摘要:ls |wc 是统计你这个目录下的文件数目。ls |wc -l是输出第一个结果即31即文件的数目。 阅读全文
posted @ 2017-06-07 14:19 垄上行 阅读(740) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示